symlink in /usr/share/icons

Jonas Kulla nyocurio at gmail.com
Fri Feb 8 03:58:19 CET 2013


2013/2/7 Martin crysman Zahradník <crysman at seznam.cz>

>  That time I did not, because frankly, I've not been aware about that
> command, but now I have tried that - not successfully :(
>
> $ sudo gtk-update-icon-cache -v /usr/share/icons/
>
> gtk-update-icon-cache: File not found: /usr/share/icons/icon-theme.cache
>
>
> the same here:
>
> $ sudo gtk-update-icon-cache-3.0 -v /usr/share/icons/
>
> gtk-update-icon-cache-3.0: File not found: /usr/share/icons/icon-theme.cache
>
>
> What might be wrong?
>
> Thanks a lot
> crysman
>
>
> --
> Martin crysman Zahradník
> www: http://crysmanovo.blogspot.com
> e-mail: crysman at seznam.cz
> jabber: crysman at jabber.org
> gtalk: crysmanovo at gmail.com
> Skype: no way! using Ekiga - SIP:crysman at ekiga.net
> running GNU/Linux Xubuntu
>
> On 7.2.2013 19:24, Jonas Kulla wrote:
>
>
>
> 2013/2/7 Martin crysman Zahradník <crysman at seznam.cz>
>
>> Hello,
>>
>> please, is it correct that for me it does not work creating a symbilic
>> link (to a directory) in /usr/share/icons and not having the new icons
>> listed when I want to change an icon on the panel e.g.?
>>
>> situation:
>> $ sudo ln -s ~/icons/ /usr/share/icons
>>
>> $ tree ~/icons/
>> /home/crysman/icons/
>> └── 64x64
>> ├── rp.ico
>> └── rp.png
>>
>> 1 directory, 2 files
>>
>> $ file /usr/share/icons/icons
>> /usr/share/icons/icons: symbolic link to `/home/crysman/icons/'
>>
>>
>> Thank you very much
>> McZ
>>
>> --
>> Martin crysman Zahradník
>> www: http://crysmanovo.blogspot.com
>> e-mail: crysman at seznam.cz
>> jabber: crysman at jabber.org
>> gtalk: crysmanovo at gmail.com
>> Skype: no way! using Ekiga - SIP:crysman at ekiga.net
>> running GNU/Linux Xubuntu
>>
>> _______________________________________________
>> Xfce4-dev mailing list
>> Xfce4-dev at xfce.org
>> https://mail.xfce.org/mailman/listinfo/xfce4-dev
>
>
> Hm, have you tried running gtk-update-icon-cache on the directory?
>
>  - Jonas
>
>
> _______________________________________________
> Xfce4-dev mailing listXfce4-dev at xfce.orghttps://mail.xfce.org/mailman/listinfo/xfce4-dev
>
>
>
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> https://mail.xfce.org/mailman/listinfo/xfce4-dev
>

I had to run this command any time I modified the icons dir,
otherwise desktop starters wouldn't find the icons. That's why I thought it
might just work.
I'm not really sure though. Anyway, have you tried running it without the
-v option,
or maybe with -f (to force cache generation) ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20130208/12ba1e75/attachment-0001.html>


More information about the Xfce4-dev mailing list