Dockmanager Helper

General discussions
Locked
R2D221
Posts: 4
Joined: Tue May 10, 2011 2:16 pm

Dockmanager Helper

Post by R2D221 »

I have always liked Docky and the ability to add “helpers”, which can change the icon of the application and show a small badge with information such as unread messages or similar.

I used Rhythmbox before, which has Dockmanager support, so when a song is playing, the icon changes to the album art, and the badge shows time left of the current song. I looked for a similar feature in Guayadeque, but I found none, so I decided to modify the Rhythmbox script to work with Guayadeque.

However, I'm just a newbie and don't know much of Python. I have modified the script, but when I run it, nothing happens. But I don't know if my error is related to Guayadeque or to Dockmanager. So I would like some help with my script, to see why it doesn't work.
R2D221
Posts: 4
Joined: Tue May 10, 2011 2:16 pm

Dockmanager Helper

Post by R2D221 »

I think the scripts weren't attached. You can download them from here: http://is.gd/OxK4NT
User avatar
anonbeat
Posts: 2048
Joined: Thu Sep 16, 2010 9:47 pm

Dockmanager Helper

Post by anonbeat »

Hello, I will try to help you but I know zero about python.
This may help you https://launchpad.net/~conky-companions ... .09.tar.gz

Its a script for conky to show the guayadeque current playing track and some other info in conky.

Thanks
User avatar
anonbeat
Posts: 2048
Joined: Thu Sep 16, 2010 9:47 pm

Dockmanager Helper

Post by anonbeat »

The first thing I think its wrong is

playeriface = "org.mpris.Guayadeque"

should be

playeriface = "org.mpris.guayadeque"

Thanks for your help
R2D221
Posts: 4
Joined: Tue May 10, 2011 2:16 pm

Dockmanager Helper

Post by R2D221 »

Well, that actually fixes the Prev/Play/Next commands. But the icon still isn't changing.

Thanks, I knew my error would be something obvious :P

I'll now see what's missing for the rest of the helper.
R2D221
Posts: 4
Joined: Tue May 10, 2011 2:16 pm

Dockmanager Helper

Post by R2D221 »

I've finished writing the helper for Guayadeque. It can be found here: http://comunidades.ccm.itesm.mx/~A01212 ... helper.zip

Just extract either to /usr/share/dockmanager/ or ~/.local/share/dockmanager
It works the same way than the Rhythmbox and Banshee helpers.
tamalet
Posts: 490
Joined: Fri Sep 24, 2010 4:34 am

Dockmanager Helper

Post by tamalet »

Thanks a lot!
Locked