r/AlpineLinux • u/LinuxLoverLarry • Sep 15 '26
Tutorial On How To Do This?
The wiki has given inconsistent results for tutorials specifically pertaining to this.
I want a tutorial on how to install Openbox, Tint2, feh, and enabling Pipewire audio on Alpine Linux. I am not the biggest fan of traditional desktop environments, and I find them to be heavy on my PC, even with ones such as XFCE.
It would be nice if you could point me to somewhere that offers this, or if you could type something yourself. Thanks, people!
12
Upvotes
3
u/Edelglatze Sep 15 '26
In the past, I had a working Openbox setup with Alpine. I can't give a tutorial out of memory. But one point to make live easier is perhaps that you run the desktop setup script besides the xorg setup. If you take Lxqt as option you get Openbox and obconf by default and other stuff like a display manager as well as some openrc services automatically enabled.
Populate $HOME/.config/openbox with the example files of /etc/xdg/openbox/ and edit them as you wish.
autostarthas to be an executable. And you have to setup manuallymenu.xmlfor the applications you want to have. Some applications, by the way, that make life easier are in the edge repository of Alpine, like lxappearance or menumaker.I personally like to add pcmanfm started with the desktop option in autostart:
pcmanfm --desktop &pcmanfm gives you a desktop then and controls the background colour or image (don't forget to enable the openbox right click behaviour in the pcmanfm desktop settings). For tint2 I add a launcher for
jgmenu(to be found in the community repository).Don't forget to add fonts. By default you get only a minimal selection. There is more in the repositories.
For audio, I took alsa and pulseaudio so that I could control the volume with pavucontrol and/or alsamixer. The
volumeiconpackage is only in edge.Without lxappearance you may manually edit the gtk config, like in
$HOME/.gtkrc-2.0or$HOME/.config/gtk-3.0/settings.inifor getting gtk themes working.1
u/billdietrich1 Sep 16 '26
Please use better, more informative, titles (subject-lines) on your posts. Give specifics right in the title. Thanks.
1
u/alexaandru Sep 16 '26
I also don't use a display manager, I start everything I need from
/etc/profile, but I do usewayland. You know there is an openbox-ish compositor forwayland? https://github.com/labwc/labwc - you can even reuse openbox menus/themes :-) I have used it with this exact config, just swap umbriel for labwc and you're all set!2
u/Artistic_Crazy_7120 Sep 16 '26
My advice is to look at the Openbox section of the Archwiki. Keep in mind that you still need to replace the commands of their package manager (pacman) with apk commands but it gives a good insight how to setup the desktop.
1
u/trofch1k Sep 17 '26
Regarding pipewire everything is actually in the wiki. Otherwise you need to check out how to start user level services under openrc. On Alpine it's recommended to be done with starting your compositor so, that requires you to learn how your compositor can run scripts.
1
u/Leclerc_Lunatic Sep 18 '26 edited Sep 20 '26
Hello. I have a slightly different Openbox setup with Pulseaudio instead of PipeWire and Polybar instead of Tint2 but I use feh to setup my wallpaper and don't have a display manager at all. You may want to take a look into my dotfiles, though my setup and instructions could be better tbh. Feel free to ask questions regarding my setup.