LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-28-2005, 10:51 PM   #1
jrattner1
Member
 
Registered: May 2005
Distribution: Unbutu
Posts: 51

Rep: Reputation: 15
How xev, and media keys on a keyboard


I have a HP pavilion laptop with media keys. The keys are located above my keyboard and include volume+ volume- and mute. I used xev to find out more about these keys. Now what I'm attempting to do is make the volume+ or volume- actually turn the volume up or down in my KDE enviroment using ARTS. I also use XMMS as my media play. Does anyone have any clue how to do something of this sort??

Here is my info reported from xev:

Volume UP

KeyPress event, serial 30, synthetic NO, window 0x3c00001,
root 0x40, subw 0x0, time 15833866, (176,673), root1250,698),
state 0x10, keycode 176 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 30, synthetic NO, window 0x3c00001,
root 0x40, subw 0x0, time 15833996, (176,673), root1250,698),
state 0x10, keycode 176 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:


Volume DOWN

KeyPress event, serial 30, synthetic NO, window 0x3c00001,
root 0x40, subw 0x0, time 15853126, (57,351), root1131,376),
state 0x10, keycode 174 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 30, synthetic NO, window 0x3c00001,
root 0x40, subw 0x0, time 15853291, (57,351), root1131,376),
state 0x10, keycode 174 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:




Volume MUTE
KeyPress event, serial 30, synthetic NO, window 0x3c00001,
root 0x40, subw 0x0, time 15880760, (-37,608), root1037,633),
state 0x10, keycode 160 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 30, synthetic NO, window 0x3c00001,
root 0x40, subw 0x0, time 15880875, (-37,608), root1037,633),
state 0x10, keycode 160 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
 
Old 09-29-2005, 04:36 PM   #2
mrGee
Member
 
Registered: Dec 2001
Location: Netherlands
Distribution: redhat suse mandrake freebsd
Posts: 344

Rep: Reputation: 30
Hi

i used to play around with several multimedia keyboards in console
and X using xev amonst others.
Recently i use this; http://lineak.sourceforge.net/ as an
alternative, much easier to use.
See if one of the listed keyboards is usable

enjoy
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
XEV not returning keyboard scancode for particular key... Thymox Linux - General 3 06-08-2006 01:35 AM
fn keys and xev kmisfit Linux - Laptop and Netbook 3 02-07-2006 11:27 PM
xev & Logitech Access keyboard rsarson Fedora 1 01-04-2005 02:12 AM
Assigning keyboard shortcuts to keyboard keys the who Linux - Hardware 3 02-20-2004 09:36 PM
Keyboard Shortcut Keys Odd_Bloke Linux - Newbie 2 08-26-2003 09:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration