View previous topic :: View next topic |
Author |
Message |
melted_stencil n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 26 Apr 2003 Posts: 18 Location: Hoboken
|
Posted: Sat Apr 26, 2003 10:11 pm Post subject: Working "Extra" keys on compaq EvoN800c |
|
|
Well I was bored today and played around with hotkeys trying to get everything to work...I have an evoN800c with 4+vol up/down keys above, as well as several Fn- keys...
Well I emerge hotkeys and foudn it was surprisingly easy to get working...defined my own keyboard map so that the buttons do the following:
I button = xchat
Mail button = mozilla mail
Magnifying glass = mozilla opening up google (although this is my homepage anyway, you can set up mozilla to open up any URL)
music note = XMMS
Fn-F9 = Play/Pause XMMS...(this works so so, you gotta kinda tap the button to get it to resume playing...any help here would b nice)
Fn-F10 = Stop XMMS
Fn-F11 = Previous Track
Fn-F12 = NextTrack
Only thing I dont have setup yet is the volume buttons and that's because I havent emerged a decent mixer besides umix...havent decided on which to run...suggestions here are welcome as well...
Here's the hotkeys.conf (put in your $HOME/.hotkeys/ directory:
Code: | # audio actions
PrevTrack xmms --rew
Play xmms --play
Stop xmms --stop
Pause xmms --pause
NextTrack xmms --fwd
# OSD stuffs
osd_font lucidasanstypewriter-bold-24
(should be aliased to -*-lucidatypewriter-bold-r-normal-*-*-240-*-*-*-*-*-*)
osd_color LawnGreen
osd_timeout 3
osd_position bottom
osd_offset 25
# applications
WebBrowser mozilla
Email mozilla -mail
|
and here's ,my EvoN800c definition file...I got the keycodes by using xev so anyone could take an existing def file and modify it to their own keyboard:
Code: |
<?xml version="1.0"?>
<definition>
<config model="Compaq EvoN800c Keyboard+Buttons">
<WebBrowser keycode="154"/>
<Email keycode="158"/>
<!-- Feel free to customize these -->
<PrevTrack keycode="144"/>
<NextTrack keycode="153"/>
<Stop keycode="164"/>
<Play keycode="162"/>
<Pause keycode="162"/>
<userdef keycode="163" command="xchat-2">X-Chat2</userdef>
<userdef keycode="239" command="xmms">XMMS</userdef>
</config>
<contributor>
<name>Daniel Lelewski</name>
<email>dlelewsk@stevens-tech.edu</email>
</contributor>
</definition>
|
Hope this helps anyone who was having problems with getting their keyboards to work with those extra keys |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hypnos Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/194915870044fe4be59c49f.jpg)
Joined: 18 Jul 2002 Posts: 2889 Location: Omnipresent
|
Posted: Sat Apr 26, 2003 10:45 pm Post subject: |
|
|
I have the sister model, Compaq 2800T. The GNOME multimedia keys daemon works swimmingly as well. _________________ Personal overlay | Simple backup scheme |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|