Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mapping buttons [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Jmaxxz
Apprentice
Apprentice


Joined: 16 Sep 2006
Posts: 166

PostPosted: Fri Oct 06, 2006 9:49 pm    Post subject: mapping buttons [solved] Reply with quote

How do I make my volume up, down, and mute buttons work in linux? I tried using the control center in kde, but that did not work. Any suggestions?

Last edited by Jmaxxz on Fri Oct 06, 2006 10:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Fri Oct 06, 2006 9:51 pm    Post subject: Reply with quote

You'll probably need to read up on xmodmap. I think it can do what you need.
_________________
Bones McCracker wrote:
On the other hand, regex is popular with the ladies.
Back to top
View user's profile Send private message
Jmaxxz
Apprentice
Apprentice


Joined: 16 Sep 2006
Posts: 166

PostPosted: Fri Oct 06, 2006 9:58 pm    Post subject: Reply with quote

tried xmodmap
Code:
xmodmap -
to get the imputs and my volume key returned nothing
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Fri Oct 06, 2006 10:05 pm    Post subject: Reply with quote

Try using xev to find the keycodes. If it doesn't show anything when you hit that key, then I guess you are out of luck. :(

I assume you've searched both the forums and google for your particular keyboard to see if anyone else has managed to do what you want... ;)
_________________
Bones McCracker wrote:
On the other hand, regex is popular with the ladies.
Back to top
View user's profile Send private message
jonnevers
Veteran
Veteran


Joined: 02 Jan 2003
Posts: 1594
Location: Gentoo64 land

PostPosted: Fri Oct 06, 2006 10:08 pm    Post subject: Reply with quote

yabbadabbadont wrote:
Try using xev to find the keycodes. If it doesn't show anything when you hit that key, then I guess you are out of luck. :(

I assume you've searched both the forums and google for your particular keyboard to see if anyone else has managed to do what you want... ;)

xev is a very good way to see what a key (keyboard or mouse) is producing.
you can try using the 'evdev' drivers
I used lineakd to get the multimedia keys on my keyboard to work
Back to top
View user's profile Send private message
Jmaxxz
Apprentice
Apprentice


Joined: 16 Sep 2006
Posts: 166

PostPosted: Fri Oct 06, 2006 10:08 pm    Post subject: Reply with quote

It's a laptop...googling my specific keyboard would be kindof hard
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Fri Oct 06, 2006 10:10 pm    Post subject: Reply with quote

Jmaxxz wrote:
It's a laptop...googling my specific keyboard would be kindof hard

Then google your specific laptop. Jeesh. :roll:
_________________
Bones McCracker wrote:
On the other hand, regex is popular with the ladies.
Back to top
View user's profile Send private message
Jmaxxz
Apprentice
Apprentice


Joined: 16 Sep 2006
Posts: 166

PostPosted: Fri Oct 06, 2006 10:21 pm    Post subject: Reply with quote

GOT IT!!!!

Code:
xmodmap -e  "keycode 176 = XF86AudioRaiseVolume"
xmodmap -e  "keycode 174 = XF86AudioLowerVolume"
xmodmap -e  "keycode 160 = XF86AudioMute"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum