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

Bug#643656: icons not showing up - empty XDG_DATA_DIRS



On 10/12/2011 05:57 PM, Kevin Krammer wrote:
> 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?

Yes.

> Hmm, I guess the real bug is with whatever created that invalid value in the 
> first place.

FWIW with the old .kde dir the tray icons are still not working (except KDE's own),
they are working only with a fresh .kde dir.
Even icedove which only shows a yellow rectangle and a number doesn't show anything with that.

I still have the old kde dir (as .kde-old), is there anything in particular I should look for
inthere that could cause tray icons not to work?
Or how can I debug this?

> 
> 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.

The script in /etc/X11/Xsession.d that sets XDG_DATA_DIRS could log that message to
.xsession-errors.

Best regards,
--Edwin



Reply to: