Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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*
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.