Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 01-20-2004, 10:30 PM   #1
Registered: Jan 2004
Location: Rhinelander, WI, U.S.
Distribution: Slackware
Posts: 416

Rep: Reputation: 30
Hp multimedia hotkeys under Slackware 9.1?

With all the help you tech's have given me, I know it is possible for my multimedia hotkeys to work with Slackware Linux, but I just don't know how to do it.
Thanks, Noah
Old 01-21-2004, 01:04 AM   #2
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Not sure, really. Do 'xev' and hit your media keys. You'll see a bunch of output including a 'keycode'. Then look through /usr/X11R6/lib/X11/KeysymDB (and various other keysym files) and you'll see stuff like 'XF86AudioRaiseVolume'. So then you issue 'xmodmap -e "keycode NNN = XF86AudioRaiseVolume" ' and that should establish the keysym. So then, in your window manager, you can assign an action to the 'XF86AudioRaiseVolume' key (such as 'aumix -v +5'). And then you can add just 'keycode NNN = XF86AudioRaiseVolume' (without any quotes) to ~/.xmodmaprc and add the line 'xmodmap ~/.xmodmaprc' to your ~/.xinitrc. Then it'll all be automatic that when you hit the button, your volume will change.

There *has* to be an easier way and maybe some way for the sound card to just magically respond and I frigging *hate* X and its keycodes and fontpaths and all these hundreds of silly little tools. But that's how I'm getting my buttons to work. My little success of the night after months and months of confusion. If anybody has the *right* way to do it, I'd love to hear it.

And I'm not telling you to 'read the man pages' because the man pages on these particular tools and processes are awful. Read the description of .xmodmaprc in the xmodmap man page and tell me you're supposed to divine the format of the file and everything else I posted. *sigh*
Old 01-21-2004, 02:14 AM   #3
Senior Member
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
There is a program that I use on my computer called hotkeys.

This has support for various keyboards, including a hp one - works with mine, don't know about yours.

If you follow the above link, there are downloads for various distros and the source.tar.gz.

I hope this helps
From Ian
Old 01-21-2004, 08:54 AM   #4
Registered: Jan 2004
Location: Rhinelander, WI, U.S.
Distribution: Slackware
Posts: 416

Original Poster
Rep: Reputation: 30
Hotkey won't install, and what the other guy said to do, won't work on my computer.


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
I want to use hotkeys joshknape Mandriva 3 09-09-2005 08:10 PM
Multimedia Slackware trouble sleepisforwimps Slackware 3 08-21-2005 08:15 AM
Multimedia Slackware Grunty Linux - Distributions 8 07-08-2004 06:59 AM
Hotkeys Thray Linux - General 4 04-05-2004 07:25 PM
Licq hotkeys demojoe Linux - Software 0 03-30-2003 05:03 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:54 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