View previous topic :: View next topic |
Author |
Message |
coolone Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 Nov 2006 Posts: 278
|
Posted: Mon Feb 12, 2007 2:23 am Post subject: about setkeycodes !!!!!!!!!! |
|
|
My keyboard is a multimedia one,
some keys cannot be recognised by XEV..
so i commanded:
setkeycodes e005 90
then I can get a keycode to make the keys work.
but If i reboot, the multimedia keys cannot work again...that means i need to re-command setkeycodes again.
could someone tell me how to change the keys permanently and how to change back to default configuration? _________________ No Rolex on my wrist Or platinum on my chest 'Cause I don't need that shit to impress |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
albright Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/524660825462570600c7fb.jpg)
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Mon Feb 12, 2007 2:57 am Post subject: |
|
|
You can put the setkeycodes command(s) in your
/etc/conf.d/rc file - I don't know how to set it back
the way it started though.
Sorry - not the rc file; I meant the /etc/conf.d/local.start file. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
odegard Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 08 Mar 2003 Posts: 324 Location: Trondheim, NO
|
Posted: Mon Feb 12, 2007 3:12 am Post subject: |
|
|
go get xbindkeys
use xbindkeys -k to get the code from the keys you want to map, then you give whatever action you want to the keys in the .xbindkeysrc file. Works like a charm. xbindkeys starts when I start the computer (through xfce), I guess you can fix that part in other ways.
Example, I open an xterm by hittin one key like this
Code: |
"xterm -fa "Andale mono" -fs 11 -bg black -fg Limegreen -geometry 99x36 &"
m:0x0 + c:129
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
coolone Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 Nov 2006 Posts: 278
|
Posted: Mon Feb 12, 2007 3:36 am Post subject: |
|
|
thanks a lot guys for your reply
very helpful ![Smile :)](images/smiles/icon_smile.gif) _________________ No Rolex on my wrist Or platinum on my chest 'Cause I don't need that shit to impress |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tomk Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/21003072644c471d218211e.jpg)
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
Posted: Mon Feb 12, 2007 10:48 pm Post subject: |
|
|
Moved from Documentation, Tips & Tricks to Kernel & Hardware, please don't post support questions to DT&T. _________________ Search | Read | Answer | Report | Strip |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|