Re: this has got to be a FAQ
Re: this has got to be a FAQ
- Subject: Re: this has got to be a FAQ
- From: email@hidden (Xavier HUMBERT)
- Date: Mon, 13 Jan 2003 01:27:41 +0100
- Organization: Free Tibet
David :
> Is there a FAQ with information like "How do we modify which apps get
> launched at X11 server startup?"
Use a ~/.xinitrc file
By default, there's ,o one.
Here you'll find mine. It does nothing special, but launching a *login*
shell (I hate non login xterms), with reasonable useful options.
=-=-=-=-= CUT =-=-=-=-=-=
#!/bin/sh
# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $
PATH="$PATH:/sw/bin"
. /sw/bin/init.sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/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
xmodmap -e 'keycode 66 = Mode_switch'
xterm -geometry 160x60+1+26 -ls -sb -rightbar -sl 10000 &
exec quartz-wm
=-=-=-=-= CUT =-=-=-=-=-=
--
Xavier
http://www.freetibet.org
http://www.tibet.fr/
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.