Gemini PDA Setup
---
I own a Gemini PDA, made by Planet Computers in 2018. I found that with proper setup, the build of Debian released for the system made a surprisingly-usable daily driver, and I used it as my primary mobile PC for almost a year. This document was assembled from my own notes on how to configure the PDA to my liking.
- Model: WiFi
- Dualboot: Linux partition only
- OS: Debian TP2
All instances of square brackets are places where other information should be substituted in, unless otherwise noted.
Base Setup
I had a lot of difficulty being able to reflash the device. Apparently in 2021, both Windows 7 and Windows 10 support for the necessary driver is broken. I was able to flash the device using a live CD of Ubuntu 20.04.
Log in as the default user. Password is "gemini".
# Storage
Check the amount of free space in /:
If it needs to be changed, use
# User Setup
Since I'm usually the only one using my machines, I like to remove sudo and force myself to actually switch to root before doing any superuser tasks.
Create a new user (without sudo access) with
Activate root account:
Log out of the default user and into the non-root user.
Delete default user:
Remove sudo:
Update
Connect to the Internet using connman.
Update and install programs:
# Troubleshooting
As of April 2023, the Debian 9 repos have been archived. You'll need to update from the archived repository:
Replace everything in the file with the following:
deb [arch=arm64] http://archive.debian.org/debian stretch main contrib non-free
deb-src http://archive.debian.org/debian stretch main contrib non-free
You may need to install apt-transport-https right away.
If the Gemian repository gives a "no_pubkey" error, run the following.
If you can't or don't want to do this, you can force updates from insecure repos by running:
The Gemian repository is online as of 2023-11-21 but its certificate has expired. If the repository gives a "server certificate verification failed" error when updating, include the following option when using apt:
LibreOffice tends to throw errors when updating. Fix these with:
If LibreOffice still has problems, use:
Now upgrade:
Change Programs
Remove unwanted and unused packages:
# Switch to Network Manager
Add localhost.localdomain to /etc/hosts to resolve any errors.
Reboot and connect to the Internet.
Configuration
# Time Zone and Locale
# Disable screen lock:
Replace everything in the "ServerFlags" section with the following:
Option "OffTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "BlankTime" "0"
# Switch to relative mouse input:
Replace everything in the "libinput touchscreen catchall" section with the following:
Identifier "libinput touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "mtrack"
Option "ScrollDistance" "40"
Option "FingerLow" "1"
Option "FingerHigh" "2"
Option "Sensitivity" "1.8"
Option "BottomEdge" "0"
Option "SwipeDistance" "100"
Option "ScaleDistance" "40"
Option "ButtonMoveEmulate" "false"
Option "ClickTime" "25"
Option "MaxTapMove" "55"
Option "EdgeBottomSize" "0"
Install depenencies:
Install p2rkw's mtrack driver:
Reboot.
These settings will cause the cursor to auto-select items in PCManFM file manager after a short delay. I like this feature, so I've never bothered to learn how to change it.
# Suppress HiDPI
Navigate to Menu -> Preferences -> LXQt Settings -> Session Settings -> Environment (Advanced). Set the following flags:
GDK_SCALE=1
QT_AUTO_SCREEN_SCALE_FACTOR=0
QT_SCALE_FACTOR=1
QT_SCREEN_SCALE_FACTOR=1
Navigate to Menu -> Preferences -> LXQt Settings -> Appearance -> Font.
Point size: 8
Resolution: 96
Open the terminal and navigate to File -> Preferences.
Font: DejaVu Sans Mono 8 pt
Append the following:
# Disable HiDPI
export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --force-device-scale-factor=1.5"
Set other fonts to 8 as desired.
# Fix volume control
Right-click volume control and click "Configure "Volume control"".
Leave pulseaudio selected but change the dropdown to "Droid sink primary".
Change the external mixer to "alsamixer".
# Send sound only to headphones
Plug in a pair of headphones.
Navigate to Menu -> Sound & Video -> PulseAudio Volume Control and select Output Devices. Under Droid Sink Primary, set Port to "Output to wired headset (plugged in)".
# Pair a Bluetooth Mouse
Enter the following commands:
If you don't know the MAC address, run:
Be sure to stop scanning afterward with:
---
Find a nice wallpaper somewhere. I use Wallhaven or Google Earth.
The screen resolution is 2160 x 1080.
Install and Configure Programs
# Interact with Markdown formatting in Vim:
Starting hint: press zR to open all folds.
# Install and set up Syncthing:
Start Syncthing as a user service:
Sync any desired folders. I try to avoid paths with spaces.
# Install Keepass:
To install the TOTP plugin:
Ignore any incompatibility warnings, the plugin will work.
# Install Lagrange
Reboot.
Reboot again.
# Other useful programs
- neofetch
- rtorrent
Troubleshooting
If libreoffice-core breaks all updates, run
You should be able to update as usual.
---
[Last updated: 2024-10-06]