[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:39 PM, Kevin Krammer wrote:
> > On Wednesday, 2011-10-12, Török Edwin wrote:

> >> 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.
> 
> I couldn't figure out how to reproduce the XDG_DATA_DIRS=: case, unless it
> was a corrupted /var/cache/desktop-profiles/activated_profiles file (the
> file is 0 sized now, don't know if it contained anything before).
> 
> Should there be some sanity checks in KDE / desktop-profiles scripts to
> check that XDG_DATA_DIRS make sense? i.e. that it refers to at least one
> directory that exists.

You mean if it is set and not empty?
Hmm, I guess the real bug is with whatever created that invalid value in the 
first place.

Software reading the variable should probably log if any directory in it does 
not exist, but I don't think it has any specified remedy for getting out of the 
mess.

Cheers,
Kevin

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


Reply to: