Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Working "Extra" keys on compaq EvoN800c
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
melted_stencil
n00b
n00b


Joined: 26 Apr 2003
Posts: 18
Location: Hoboken

PostPosted: Sat Apr 26, 2003 10:11 pm    Post subject: Working "Extra" keys on compaq EvoN800c Reply with quote

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
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Sat Apr 26, 2003 10:45 pm    Post subject: Reply with quote

I have the sister model, Compaq 2800T. The GNOME multimedia keys daemon works swimmingly as well.
_________________
Personal overlay | Simple backup scheme
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