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

Bug#216970: acknowledged by developer (Re: Bug#216970: [startx] Does not use $HOME/.xsession as documented.)



On Tue, Oct 21, 2003 at 05:48:14PM -0500, Debian Bug Tracking System wrote:
> branden@tentacle:~$ grep -i session /usr/X11R6/lib/X11/xinit/xinitrc
> # global xinitrc file, used by all X sessions started by xinit (startx)
> # invoke global X session script
> =2E /etc/X11/Xsession

Yes, you are right.  The machine which has this problem has an xinitrc
which does not source /etc/X11/Xsession.  It is attached.  

I have never edited the file, at least not as far as I recall.  Since
the file is marked as a conffile, I would expect to see an
/etc/X11/xinit/xinitrc.dpkg-dist, but it is not there either.  I have no
idea why it was not replaced with the new version.

nveber@pyre[3256:/etc/X11/xinit]$ ls
xinitrc  xserverrc

Thanks,

Norbert
#!/bin/sh
# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/local/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/local/X11R6/lib/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
    xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
    xmodmap $usermodmap
fi

# start some nice programs

twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login

Attachment: signature.asc
Description: Digital signature


Reply to: