Ciaran McCreesh’s Blag

Now with 17% more caffeine

Posts Tagged ‘fluxbox’

xorg-x11 keycodes for a Logitech 350 Keyboard

Posted by Ciaran McCreesh on August 2, 2008

To save myself from having to mess around with xev again in the future: here’re the keycodes for a Logitech 350 USB keyboard with xorg-x11 on Linux:

keycode 129 = XF86AudioMedia
keycode 236 = XF86Mail
keycode 178 = XF86WWW
keycode 161 = XF86Calculator
keycode 162 = XF86AudioPlay
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
keycode 160 = XF86AudioMute

These go in ~/.Xmodmap. And in ~/.fluxbox/keys, we can use:

XF86Mail                 :ExecCommand claws-mail
XF86WWW                  :ExecCommand firefox
XF86Calculator           :ExecCommand xterm
XF86AudioPlay            :ExecCommand mpc toggle
XF86AudioLowerVolume     :ExecCommand amixer set PCM 2-
XF86AudioRaiseVolume     :ExecCommand amixer set PCM 2+
XF86AudioMute            :ExecCommand amixer set Master toggle

Posted in hardware | Tagged: , , , , , , | Leave a Comment »

My Exherbo Supplemental Repository

Posted by Ciaran McCreesh on July 30, 2008

I’ve tidied up my Exherbo supplemental repository (which is what Gentoo people confusingly call an ‘overlay’) and published it for the foolish.

Current goodness is:

Expect these to be neglected and / or broken irregularly.

Posted in exherbo | Tagged: , , , , | 3 Comments »