-- Leo's gemini proxy
-- Connecting to yaky.dev:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini;lang=en-US
Codename: grouper
Hardware rev: E1565
Following the wiki, Installed postmarketOS with i3wm
Additional packages: micro,iwd,iio-sensor-proxy
micro: text editor with common key shortcuts
iwd: wireless connection daemon
iio-sensor-proxy: light and proximity sensors?
Wiki page recommends using iwd for wireless connections
rc-update del wpa_supplicant rc-update add iwd rc-service iwd start iwctl station wlan0 get-networks iwctl --passphrase <passphrase> station wlan0 connect <SSID>
It seems that wireless disconnects often, and gets IP reassigned on subsequent connection, so I set static IP to address this:
micro /var/lib/iwd/<SSID>.type
[IPv4] Address=192.168.1.10 Netmask=255.255.255.0 Gateway=192.168.1.1 Broadcast=192.168.1.255 DNS=192.168.1.1
I ran into issues with DNS, which was fixed by adding a public DNS server
"echo 'nameserver 1.1.1.1' > /etc/resolv.conf"
apk add openssh
Now I could SSH into the tablet to configure everything else
To execute keystrokes, mouse movements and clicks on the tablet through SSH (to reload i3 config, for example), use xdotool
apk add xdotool
xdotool
Nexus has a 1280x800 backlit LCD
By default, i3 does not have any scaling set, so everything looks very small
micro .Xresources
Xft.dpi: 192
Some GTK apps use environment variables and not the .Xresources settings, so add them to the init script
> TODO GDK scaling
By default, the screen is vertical. If you want to set it to horizontal:
mkdir /etc/X11/xorg.conf.d micro /etc/X11/xorg.conf.d/00-fbdev-rotate.conf
Section "Device" Identifier "LCD" Driver "fbdev" Option "Rotate" "CW" EndSection
> TODO rotate touchscreen
micro ~/.config/i3status/config
> TODO
> TODO
The built-in GPS does not work yet (it did not work with SlimKat either), but I have a USB GPS receiver
apk add gpsd
> TODO
apk add bluez service bluetooth start bluetoothctl power on scan on
Great keyboard control
Shows as offline. This is due to it using a connectivity check that is absent when using iwd. Bypass by running with a parameter:
gnome-maps --force-online
apk add spot
Configure kernel using pmbootstrap tool
pmbootstrap kconfig edit postmarketos-grate
export ARCH=arm export CARCH=armv7 export CROSS_COMPILE=armv7-alpine-linux-musleabihf- export CC=armv7-alpine-linux-musleabihf-gcc
(C) 2024 CC BY Anton Yaky
-- Response ended
-- Page fetched on Mon May 20 18:38:09 2024