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

Bug#203963: marked as done (Add support for ~/.Xclients)



Your message dated Mon, 4 Aug 2003 22:47:56 -0500
with message-id <20030805034756.GB17389@deadbeast.net>
and subject line Bug#203963: Add support for ~/.Xclients
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 3 Aug 2003 06:37:58 +0000
>From fgouget@free.fr Sun Aug 03 01:37:52 2003
Return-path: <fgouget@free.fr>
Received: from lns-th2-5f-81-56-238-132.adsl.proxad.net (amboise.dolphin) [81.56.238.132] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19jCV4-0003OJ-00; Sun, 03 Aug 2003 01:37:50 -0500
Received: from fgouget by amboise.dolphin with local (Exim 3.36 #1 (Debian))
	id 19jC1v-0002RX-00
	for <submit@bugs.debian.org>; Sun, 03 Aug 2003 08:07:43 +0200
Date: Sun, 3 Aug 2003 08:07:33 +0200 (CEST)
From: Francois Gouget <fgouget@free.fr>
X-X-Sender: fgouget@amboise.dolphin
To: submit@bugs.debian.org
Subject: Add support for ~/.Xclients
Message-ID: <[🔎] Pine.LNX.4.44.0308030804520.9363-100000@amboise.dolphin>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: Francois Gouget <fgouget@free.fr>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0
	tests=BAYES_20,HAS_PACKAGE,USER_AGENT_PINE
	version=2.53-bugs.debian.org_2003_07_20
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_07_20 (1.174.2.15-2003-03-30-exp)


Package: xfree86-common
Version: 4.2.1-6

On RedHat a non-root user can create a ~/.Xclients script file and its
contents is executed when the user logs in via xdm. This is quite
practical for starting a couple of applications when logging into X. For
instance I use it to start an xterm, xmms and gkrellm. I also use this
functionality to run xset and modify some of the X server settings.

However Debian does not suppor any equivalent scheme. I believe the
standard response is that the user should write his own .xsession file
which means each user would have to duplicate the functionality of all
the scripts in '/etc/X11/Xsession.d' which would be pretty ugly.

So I propose to add the following script to '/etc/X11/Xsession.d'.
Ideally one would also apply the change I proposed in bug 203942 and
call the new script 98xfree86-common_xclients. This way the xterm I
start in my .Xclients file would inherit the ssh-agent
environment variables.

So here is the script. I wrote it so that support for ~/.Xclients can be
enabled/disabled using /etc/X11/Xsession.options like for the other
features.

--- cut here ---
if grep -qs ^allow-user-xclients "$OPTIONFILE"; then
  if [ -e "$HOME/.Xclients" ]; then
    if [ -x "$HOME/.Xclients" ]; then
      "$HOME/.Xclients"
    else
      sh "$HOME/.Xclients"
    fi
  fi
fi
--- cut here ---


-- 
Francois Gouget         fgouget@free.fr        http://fgouget.free.fr/
                            1 + e ^ ( i * pi ) = 0






---------------------------------------
Received: (at 203963-done) by bugs.debian.org; 5 Aug 2003 03:48:08 +0000
>From branden@deadbeast.net Mon Aug 04 22:47:58 2003
Return-path: <branden@deadbeast.net>
Received: from dhcp065-026-182-085.indy.rr.com (redwald.deadbeast.net) [65.26.182.85] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19jsnl-0005RP-00; Mon, 04 Aug 2003 22:47:58 -0500
Received: by redwald.deadbeast.net (Postfix, from userid 1000)
	id DF916640BE; Mon,  4 Aug 2003 22:47:56 -0500 (EST)
Date: Mon, 4 Aug 2003 22:47:56 -0500
From: Branden Robinson <branden@debian.org>
To: 203963-done@bugs.debian.org
Subject: Re: Bug#203963: Add support for ~/.Xclients
Message-ID: <20030805034756.GB17389@deadbeast.net>
References: <[🔎] Pine.LNX.4.44.0308030804520.9363-100000@amboise.dolphin> <[🔎] 20030803234925.GH22045@slinky.int.wedontsleep.org>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="fez1/uVX7m6GpeOd"
Content-Disposition: inline
In-Reply-To: <[🔎] 20030803234925.GH22045@slinky.int.wedontsleep.org>
User-Agent: Mutt/1.5.4i
Delivered-To: 203963-done@bugs.debian.org
X-Spam-Status: No, hits=-18.6 required=4.0
	tests=BAYES_20,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2,
	      REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT
	autolearn=ham version=2.53-bugs.debian.org_2003_07_20
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_07_20 (1.174.2.15-2003-03-30-exp)


--fez1/uVX7m6GpeOd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

retitle 203963 xfree86-common: have Xsession support $HOME/.Xclients as ali=
as for $HOME/.Xsession
severity 203963 wishlist
tag 203963 + wontfix
thanks

On Mon, Aug 04, 2003 at 09:49:25AM +1000, Daniel Stone wrote:
> No, this is incorrect. $REALSTARTUP, which may be ~/.[Xx]session, if it e=
xists,
> is only executed at the *end* of the Xsession.d chain, after all the syst=
em
> Xsession scripts have been run.

I am closing this bug due to the above analysis.

Thanks for saving me the trouble, Daniel.

--=20
G. Branden Robinson                |    The first thing the communists do
Debian GNU/Linux                   |    when they take over a country is to
branden@debian.org                 |    outlaw cockfighting.
http://people.debian.org/~branden/ |    -- Oklahoma State Senator John Monks

--fez1/uVX7m6GpeOd
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iEYEARECAAYFAj8vKOwACgkQ6kxmHytGonzrkwCaA1389E1asT5sCBwTg1WYC+c6
d6cAnRZmqJQ0HgXLTH0FwKzIR/2L7HFw
=F3o/
-----END PGP SIGNATURE-----

--fez1/uVX7m6GpeOd--



Reply to: