Re: Extra commands when starting X
On Tue, Sep 14, 2004 at 10:33:09PM +0200, Jan Willem Stumpel wrote:
> What is the "Debian way" to execute some "extra" commands (on a
> per-user basis) each time X is started? It seems Mandrake has a
> ~/.i18n file for this purpose. Is the only answer in Debian to put
> something (system-wide) in /etc/X11/Xsession.d?
It seems to be the only way. I use something like this:
mitch@yggdrasil:~$ cat /etc/X11/Xsession.d/98-include-user-xsession
### sourcing user Xsession
### added by mitch 20031007
### see bug #153612
if [ -e $USERXSESSION ]; then
. $USERXSESSION
fi
Regards,
Christian
--
....Christian.Garbs.....................................http://www.cgarbs.de
We have guided missiles, and misguided men. (Martin Luther King)
Reply to: