You are not logged in.
Pages: 1
How do I get the multimedia buttons to work?
With xev:
Volume down button = XF86AudioLowerVolume
Volume up buttnu = XF86AudioRaiseVolume
Play = XF86AudioPlay
Stop = XF86AudioStop
Prevous = XF86AudioPrev
Next = XF86AudioNext
Now.. How do I get those working? Do I have to use obtuner? How do I do it in obtuner?
I am using Audacious.
Thank you
Offline
what i had to do was:
add to .Xmodmap:
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
keycode 153 = XF86AudioNext
keycode 144 = XF86AudioPrev
keycode 164 = XF86AudioStop
keycode 160 = XF86AudioMute
keycode 162 = XF86AudioPause
and run xmodmap ~/.Xmodmap from .xinitrc
but i think the keycodes may vary, i found my keycodes with 'xev'
Offline
and run xmodmap ~/.Xmodmap from .xinitrc
What did u mean with that?
I have done the stuff with keycodes.
Offline
and run xmodmap ~/.Xmodmap from .xinitrc
What did u mean with that?
I have done the stuff with keycodes.
To make the buttons work when X starts you have to run xmodmap <file> where file is where you stored your buttons (in my case ~/.Xmodmap. to do this i added
usermodmap=$HOME/.Xmodmap
if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
To my .xinitrc file.
Offline
Where is the xinitrc file?
Offline
Where is the xinitrc file?
In your home directory. and it's .xinitrc - don't forget the dot (you may have to show hidden files)
Offline
Thank you.. It still does not work.. I tought I had to do something in obtuner!?
Offline
Thank you.. It still does not work.. I tought I had to do something in obtuner!?
I have never used Openbox so i can't really tell you. Does xev say the right button name? What application are you trying to use the buttons in?
Offline
Audacious.. (and alsamixer)
xev says the right button names yes..
Offline
Errrrr
in .Xmodmap
keycode 174=F30
the bit after keybind key = F30 does not show up .... anyway
<keybind>
<action><execute>mpc volume -10</execute></action>
</keybind>
Audacious never used it....
Mr Green I like Landuke!
Offline
I fixed it.. Used obtuner to bind XF86AudioRaiseVolume to command amixer Master 5+ or something.. almost same on lower volume..
The playbuttons i fixed with binding the keys to:
Play/pause: audacious -t
Stop: audacious -s
Next:audacious -f
Prev: audacious -r
Thanks to everyone!
Offline
Well done ..... 8)
Mr Green I like Landuke!
Offline
Pages: 1