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.
topic title: Volume keys--IceWM
2 posts
• Page 1 of 1
-
Posts: 1,520
- Joined: 07 Oct 2007
-
Posts: 215
- Joined: 14 Sep 2007
#2
This is what IceWM is coming with by default:
Before it was not working but now it is, go figure...
I use the Windows key which replaces Ctrl+Alt
Code: Select all
key"Alt+Ctrl+KP_Divide" aumix -v -5 # lower volume
key"Alt+Ctrl+KP_Multiply" aumix -v +5 # raise volume
I use the Windows key which replaces Ctrl+Alt