Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Git Version | Version Git dock icons not picking up the theme's icons
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Git Version | Version Git

Subjects Author Language Messages Last message
[Locked] dock icons not picking up the theme's icons
coz English 6 coz [Read]
10 June 2011 à 15:46

coz, Wednesday 08 June 2011 à 23:27


Subscription date : 25 March 2008
Messages : 611
Salut,
Guys, I noticed that in the last few revision. opening some applications.. mainly gnome apps like gnome-terminal,, gnome-appearance-properties,, it will not use the icons i created for it anylonger,, it goes to a default icon on the system,,
I dont know to troubleshoot this

coz

matttbe, Thursday 09 June 2011 à 12:06


Subscription date : 24 January 2009
Messages : 12573
@coz: Thank you for this bug report!

I confirm it and I think I know why:
  • If I create a gedit.png file in ~/.config/cairo-dock/current_theme/icons/, the dock uses the same Gedit's icon as the one linked to this Gedit's launcher in GMenu.
  • But if I use the Cairo-Dock menu to change the icon (by doing a right click on this icon), it creates a new file in ~/.config/cairo-dock/current_theme/icons/ with the name accessories-text-editor.png (the name of the icon specified in the gedit.desktop file)

I know that fabounet has updated some themes but I don't know if what we have is bug or a feature for him

fabounet, Thursday 09 June 2011 à 12:39


Subscription date : 30 November 2007
Messages : 17118
the icon for gedit is (according to its /usr/share/applications/gedit.desktop file) accessories-text-editor.png
so this is the name you have to use to overseed the default icon.

now, if you have a gedit launcher, you can also set up a image in the launcher's config.

if you add a ~/.config/cairo-dock/current_theme/icons/gedit.png file, it will not be used (as it was before) except if you specify that the icon is "gedit.png" in the launcher's config.

Edit: I realize it will somewhat break the current themes ... so I wonder if maybe the dock shouldn't check for the old icon file too ... but that seems to be a hack.

matttbe, Thursday 09 June 2011 à 15:00


Subscription date : 24 January 2009
Messages : 12573
Edit: I realize it will somewhat break the current themes ... so I wonder if maybe the dock shouldn't check for the old icon file too ... but that seems to be a hack
+1
but only check the old iconf file in the current_theme/icons directory.

coz, Friday 10 June 2011 à 02:14


Subscription date : 25 March 2008
Messages : 611
Salut,
OK thanks guys,, let me see if I get this right..
For gnome, the .desktop file refers to utilites-terminal.svg and if I change the icon name in current_theme/icons it indeed uses the one in the icons folder,,
mm Wonder why the name changes ?

Ok I guess I have to begin to change the icon name according to the referral in the .desktop file,,

oh well

thanks again

coz

fabounet, Friday 10 June 2011 à 12:10


Subscription date : 30 November 2007
Messages : 17118
Wonder why the name changes ?

because before, the dock was not using the .desktop files installed in /usr
now it does (which is much better, even if at first sight you might find it a PITA )
this was a mistake from me, I should have done it this way at first... that's what we call iterations

coz, Friday 10 June 2011 à 15:46


Subscription date : 25 March 2008
Messages : 611
Hey guy
Ah , Ok I understand now
No more confusion

coz

Git Version | Version Git

Subjects Author Language Messages Last message
[Locked] dock icons not picking up the theme's icons
coz English 6 coz [Read]
10 June 2011 à 15:46


Glx-Dock / Cairo-Dock List of forums Git Version | Version Git dock icons not picking up the theme's icons Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.