Hi, On Fri, 2011-08-12 at 10:43 +0100, Abderrahim Kitouni wrote: > Hello, > < في ج، 12-08-2011 عند 09:25 +0200 ، كتب Andrea Del Signore: > Instead of doing this, you could add ~/.local/share to the XDG_DATA_DIRS > environment variable, by using something like: > > export XDG_DATA_DIRS=~/.local/share:$XDG_DATA_DIRS
Yes indeed! I always forget about that possibility, thanks for reminding it to me :) > I don't know if > it's possible to tell gdm/gnome-session to set this for us so it works > without running from a terminal, that's what I'm using. I don't know if this is valid across all the linux distributions, but at least on debian [1] I was able to do it. Just create a .gnomerc file in your home directory with: if [ -z "$XDG_DATA_DIRS" ]; then XDG_DATA_DIRS=$HOME/.local/share/:/usr/local/share/:/usr/share/ else XDG_DATA_DIRS=$HOME/.local/share/:"$XDG_DATA_DIRS" fi then logout and login again. > > HTH, > Abderrahim > > Regards, Andrea [1] On debian SID the XDG_DATA_DIRS variable is initialized by this script: /etc/X11/Xsession.d/55gnome-session_gnomerc _______________________________________________ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list