Subscription date : 07 March 2010
Messages : 7
|
I use the last version of cairo-dock from ppa repos on ubuntu-karmic. When i using musicPlayer with Banshee configuration on my dock, it can't steal the banshee icon... So, the icons are duplicated... i think this bug reason; i have 2 banshee binary files on my /usr/bin. just like this:
oguzveli@anarres:~$ /usr/bin/banshee [double "tab"ing]
banshee banshee-1
when you start Banshee with "banshee" file, actually it start "banshee-1". on my opinion the musicPlayer use "banshee" command for starting Banshee, but actually program starting with "banshee-1" binary, so musicPlayer can not steal it!
i hope explain the problem with my bad english
best regards...
ps:my banshe version is 1.6 Beta 5 (1.5.4) and musicPlayer version is 1.0.3 and i use cairo-dock 2.1.3-6 |
Subscription date : 30 November 2007
Messages : 17118
|
the dock uses the class, so what's important is the class of the window.
you can find it with a "xprop | grep CLASS".
I think it's supposed to be "banshee", at least until the 1.5 |
Subscription date : 07 March 2010
Messages : 7
|
WM_CLASS(STRING) = "/usr/lib/banshee-1/Banshee.exe", "banshee-1" |
Subscription date : 30 November 2007
Messages : 17118
|
"banshee-1", it's also the class used in the code, so it should work.
Is the option to steal the icon from the taskbar activated in the applet's config ? |
Subscription date : 07 March 2010
Messages : 7
|
ofcourse activated, anyway it can steal the other apps from the bar. for example i prefer the RythmBox from the options, in that case musicPlayer can steal the icon. i think this problem is only for banshee. |
Subscription date : 07 March 2010
Messages : 7
|
it will be a profit if i point this, that when the Banshee launcher is created without the musicPlayer applet, the launcher can steal the Banshee windows. |
Subscription date : 30 November 2007
Messages : 17118
|
and the class is "banshee-1" in the launcher ? |
Subscription date : 07 March 2010
Messages : 7
|
"class is the program" option is empty on the launcher options. but, if i grab the class then show the "banshee-1" and anyway the launcher can steal the icon. |
matttbe, Monday 08 March 2010 à 18:50
|
|
Subscription date : 24 January 2009
Messages : 12573
|
But in the source code, we can see : pBanshee->appclass = "banshee-1"; What's wrong
Something wrong with the number ? |
Subscription date : 30 November 2007
Messages : 17118
|
ok I see what's wrong
now the dock removes the version numbers, so the class to set is just "banshee"
I'll correct this right now.
Edit : and of course if you set "banshee-1" in the launcher's config, the dock will crop it too, but it's not done for applets yet. |
Subscription date : 07 March 2010
Messages : 7
|
first of all, i like cairo-dock. it is good to see that the problem has solved. thanks everybody...
i wish to know in the short run can i solve this problem for me, or should i wait for an uptade? |
matttbe, Monday 08 March 2010 à 20:52
|
|
Subscription date : 24 January 2009
Messages : 12573
|
i wish to know in the short run can i solve this problem for me, or should i wait for an uptade? There is something wrong into the code source of CD-core, so it needs to be re-compiled with some modifications (but if you use our 'Weekly' ppa, it should be solved sooner) |
Subscription date : 07 March 2010
Messages : 7
|
ok, i see...
thanks again... |
Subscription date : 30 November 2007
Messages : 17118
|
if you use the sources you can just make the modification in the applet, otherwise wait for few days |
|