[firstname.lastname@example.org: Bug#411639: x11-common: There should be a way to set per-user environment variables which last the whole X session]
I'd appreciate some brief commentary on this bug from people who are
more aware of the minutia of shells and so forth than I am. Is this really
accurate, or is there a way that the submitter and myself are unaware of
for setting these? There's a simple patch attached to this bug report that
I'll apply if this feature is really missing. Thank you!
- David Nusinow
----- Forwarded message from Hans Schippers <email@example.com> -----
Subject: Bug#411639: x11-common: There should be a way to set per-user
environment variables which last the whole X session
From: Hans Schippers <firstname.lastname@example.org>
To: Debian Bug Tracking System <email@example.com>
Date: Tue, 20 Feb 2007 10:22:44 +0100
Apparently, there is no file at all where a number of environment
variables can be exported (e.g. PATH) and which will retain their value
during the whole X session.
~/.xsession is not a good option since it requires e.g. "exec startkde"
to be there at the end, while the choice of DE is already taken care of
by e.g. gdm (login manager), and more specifically /etc/gdm/Xsession.
~/.bashrc or ~/.bash_profile don't work either, since all shells in
which the Xsession scripts run seem to be sh shells. ~/.profile isn't an
option since the shells aren't login shells.
It seems to me that an extra file similar to /etc/X11/Xsession.d/30x11-common_xresources
would be an interesting option. This file should source a certain file
in the user's home dir (e.g. ~/.xprofile ?) in such a way that all
variable declarations there are exported to the whole X session which
shall be launched by another Xsession.d script.
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-amd64
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages x11-common depends on:
ii debconf [debconf-2.0] 1.5.11 Debian configuration management sy
ii debianutils 2.17 Miscellaneous utilities specific t
ii lsb-base 3.1-23 Linux Standard Base 3.1 init scrip
x11-common recommends no packages.
-- debconf information:
x11-common/xwrapper/allowed_users: Console Users Only
To UNSUBSCRIBE, email to debian-x-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org
----- End forwarded message -----