On 27/07/05, John P. Looney <valen at tuatha.org> wrote:
> This is annoying me. I can't work out how to do something that was dead
> simple in twm.
>> I want to map some of the multimedia keys on my keyboard to 'go forward',
> pause, in xmms, by invoking 'xmms -s' etc. However, I can't work it out -
> there seems to be no external commands mentioned anywhere in the keyboard
> shortcut section, and nothing in the help files about it.
>> It's KDE 3.1 if that matters.
They made you a manager didn't they, those b4stards? ;) In KDE try
going to the control centre/regional & accessibility/keyboard layout.
Then select your keyboard. Then use KHotKeys to map the multimedia
keys to xmms. See here for further information:
http://gentoo-wiki.com/HOWTO_Use_Multimedia_Keys
You can use xev to find out the keycodes if you have to do it by hand,
then xmodmap to map the results. Also rather than mapping directly to
xmms functions you could write a couple of shell script wrappers (ask
Karl for help with this ;) and sanitise or expand the functionality.
You can call these through the KHotKeys daemon.
Regards,
Stephen
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!