Saturday, April 18, 2009

fluxbox hotkeys, keyboard shortcuts, keybindings, whatever

I've been away from Fluxbox for a long time. It took me FOREVER to figure out how to even set my background. I headed on over to http://www.fluxbox-wiki.org and started to get a grasp on a few of the new features. The biggest one that they have has to be a great keyboard shortcut system. Just edit ~/.fluxbox/keys and you're on your way. I've added the following to mine:
# use the arrow keys to change workspaces
Control Mod1 Left :PrevWorkspace
Control Mod1 Right :NextWorkspace

# volume settings
Control Mod4 Up :Exec mixer pcm +1 ogain +2
Control Mod4 Down :Exec mixer pcm -1 ogain -2

And before I forget, you can set your background with an override in ~/.fluxbox/overlay like this:

background.pixmap: /home/mick/private/pictures/gta3_greencar.jpg