Debian Bug report logs - #252592
xfree86-common: please consider adding a local hook for Xsession handling

version graph

Package: xfree86-common; Maintainer for xfree86-common is (unknown);

Reported by: Marc Haber <mh+debian-bugs@zugschlus.de>

Date: Fri, 4 Jun 2004 09:33:03 UTC

Severity: wishlist

Tags: wontfix

Merged with 153612

Found in versions 4.2.1-11, 4.3.0.dfsg.1-4

Done: Brice Goglin <Brice.Goglin@ens-lyon.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian X Strike Force <debian-x@lists.debian.org>:
Bug#252592; Package xfree86-common. (full text, mbox, link).


Acknowledgement sent to Marc Haber <mh+debian-bugs@zugschlus.de>:
New Bug report received and forwarded. Copy sent to Debian X Strike Force <debian-x@lists.debian.org>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Marc Haber <mh+debian-bugs@zugschlus.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: xfree86-common: please consider adding a local hook for Xsession handling
Date: Fri, 04 Jun 2004 11:25:13 +0200
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



Merged 153612 252592. Request was from browaeys.alban@wanadoo.fr to control@bugs.debian.org. (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 16 Feb 2008 07:26:19 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Jan 11 02:33:28 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.