Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Keyboard
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
greg32
Apprentice
Apprentice


Joined: 26 Mar 2003
Posts: 259
Location: Australia

PostPosted: Fri Aug 08, 2003 7:13 am    Post subject: Keyboard Reply with quote

Please don't flame me here!!!
I have a Micro$oft keyboard. It is a wireless one (multimedia keyboard). The reason I bought this one, is it really is a good peice of equipment, and felt a lot better than others on offer. What I want to know, is how to I make use of the extra buttons across the top of the keyboard?? I don't want them to do what they were intended to do, but I would like to map them to other specific things I want them to do. i.e. the play button or pause button was to open maybe a terminal, or my browser, or mplayer, .....

thanks
Back to top
View user's profile Send private message
nephros
Advocate
Advocate


Joined: 07 Feb 2003
Posts: 2138
Location: Graz, Austria (Europe - no kangaroos.)

PostPosted: Fri Aug 08, 2003 7:45 am    Post subject: Reply with quote

I too don't want to start a flamewar, but IMO Microsoft make in general good hardware.

As for your question:
I think you can find out which keycodes are associated with the extra keys with the xev utility.

After you know them, you can put them in your ~/.xmodmap file like this:
Code:

keycode 233 = XF86AudioNext
keycode 234 = XF86AudioPause


/usr/lib/X11/XKeysymDB lists some names for keys you can set.

Another way is using the program xbindkeys (emerge xbindkeys) to associate programs or scripts with those keys.

Depending on the WM or DE you use there might be other ways too.

(I am making this up from scratch as I don't have such a keyboard, so don't hit me if it doesn't work :) )
_________________
Please put [SOLVED] in your topic if you are a moron.
Back to top
View user's profile Send private message
greg32
Apprentice
Apprentice


Joined: 26 Mar 2003
Posts: 259
Location: Australia

PostPosted: Fri Aug 08, 2003 11:38 pm    Post subject: Reply with quote

Thanks for the start, I will look into it.
regards Greg
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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