On Thu, Oct 24, 2002 at 00:09:00 +0100, John Keniry wrote: > I would like xmodmap .Xmodmap to run every time I startx. I did think > that simply placing the .Xmodmap in my $HOME would be enough but the X > scripts don't use it.
I run it from my .xinitrc: [ -e $HOME/.xmodmaprc ] && xmodmap $HOME/.xmodmaprc > I also tried creating a $HOME/.xsessions file but even if this is empty > it causes X to fail to start (but leaves no traces in the log). I also have a .xsession (symlink to .xinitrc). It contains: #! /bin/sh PATH=$HOME/bin:$PATH failsafe="xterm -ls -T Failsafe -geometry 80x24-0-0" trap "exec $failsafe" EXIT SIGHUP SIGINT SIGPIPE SIGTERM SIGIO [some commands] if [ "$1" = "-vnc" ]; then shift # Try vncviewer, else xvncviewer. vnc="vncviewer -passwd $HOME/.vnc/passwd $*" trap "exec x$vnc" EXIT exec $vnc fi if [ -z "$WINDOWMANAGER" -o "$WINDOWMANAGER" = fvwm2 ]; then exec fvwm2 -cmd "FvwmM4 $HOME/etc/fvwm2rc.m4" else exec $WINDOWMANAGER fi and is executable. -- Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/> - 100% validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des Jeux Mathématiques et Logiques, TETRHEX, etc. Work: CR INRIA - computer arithmetic / SPACES project at LORIA -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]