Author: eelco Date: Thu Jul 21 11:16:46 2011 New Revision: 27867 URL: https://svn.nixos.org/websvn/nix/?rev=27867&sc=1
Log: * Nuke the KDE icon cache on login. Modified: nixos/trunk/modules/services/x11/desktop-managers/kde4.nix Modified: nixos/trunk/modules/services/x11/desktop-managers/kde4.nix ============================================================================== --- nixos/trunk/modules/services/x11/desktop-managers/kde4.nix Thu Jul 21 07:42:05 2011 (r27866) +++ nixos/trunk/modules/services/x11/desktop-managers/kde4.nix Thu Jul 21 11:16:46 2011 (r27867) @@ -42,6 +42,16 @@ bgSupport = true; start = '' + # The KDE icon cache is supposed to update itself + # automatically, but it uses the timestamp on the icon + # theme directory as a trigger. Since in Nix the + # timestamp is always the same, this doesn't work. So as + # a workaround, nuke the icon cache on login. This isn't + # perfect, since it may require logging out after + # installing new applications to update the cache. + # See http://lists-archives.org/kde-devel/26175-what-when-will-icon-cache-refresh.html + rm -fv $HOME/.kde/cache-*/icon-cache.kcache + # Start KDE. exec ${pkgs.kde4.kdebase_workspace}/bin/startkde ''; _______________________________________________ nix-commits mailing list nix-comm...@cs.uu.nl http://mail.cs.uu.nl/mailman/listinfo/nix-commits