On 05/04/2012 04:36 PM, Yury G. Kudryashov wrote: > 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. My bad -- I must have not tried running kbuildsycoca4 until *after* I tried symlinking .local/share/applications -> .nix-profile/share/applications. After removing the symlink and rebuilding the cache, everything is still there
XDG_DATA_DIRS: /home/michel/.nix-profile/share:/nix/var/nix/profiles/default/share:/var/run/current-system/sw/share I've been away from KDE for too long! _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
