[Pkg-xfce-devel] Bug#761330: Bug#761330: XFCE doesn't source my ~/.profile at login

Yves-Alexis Perez corsac at debian.org
Mon Sep 15 08:48:41 UTC 2014

On ven., 2014-09-12 at 18:29 -0400, Samuel Bronson wrote:
> Package: xfce4-utils
> Version: 4.8.3-2
> Severity: important
> File: /usr/bin/startxfce4
> Dear Maintainer,
> I'm not really sure if this is a bug in startxfce4 or in lightdm,


>  but
> when I start XFCE on a freshly-installed system, /etc/profile and
> ~/.profile are not sourced and, well, neither is anything else (if I'm
> reading this correctly).

What do you exactly mean/want here?
> If you think this is really lightdm's responsibility, see
> <https://bugs.debian.org/636108>, which was wontfixed and closed ages
> ago.  (I'm not certain what other DEs/DMs do, though it sounds like it
> varies a lot from distro to distro.)

I don't think this is lightdm's responsability (I was the one marking
the bug as wontfix)
> There does appear to be provision to edit or totally replace
> /etc/xdg/xfce4/xinitrc, but it seems like that'd be a pain to maintain ...
> Is it too much to ask for a reasonable, plausibly DE/DM-independant
> place to put some shell script to set up my enviroment variables
> whether I log in graphically or not?

Use .xsessionrc.

>   (It's no big deal if it doesn't
> actually work for all DEs/DMs *yet*; more important is that it be
> reasonable to ask for this to be *fixed*.  It's also no big deal if
> e.g. logging in at the console and then running "startxfce4" ends up
> running the code again even though the environment variables are
> already set up.)
> Anyway, at the moment /etc/profile and ~/.profile would seem to be the
> closest thing we've got to such a place:

Profile is for bourne shells. .xsessionrc is the one used by the whole X
stack in Debian.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20140915/1a047123/attachment.sig>

More information about the Pkg-xfce-devel mailing list