Troubleshooting
-
Start the GUI from the console
swayThis should bring up a default-configuration sway desktop. Essential commands are:
Start the terminal: Meta-Enter
Quit sway: Meta-Shift-e
The Meta key is usually the Windows Key.
-
To troubleshoot screen sharing, see xdg-desktop-portal-wlr FAQ
To test desktop notifications, use
notify-send "foo"at the command line. -
Font size issues
See Step 4.
-
Start GUI programs with sudo
To run a graphical program (in this example, lshw-gtk) as root:
sudo /bin/env WAYLAND_DISPLAY="$XDG_RUNTIME_DIR/$WAYLAND_DISPLAY" XDG_RUNTIME_DIR=/user/run/0/usr/bin/lshw-gtk