topic title: Volume keys--IceWM
Posts: 1,520
eriefisher
Joined: 07 Oct 2007
#1
I saw macondo asking about this in chat so I thought I would post this for his and everyone else's benefit.

First I would confirm that your keys are being recognized by using xev. Xev will display a keycode number if it's seen, if so great, if not.....sorry.

Next I put this in ~/.icewm/keys

key"XF86AudioLowerVolume" aumix -v -5
key"XF86AudioRaiseVolume" aumix -v +5
key"XF86AudioMute" aumix -v mute

This works perfectly for my Compaq Laptop. Another option if you have multimedia keys is to install/use hotkeys available via synaptic/apt and hotkeys-setup. I have used this in the past with my desktop and a multimedia keyboard and it also worked very well.
Posts: 215
macondo
Joined: 14 Sep 2007
#2
This is what IceWM is coming with by default:

Code: Select all

key"Alt+Ctrl+KP_Divide" aumix -v -5 # lower volume
key"Alt+Ctrl+KP_Multiply" aumix -v +5 # raise volume
Before it was not working but now it is, go figure...

I use the Windows key which replaces Ctrl+Alt