[tex-live] dealing with ubuntu
mpg at elzevir.fr
Fri Mar 27 12:54:14 CET 2009
Manuel Pégourié-Gonnard a écrit :
> Otherwise, it depends on your graphical environment and how you start it. At
> home, my windows manager is started from a .xsession file, so I put "source
> $HOME/.zshenv" in my ~/.xsession (where .zshenv contains all my environment
> declarations, and a security against double-loading). At work, there is KDE and
> the solution is to symlink .zshenv as ~/.kde/env/zshenv.sh (the name must end
> with .sh). There is a similar solution for Gnome but I can't remember it right now.
Just found the reference (never tested myself): gdm sources quite a lot of files
on startup, by default /etc/profile, ~/.profile, /etc/xprofile and ~/.xprofile,
depending of the configuration in /etc/gdm/Xsession. So probably ~/.profile is a
good place to put our environment declarations if you are a normal user on a
system running gdm.
More information about the tex-live