This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: German Keyboard - Again :-)


Thanks very much, Alexander.  I think set -x showed what's going on.

+ DISPLAY=127.0.0.1:0.0
+ export DISPLAY
+ userresources=/home/wakileh/.Xresources
+ usermodmap=/home/wakileh/.Xmodmap
+ sysresources=/etc/X11/xinit/.Xresources
+ sysmodmap=/etc/X11/xinit/.Xmodmap
+ [ -f /etc/X11/xinit/.Xresources ]
+ [ -f /etc/X11/xinit/.Xmodmap ]
+ [ -f /home/wakileh/.Xresources ]
+ [ -f /home/wakileh/.Xmodmap ]
+ xmodmap /home/wakileh/.Xmodmap
xmodmap:  unable to open display '127.0.0.1:0.0'
+ [ -f /home/wakileh/.Xdefaults ]
+ xrdb -load /home/wakileh/.Xdefaults
.
.
.

>From "xmodmap:  unable to open display '127.0.0.1:0.0'", I presume I did something stupid, but don't know what.  My .xinitrc has
#!/bin/sh 
set -x

DISPLAY=127.0.0.1:0.0
export DISPLAY

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

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
.
.
.

I have to leave now to Switzerland and will be back tomorrow evening to try again and see if I can detect the problem.

Kind regards,

George

-----Original Message-----
From:	Alexander Gottwald [SMTP:Alexander.Gottwald@informatik.tu-chemnitz.de]
Sent:	Monday, 23 April 2001 09:51
To:	George J. Wakileh
Cc:	'cygwin-xfree'
Subject:	RE: German Keyboard - Again :-)

try adding "set -x" after the "#!/bin/sh" line or at the beginning of startx and .xsession. This will print all commands the shell executes.

bye
    ago
-- 
Alexander.Gottwald@informatik.tu-chemnitz.de
http://www.gotti.org
+49 3725 3498080


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]