Re: Shouldn't desktop environments use *term -ls? (Re: The best recommendation [...])
Hi Branden,
Thanks for your attention.
On Tue, Jul 09, 2002 at 05:33:21PM -0500, Branden Robinson wrote:
> On Tue, Jul 09, 2002 at 01:03:50PM -0700, Osamu Aoki wrote:
> > I wish if system's /etc/X11/Xsession inserts code such as:
> > ---
> > if [ -f $HOME/.Xenvironment ]; then
> > . $HOME/.Xenvironment
> > fi
> > ---
> >
> > So we can set per-user based environment through $HOME/.Xenvironment (I
> > want to do LC_* etc. so I can have Japanese on one account and English
> > on other.)
>
> This makes me vomit.
Of course you do not like such intrusive action to your script. (I was
just describing general idea.)
> However, /etc/X11/Xsession is a conffile, so you're free to induce
> vomiting on your own system if you like.
No, no, no.... I will not do this when I implement. I respect your
finely written script and use the modular interface you provided. How
about creating file /etc/X11/Xsession.d/00xfree86-common_environment:
---
if [ -f "$HOME/.Xenvironment" ]; then
. $HOME/.Xenvironment
fi
---
This way your update to /etc/X11/Xsession will be properly done when
"apt-get upgrade".
If you still feel like vomiting, I do not know any good cure.
--
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ +++++
Osamu Aoki @ Cupertino CA USA
See "User's Guide": http://www.debian.org/doc/manuals/users-guide/
See "Debian reference": http://www.debian.org/doc/manuals/debian-reference/
"Debian reference" Project at: http://qref.sf.net
I welcome your constructive criticisms and corrections.
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: