[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#643656: icons not showing up - empty XDG_DATA_DIRS



On Wednesday, 2011-10-12, Török Edwin wrote:
> On 10/12/2011 04:29 PM, Kevin Krammer wrote:
> > On Wednesday, 2011-10-12, Török Edwin wrote:
> >> I tried moving kde to .kde-old, and logging in again but that didn't
> >> help.
> >> 
> >> I finally tracked down the problem: XDG_DATA_DIRS environment variable
> >> was empty which caused a number of applications to not function
> >> correctly in KDE (pidgin not finding its icons, openbox not findings
> >> the themes, etc.). I removed
> >> /var/cache/desktop-profiles/activated-profiles, and run
> >> update-profile-cache as root.
> >> 
> >> Now when I login all the icons show up in the tray as they are supposed
> >> to, because XDG_DATA_DIRS is no longer empty!
> > 
> > Can you try unsetting XDG_DATA_DIRS and see if the problem shows up
> > again?
> 
> This makes the problem show up again
> export XDG_DATA_DIRS=
> pidgin

This should work.
The spec [1] section "environment variables" says: "If $XDG_DATA_DIRS is 
either not set or empty, a value equal to /usr/local/share/:/usr/share/ should 
be used."

This is the case "empty"

You might want to report this as a bug against pidgin.

> So does this:
> export XDG_DATA_DIRS=:
> pidgin
> 
> This works correctly
> unset XDG_DATA_DIRS
> pidgin

The "not set" case of the spec seems to be done correctly.

> And this is what I actually had (sorry missed the :) when I wrote my
> previous reply:
> 
> XDG_DATA_DIRS=:

Ah. I think this is correct, if annoying, behavior in this case.

Cheers,
Kevin

[1] http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: