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

Bug#252592: marked as done (xfree86-common: please consider adding a local hook for Xsession handling)



Your message dated Sat, 19 Jan 2008 00:05:28 +0100
with message-id <479130B8.4090209@ens-lyon.org>
and subject line xfree86-common: want a user file that gets executed regardless of the session type
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: xfree86-common
Version: 4.3.0.dfsg.1-4
Severity: wishlist

Hi!

Currently, /etc/X11/Xsession allows the user to specify her own
~/.xsession, disabling a big part of Debian's Magic.

Please consider adding a hook for ~/.xsession-local, allowing a user
to specify her own script to be executed as part, but not replacing,
Debian's xsession. This comes extremely handy if one wants to have
$HOME/bin in the X path, for example.

This script does what I mean:
/etc/X11/Xsession.d/60xfree86-common_user-xsession-local
# $Id:$

# This file is sourced by Xsession(5), not executed.

# this probably needs to go into the main Xsession script for clarity
USERXSESSIONLOCAL=$HOME/.xsession-local
ALTUSERXSESSIONLOCAL=$HOME/.Xsession-local

# If the user has a ~/.xsession-local, source it here and continue
if grep -qs ^allow-user-local-xsession "$OPTIONFILE"; then
  for XSESSIONLOCALFILE in "$USERXSESSIONLOCAL" "$ALTUSERXSESSIONLOCAL"; do
    if [ -e "$XSESSIONLOCALFILE" ]; then
      if [ -x "$XSESSIONLOCALFILE" ]; then
        . $XSESSIONLOCALFILE
	break
      fi
    fi
  done
fi

# vim:set ai et sts=2 sw=2 tw=80:

Greetings
Marc


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.6-janeway
Locale: LANG=C, LC_CTYPE=C

Versions of packages xfree86-common depends on:
ii  debconf                       1.4.25     Debian configuration management sy
ii  debianutils                   2.8.2      Miscellaneous utilities specific t

-- debconf information excluded


--- End Message ---
--- Begin Message ---
reassign 153612 x11-common
fixed 153612 1:7.3+9
thank you

This is supported with $HOME/.xsessionrc since x11-common 7.3+9.

Brice



--- End Message ---

Reply to: