On Vi, 18 nov 11, 17:53:50, Bob Proulx wrote:
> 
> Tom H wrote:
> > With bash, you'd edit "/etc/profile" or "~/.profile"; with zsh, no idea.
> 
> That won't work for logins from an xdm such as gdm, kdm or lightdm.
> Those are not in the execution path.  Shells launched are not login
> shells and nowhere in the path (by default) are any shells a login
> shell and therefore no sourcing of any profile will ever happen.
> 
> There are customizations that can be done to make shells login shells
> or to have the entire xsession run from a login shell.  (I think
> making .xsession run as a login shell is the best solution.  I have
> posted about it several times before.)  But by default adding
> variables to /etc/profile won't in your shell environment.  And
> neither will it show up for any applications launched from the desktop
> menu.

Works at least for gdm2 and slim, but not for lightdm. See #636108 for 
more info and also a workaround (source .profile in .xsessionrc)

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic

Attachment: signature.asc
Description: Digital signature

Reply via email to