View Full Version : control amarok in gnome with multimedia keys
harty83
April 6th, 2007, 11:08 AM
I use amarok in gnome because I like it better than the other players. Does anyone know if it is possible to get my multimedia keys to control amarok (play,pause,stop,volume,forward,back, etc)? They will control rhythmbox of course but not amarok.
Thanks!
Alan
mand0
April 6th, 2007, 11:27 AM
Is this for a laptop or keyboard?
Seems like you're missing some essential kde packages.
harty83
April 6th, 2007, 11:30 AM
Is this for a laptop or keyboard?
Seems like you're missing some essential kde packages.
It is for a desktop. I doubt that it is a kde package because I have the complete kubuntu installed also. Of course the keyboard works with amarok while in kde but I prefer gnome.
Thanks!
lukew
April 6th, 2007, 11:42 AM
I use amarok in gnome because I like it better than the other players. Does anyone know if it is possible to get my multimedia keys to control amarok (play,pause,stop,volume,forward,back, etc)? They will control rhythmbox of course but not amarok.
Thanks!
Alan
There is an option to capture the keys and assign them to different functions.
strabes
April 6th, 2007, 11:43 AM
I wrote a blog post about (something close to) this awhile ago. Basically you use gconf editor to set up commands for certain buttons.
http://strabes.wordpress.com/2006/11/13/create-custom-keyboard-shortcuts-in-ubuntu/
You'll just have to find out the names of your multimedia buttons which you should be able to do with System, Preferences, Keyboard Shortcuts. The commands for amarok are "amarok --previous" etc etc. Just type "amarok --help" to see the rest.
BrowneR
June 22nd, 2007, 12:29 PM
I have written an Amarok script to allow the use of multimedia keys in fiesty (and other gnome 2.18 distros).
There is no fuss at all - just load the script into amarok's script manager and configure the keys in
system-->preferences-->keyboard shortcuts
done.
get it here http://kde-apps.org/content/show.php/Gnome+Multimedia+Keys?content=60910
or install it directly from the Amarok script manager - its called "gnome multimedia keys".
this should be the fastest way to get it working.
any problems just send me a pm.
hope this helps. would love your feedback and bug reports.
harty83
June 22nd, 2007, 01:31 PM
Thanks! That works like a charm for me!
hmsf
June 26th, 2007, 03:35 PM
Thanks!! It's working fine for me too!
crazy ivan
November 1st, 2007, 12:29 PM
Thanks a lot. I got it via Script-manager and before that some keys would not work properly.
tresdey
November 19th, 2007, 02:54 PM
Thanks a lot!! its works for me too!!!
BrowneR
November 19th, 2007, 04:56 PM
glad people are still finding it useful.
Luis Macias
November 19th, 2007, 10:16 PM
Thanks! the script worked for me too
MxGB
November 27th, 2007, 05:06 PM
Thanks, script worked for me.
mattismyname
April 6th, 2008, 04:34 PM
Thanks! Worked beautifully.
Edit: Worked in Hardy. Wish it were installed by default.
hermes0710
May 8th, 2008, 06:55 AM
Is there anything similar for kaffeine too?
BrowneR
May 8th, 2008, 06:06 PM
Is there anything similar for kaffeine too?
I myself don't know of anything however as the author of the Amarok script i'm sure it could easily be adapted for kaffeine.
I personally use VLC/Mplayer for most video duties but when I get a minute I'll install kaffeine and have a poke around. It's exam time for me at the moment so dont expect anything too soon ;)
BrowneR
May 9th, 2008, 10:46 PM
Is there anything similar for kaffeine too?
OK, I have managed to put together a script (http://chris.scotland.googlepages.com/) that enables the use of multimedia keys in Kaffeine. It's adapted from the Amarok script I made and packaged up with a little installer.
Let me know if you encounter any problems with it.
Cheers.
Get it HERE (http://chris.scotland.googlepages.com/)
hermes0710
May 12th, 2008, 07:42 AM
@Browner
Thank you very much! Weldone=D>
BrowneR
May 12th, 2008, 08:24 AM
@Browner
Thank you very much! Weldone=D>
A pleasure :)
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.