Icon loader ignoring $XDG_DATA_HOME

Waldo Bastian bastian at kde.org
Mon Jun 12 08:06:50 BST 2006


On Saturday 10 June 2006 23:01, Thiago Macieira wrote:
> Waldo Bastian wrote:
> >It seems that KDE doesn't look in $XDG_DATA_HOME/icons for icons as per
> > icon spec. I would like to know if that is going to be (or has already
> > been) fixed and if so, in which version(s) such fix can be expected. I
> > can work around it in Portland/xdg-utils but if the icon spec is to be
> > included in LSB 3.2, a fix is needed. For Portland it would be nice to
> > know which versions of KDE require a workaround (As far as I can see it
> > affects every version up till now).
>
> As far as I can tell from the code in kstandarddirs.cpp and
> kiconloader.cpp, all versions are affected. The workaround would be to
> symlink ~/.kde/share/icons to $XDG_DATA_HOME or vice-versa. Another
> possibility is to have either KDEHOME or KDEDIRS point to XDG_DATA_HOME.
>
> The proper fix would probably involve adding a "xdgdata-icons" to the
> prefix list in KIconLoader::init.
>
> But this is not my area of expertise, so I could be way off the mark here.

Jan de Groot pointed out that there is even a bugreport for it: 
http://bugs.kde.org/show_bug.cgi?id=97776
(Thanks Jan)

Cheers,
Waldo
-- 
Linux Client Architect - Channel Platform Solutions Group - Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060612/57dcb273/attachment.sig>


More information about the kde-core-devel mailing list