[Nix-dev] Desktop environments (KDE, XFCE) and ~/.nix-profile/share/applications

Yury G. Kudryashov urkud.urkud at gmail.com
Fri May 4 11:36:18 CEST 2012


Michel Alexandre Salim wrote:

> On 05/03/2012 10:49 PM, Yury G. Kudryashov wrote:
>> Michel Alexandre Salim wrote:
>> 
>>> Hi all,
>>>
>>> I notice that when installing apps on a per-user basis using nix-env,
>>> the desktop shortcuts (symlinked to ~/.nix-profile/share/applications)
>>> do not get indexed by kbuildsycoca4 and thus do not end up in the menu
>>> (I've not tested this with XFCE yet).
>>>
>>> Should this directory be indexed by default, similar to how
>>> ~/.local/share/applications is indexed? It'd make the desktop experience
>>> feel more integrated.
>> $ echo $XDG_DATA_DIRS
> 
> Ah, thanks. So the problem is that KDE is ignoring this value?
What *is* this value on your computer? AFAIK, KDE does not ignore 
XDG_DATA_DIRS. If it does, try to set KDEDIRS=$HOME/.nix-
profile:/whatever/you/need.
-- 
Yury G. Kudryashov,
mailto: urkud at mccme.ru



More information about the nix-dev mailing list