Suckless Software on My Desktop
I took a look at which simple programs I could use as a desktop environment instead of Gnome and picked out the following ones
The suckless tools are configured by editing C header files before compilation. This is pretty straightforward to do in most cases, but it requires dealing with source changes in git repos instead of using config files. For now these changes stay outside my dotfiles repo and I'm not sure about the best way to version and sync this type of configuration.
One very pleasant aspect is how easily and fast the programs compile. They have hardly any dependencies and compilation is finished nearly at the same moment as you hit the enter key to call make.
Since each of the programs handles only a single concern, you have to collect more of them than you're used to when you want to cover the usual amount of use cases. This allows freely mixing and matching different tools as you like. I like the general approach, but would have preferred a way to get a selection of recommended programs and configs and start using a known-good setup before fiddling with the details.
I want to be able to change the volume and screen brightness with the media keys and have a keybinding to turn off and lock my screen. This can be configured with xbindkeys by assigning shell commands to certain keys. This has a nice unix feel to it, but needs some fiddling to get right. I also miss the visual feedback when changing brightness and volume.
# Brightness + "lux -a 70" XF86MonBrightnessUp # Brightness - "lux -s 70" XF86MonBrightnessDown # Increase volume "pactl set-sink-volume @DEFAULT_SINK@ +5000" XF86AudioRaiseVolume # Decrease volume "pactl set-sink-volume @DEFAULT_SINK@ -5000" XF86AudioLowerVolume # Mute volume "pactl set-sink-mute @DEFAULT_SINK@ toggle" XF86AudioMute # Shift + super + L locks screen and turns display off "slock & (sleep 1 && xset dpms force off)" Shift + Mod4 + l
I didn't find an autolock setup that worked as well as I would like. My goal would be:
- Lock screen when sleeping or after X minutes
- Turn screen off when locking
- Don't lock when watching fullscreen videos in Firefox
I could not get the last point working reliably for me with xautolock or xidlehook (bug report). I stopped using autolock and just manually lock my screen.
Versioning My Setup
As noted above, the suckless tools don't use config files, so they I can't put their configuration in version control as I am used to.
Lack of Good Predefined Setup
While the programs work well and reliably, using them is not just matter of installing and running them. Getting to a usable setup involves quite some time of choosing the right set of programs and configuration that works for you. I would have liked a known-good setup as a starting point.Written on 2020-04-28. Last updated on 2020-07-05.