Kiosk mode configuration and instructions using Sway and Plymouth on top of Debian Linux. Also includes Grub and GDM theme.
Launches a sample Flutter application because we use Flutter for some of our projects. Can launch any binary.
We need a kiosk mode desktop environment for a touch only interface.
Why Debian? - Stability, should work on most other distros too.
Why Sway? - Lightweight, configurable, and we have previous experience with it.
Why Plymouth? - Is there any better alternative? Take a look at our custom plymouth themes here.
Why Grub? - Because Debian uses Grub by default. Once they switch to systemd boot we will too.
Why GDM? - Easy configuration with support for smooth transition from plymouth to display manager and then sway.
Why Flutter? - Best frontend framework at the time. We hope it gets better support for linux.
- Shortcuts:
SUPER
+RETURN
- Start terminal.SUPER
+Q
- Kill current application.SUPER
+F
- Toggle fullscreen.SUPER
+SHIFT
+C
- Reload sway configuration.SUPER
+SHIFT
+E
- Exit sway.
- Wallpaper:
- Replace
~/wallpaper.jpg
to change wallpaper. Sway also supports other image formats - change wallpaper location in~/.config/sway/config
.
- Replace
- Change/disable startup application:
- Edit the last line of
~/.config/sway/config
.
- Edit the last line of
- Install Debian (11 or higher for easier sway installation) without any addons or desktop managers.
- Build your flutter app (also works with any other binary). Copy it to the home folder.
- Install
sway
package. Debian 10 and lower requires manual installation. - Install
gdm3
and reboot. When GDM loads, select sway as your window manager and log in. - Configure sway.
- Configure GDM auto login.
- Install and configure plymouth.
- Hide grub.
- You might want to lock BIOS with password.
- Configure sway touch input.
- Avoid installing entire gnome group with gdm3.