Configure Sway
-
sudo apt install -y ayatana-desktop-indicator fonts-font-awesome foot foot-terminfo grim libappindicator-1 slurp sway sway-backgrounds swaybg udiskie waybar wlr-randr wofi xdg-desktop-portal-wlr -
Configure sway
Copy the files.
cp -r ~/Dropbox/Basic/new_machine/linux/config/sway ~/.config/cp -r ~/Dropbox/Basic/new_machine/linux/config/waybar ~/.config/cp -r ~/Dropbox/Basic/new_machine/linux/config/foot ~/.config/Note
The config requires foot > 1.21, possibly as high as 1.25, so either compile or cherry-pick or wait for Ubuntu 26.04.
-
Install foot terminfo
Any remote computer will need the foot terminfo installed for the terminal to work properly.
sudo apt install foot-terminfo -
Automatic Theming
Install Darkman from source:
git clone https://gitlab.com/WhyNotHugo/darkman.gitcd darkmanmakesudo make install PREFIX=/usr -
Change to TUI display manager lemurs
TESTING lemurs:
apt install cargo build-essential libpam-dev
git clone https://github.com/coastalwhite/lemurs.git
cd lemurs
./install.sh
sudo emacs /etc/lemurs/wayland/sway
[paste in]:
#! /bin/sh
exec sway
No support for displaying password
-
Or change to TUI display manager greetd
greetdis an alternative to lemurs. Install via instructions. Then disable sddm (this will log out the current session):sudo systemctl disable --now sddm -
Or set automatic login
Automated login with getty included in systemd.
Warning
Use only with encrypted hard drive.
sudo systemctl edit getty@tty1This should create/etc/systemd/system/getty@tty1.service.d/override.conf. Overwrite it withcp ~/Dropbox/Basic/new_machine/linux/sway/getty_override.conf /etc/systemd/system/getty@tty1.service.d/override.confNote
override.conf[Service] ExecStart= ExecStart=-/usr/sbin/agetty --autologin s --noclear %I $TERM
-
Encrypted Hibernation
TODO: get it working.
-
Troubleshooting
To troubleshoot screen sharing, see xdg-desktop-portal-wlr FAQ
To test desktop notifications, use
notify-send "foo"at the command line.Change GUI font size (for GTK programs):
gsettings set org.gnome.desktop.interface font-name 'Noto Sans, 14'Dunno yet if this is permanent. You can also use GTK font manager:sudo apt install font-manager