Having installed Guayadeque onto Ubuntu10.10 running Gnome, I was impressed with it. I've switched desktop engine to my preference - KDE. However, KDE maps the media keys (play-pause/stop/forward/back) to Amarok. Removing this link, but I haven't been able to add Guayadeque instead.
I was wondering what command line instructions I should associate with these keys? Which script(s) should I run, and with what arguments?
Media Key handles?
- anonbeat
- Posts: 2048
- Joined: Thu Sep 16, 2010 9:47 pm
-
- Posts: 4
- Joined: Wed Dec 29, 2010 7:48 am
Media Key handles?
Thanks very much. Sorry I didn't see that, didn't realise that's what cli was.
For anyone with the same issue, on 10.10 you open
System Settings->Shortcuts&Gestures->Custom Shortcuts
Then Make a new group (Edit->New Group) for guayadeque.
use the link anonbeat gave above for the functions, then its as simple as adding them as new global shortcuts with Edit->New->Global Shortcut->Command
----
I do have a slight problem running it at the moment though. All shortcuts now set up and working, but the play/pause option is actually play/stop?
Thanks very much for the lovely little player, really like it.
For anyone with the same issue, on 10.10 you open
System Settings->Shortcuts&Gestures->Custom Shortcuts
Then Make a new group (Edit->New Group) for guayadeque.
use the link anonbeat gave above for the functions, then its as simple as adding them as new global shortcuts with Edit->New->Global Shortcut->Command
----
I do have a slight problem running it at the moment though. All shortcuts now set up and working, but the play/pause option is actually play/stop?
Thanks very much for the lovely little player, really like it.
- anonbeat
- Posts: 2048
- Joined: Thu Sep 16, 2010 9:47 pm
Media Key handles?
Are you using latest svn ? this problem should be fixed in current svn version and I cant reproduce it on my system. Could you please confirm it ?froestel wrote: Be aware that you can only leave the Pause-status by again pressing Pause, any other key (like prev, next, stop) will cause guayadeque to freeze. But this isn't specific to hotkeys as documented here:
http://guayadeque.org/forums/index.php? ... ussion/115
Thanks for your help
-
- Posts: 25
- Joined: Tue Oct 05, 2010 3:10 am
Media Key handles?
I had a slightly different approach to this. I used the Global Hotkey utility's ability to send DBUS commands directly:
http://wwww.ubuntuforums.org/showpost.p ... count=2091
http://wwww.ubuntuforums.org/showpost.p ... count=2091
-
- Posts: 1
- Joined: Wed Jan 26, 2011 1:41 am
Media Key handles?
Hello anonbeat and all the others.
Thanks for the link to the DBSU commands!!!!! That was REALLY important because now the hotkeys are working for me very well. I had the same issue mentioned here (play/stop/pause problem) when I use the mentioned DBUS command at the above link. The not working command is:
To Play / Pause (will play/stop)
dbus-send --print-reply --type=method_call --dest=org.mpris.guayadeque /Player org.freedesktop.MediaPlayer.Play
--> this works NOT for me to pause a track. When I use this command the track plays when pressed the first time and stopped when pressed (not paused) the second time.
The solution working for me is simply to use the following command instead:
To Play / Pause (will play/pause)
dbus-send --print-reply --type=method_call --dest=org.mpris.guayadeque /Player org.freedesktop.MediaPlayer.Pause
I'm using Kubuntu Maverick (10.10) and the latest guayadeque SVN version (1456~maverick-1).
Maybe this helps someone out
Thanks for the link to the DBSU commands!!!!! That was REALLY important because now the hotkeys are working for me very well. I had the same issue mentioned here (play/stop/pause problem) when I use the mentioned DBUS command at the above link. The not working command is:
To Play / Pause (will play/stop)
dbus-send --print-reply --type=method_call --dest=org.mpris.guayadeque /Player org.freedesktop.MediaPlayer.Play
--> this works NOT for me to pause a track. When I use this command the track plays when pressed the first time and stopped when pressed (not paused) the second time.
The solution working for me is simply to use the following command instead:
To Play / Pause (will play/pause)
dbus-send --print-reply --type=method_call --dest=org.mpris.guayadeque /Player org.freedesktop.MediaPlayer.Pause
I'm using Kubuntu Maverick (10.10) and the latest guayadeque SVN version (1456~maverick-1).
Maybe this helps someone out
- anonbeat
- Posts: 2048
- Joined: Thu Sep 16, 2010 9:47 pm
Media Key handles?
If you see the MPRIS specifications
http://xmms2.org/wiki/MPRIS#Play
http://xmms2.org/wiki/MPRIS#Pause
you will see that Play and Pause method are working as expected
Thanks for your help
Want to add that guayadeque should support the global mutimedia keys defined. If your keyboard dont support that keys you can redefine it via System->Preferences->Key bindings editor
dont knwo if that is the proper name as I have it in spanish
http://xmms2.org/wiki/MPRIS#Play
http://xmms2.org/wiki/MPRIS#Pause
you will see that Play and Pause method are working as expected
Thanks for your help
Want to add that guayadeque should support the global mutimedia keys defined. If your keyboard dont support that keys you can redefine it via System->Preferences->Key bindings editor
dont knwo if that is the proper name as I have it in spanish