[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#411639: x11-common: There should be a way to set per-user environment variables which last the whole X session



Package: x11-common
Version: 1:7.1.0-12
Severity: wishlist

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/nice_value: 0
  x11-common/xwrapper/allowed_users: Console Users Only
  x11-common/experimental_packages:
  x11-common/xwrapper/actual_allowed_users: console
  x11-common/xwrapper/nice_value/error:
  x11-common/x11r6_bin_not_empty:
* x11-common/upgrade_issues:



Reply to: