Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 04-09-2005, 12:52 AM   #1
Registered: Mar 2005
Location: C-eh?-N-eh?-D-eh?
Distribution: 2.6.11-1.14_FC3
Posts: 58

Rep: Reputation: 15
XMMS Global KB Shortcuts... Logitech Internet Navigator USB Keyboard Buttons.....

Hey, all...

I have a logitech Internet Navigator Keyboard (it has the media buttons ~play,ff,rw,stop,vup,vdown,mute and media (which in windows pops up winamp)).

Now, what I want, is to be able to set up my system (Listed in my signature, below) so that the Logitech keyboard buttons will work with winamp, and also so that I can use the other buttons as mappings of my own desire... Can anyone help, please?

They keyboard layout is as follows:
Standard 104-key US layout + the following:
F-Lock - (to lock the f-keys, which double as other keys.
No F-Lock on F-keys:
F1: New
F2: Reply
F3: Forward
F4: Send
F5: Undo
F6: Redo
F7: Print
F8: Save
F9: My Computer
F10: My Documents
F11: My Pictures
F12: My Music
(obviously setup for windows)

Across the top from left to right (not including media buttons):
User, F-Lock, E-Mail, Messenger/SMS, Webcam (which I donīt have) <<<MEDIA BUTTONS>>> iTouch, Search, My Home, Shopping, Favorites.

<<< Media Keys >>>
Top Left, to Top Right, Bottom Left to Bottom Right:
Media, Vup, Vdown, Mute // Prev, Next, Play/Pause, Stop.

Left Side of Alpha Keys (top to bottom):
Back Arrow
Go Button

Basically what I want is this:
XMMS Global Hotkeys:
Previous: Prev (or CTRL+ALT+Shift+Z)
Play/Pause: Play/Pause (or CTRL+ALT+Shift+X)
Stop: Stop (or CTRL+ALT+Shift+C)
Next: Next (or CTRL+ALT+Shift+V)
Volume Up: Vup (or CTRL+ALT+Shift+up)
Volume Down: Vdown (or CTRL+ALT+Shift+down)
Fast-Forward: CTRL+Next (or CTRL+ALT+Shift+right)
Rewind: CTRL+Prev (or CTRL+ALT+Shift+left)
Jump to File: CTRL+Media (or CTRL+ALT+Shift+J)

What I have working so far:
XMMS Plays files fine
Keyboard works fine as a 104-Key STD US Keyboard
Old 04-09-2005, 06:05 PM   #2
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
What you need to do is run the program ' xev '. Then as you press the key it will display the keycode=***. Then once you have the keycodes for each button then create a .Xmodmap under you home directory like below. Search the net for more XF86***** values.

contents ~/.Xmodmap
keycode 164 = XF86AudioStop
keycode 144 = XF86AudioPrev
keycode 153 = XF86AudioNext
keycode 160 = XF86AudioMute
keycode 176 = XF86AudioRaiseVolume
keycode 174 = XF86AudioLowerVolume
keycode 162 = XF86AudioPause

Also check into xbindkeys.

If using KDE then in the control center there is a section called khotkeys that can be used to map keys in KDE.

" Google the Linux way @ "

Last edited by Brian1; 04-09-2005 at 06:07 PM.
Old 04-12-2005, 06:53 PM   #3
mala fide
Registered: Nov 2004
Location: Espoo, Finland
Distribution: Kubuntu 7.10
Posts: 48

Rep: Reputation: 15
I copied this to my ~/.xmodmap

keycode 164 = XF86AudioStop
keycode 144 = XF86AudioPrev
keycode 153 = XF86AudioNext
keycode 160 = XF86AudioMute
keycode 176 = XF86AudioRaiseVolume
keycode 174 = XF86AudioLowerVolume
keycode 162 = XF86AudioPause
and added
xmodmap $HOME/.xmodmap
to /etc/X11/xinit/xinitrc
where it says "add your own lines here"

No effect at least when trying to use amaroK
And yes, I am a as if it wasn't clear.

What's wrong?

Last edited by mala fide; 04-12-2005 at 06:55 PM.


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
Drivers for Logitech Internet Navigator (SE) kb in FC4 BiLLie- Fedora 3 08-10-2005 02:25 PM
Lockup using Logitech USB Internet Navigator Keyboard engelbmj Linux - Hardware 3 01-08-2004 11:27 PM
Logitech Elite Keyboard - Special buttons under linux nybble Linux - Hardware 2 01-06-2004 10:10 PM
Logitech Itouch Internet Navigator Keyboard Setup???? Theoutdoorsman Linux - Hardware 1 09-25-2003 05:11 AM
new logitech keyboard buttons freak out mouse icyfire Linux - Hardware 1 07-01-2003 12:18 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:22 PM.

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