Quicklist for Guayadeque in Unity bar
Posted: Fri May 20, 2011 11:43 am
I've managed to put together this way to create a quicklist for guayadeque for those of you who might be interested and use Ubuntu Unity.
1-in a terminal:
cp /usr/share/applications/guayadeque.desktop ~/.local/share/applications
2-in a terminal again:
gedit ~/.local/share/applications/guayadeque.desktop-
3-at the end of the text file copy:
X-Ayatana-Desktop-Shortcuts=Play/Pause;Next;Previous;
[Play/Pause Shortcut Group]
Exec=dbus-send --print-reply --type=method_call --dest=org.mpris.guayadeque /Player org.freedesktop.MediaPlayer.Play
Name=Play/Pause
TargetEnvironment=Unity
[Previous Shortcut Group]
Exec=dbus-send --print-reply --type=method_call --dest=org.mpris.guayadeque /Player org.freedesktop.MediaPlayer.Prev
Name=Previous
TargetEnvironment=Unity
[Next Shortcut Group]
Exec=dbus-send --print-reply --type=method_call --dest=org.mpris.guayadeque /Player org.freedesktop.MediaPlayer.Next
Name=Next
TargetEnvironment=Unity
4-save the file
5-alt+F2 and enter unity
It would be very interesting to have other items (Preferences, crossfading, smart mode..) but I don't know what the commands are. If someone can provide the commands I will amend this small tutorial so they are included
1-in a terminal:
cp /usr/share/applications/guayadeque.desktop ~/.local/share/applications
2-in a terminal again:
gedit ~/.local/share/applications/guayadeque.desktop-
3-at the end of the text file copy:
X-Ayatana-Desktop-Shortcuts=Play/Pause;Next;Previous;
[Play/Pause Shortcut Group]
Exec=dbus-send --print-reply --type=method_call --dest=org.mpris.guayadeque /Player org.freedesktop.MediaPlayer.Play
Name=Play/Pause
TargetEnvironment=Unity
[Previous Shortcut Group]
Exec=dbus-send --print-reply --type=method_call --dest=org.mpris.guayadeque /Player org.freedesktop.MediaPlayer.Prev
Name=Previous
TargetEnvironment=Unity
[Next Shortcut Group]
Exec=dbus-send --print-reply --type=method_call --dest=org.mpris.guayadeque /Player org.freedesktop.MediaPlayer.Next
Name=Next
TargetEnvironment=Unity
4-save the file
5-alt+F2 and enter unity
It would be very interesting to have other items (Preferences, crossfading, smart mode..) but I don't know what the commands are. If someone can provide the commands I will amend this small tutorial so they are included