Alpine Linux Setup
Alpine Linux Setup
Hello people, just switched to Alpine and it would be great if some of the Apine users could share some dotfiles that are running Wayland compositors. I have not figured out to make swayidle work and some other stuff. By the way I am running River but this happened aswell on a fresh install with the Sway option of setup-desktop
script.
I get some errors of unknown session
with swayidle and conky, but I have set the corresponding environment variables and launching with dbus-run-session -- river
River init file:
~~~ export XDG_SESSION_DESKTOP=river export XDG_CURRENT_DESKTOP=river dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river ~~~
Shell env file:
~~~ export XDG_RUNTIME_DIR="$(mkrundir)" export XDG_SESSION_TYPE=wayland export QT_QPA_PLATFORM=wayland export SDL_VIDEODRIVER=wayland export GDK_BACKEND=wayland export MOZ_ENABLE_WAYLAND=1 export _JAVA_AWT_WM_NONREPARENTING=1 ~~~
If you encountered some quirks of your own please let me know. Thanks in advance!
Oof. You may want to rethink Alpine as a desktop if you're not familiar with how to debug it. You are in for a world of shuffling back and forth haha.
Alpine was originally meant for embedded devices to have a super tiny static footprint, hence it being based on busybox. APK as a package manager coupled with using dotfiles as a configuration language is always going to leave you second guessing whether something got missed, and questions like you're asking.
I would go back through the dep chain and make sure EVERYTHING is actually installed AND configured/linked. Even on image builds I've seen APK silently miss a dep due to a resolve error and continue. It's not built to be as thorough as something like rpm or apt, and it's very easy for something to get completely missed or just not configured or linked.
Good luck!
Thanks! I just wanted to give this one a good try and I'm not worried about a little testing/breakage since this is only a setup for a laptop that eventually want to use to run Jellyfin and Ente, plus I'm happy to learn.