Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


BSPWM - tiling window manager


  • Clone bspwm and sxhkd:
    git clone
    git clone
  • Install prerequisite packages:
    sudo dnf install xcb-util-devel xcb-util-keysyms-devel xcb-util-wm-devel alsa-lib-devel dmenu rxvt-unicode terminus-fonts
  • Install development tools:
    sudo dnf groupinstall "Development Tools"
  • Compile and install bspwm and sxhkd:
    cd bspwm
    sudo make install
    cd ..
    cd sxhkd
    sudo make install

Initial (example) configration sxhkd and bspwm

  • Copy example configuration:
    mkdir ~/.config/sxhkd
    cp bspwm/examples/sxhkdrc ~/.config/sxhkd/sxhkdrc
    mkdir ~/.config/bspwm
    cp bspwm/examples/bspwmrc ~/.config/bspwm/bspwmrc

Configure display mananger

  • Copy desktop icon:
    sudo cp bspwm/contrib/freedesktop/bspwm.desktop /usr/share/xsessions/
  • When you log back on, click the “gear” icon and select 'bspwm'

Lock screen

  • Install xscreensaver:
    sudo dnf install xscreensaver
  • Be aware that this installation will also autostart xscreensaver from /etc/xdg/autostart/xscreensaver-autostart.desktop
  • Add xscreensaver to bspwm config:
    xscreensaver &
  • Add xscreensaver to sxhkd config:
    # Lock screen
    super + alt + l
            xscreensaver-command -lock
  • Reload sxhkd: super+escape
  • Configure xscreensaver (or edit .xscreensaver):
    xscreensaver-command --prefs



  • Choose a font with: xfontsel (X11 fonts) or gtk2fontsel (xft fonts).
  • Put those in ~/.Xresources, for example:
    URxvt*font:			-xos4-terminus-*-*-*-*-28-*-*-*-*-*-*-*
bpswm.txt · Last modified: 2021/10/09 15:14 by