El día Thursday, July 03, 2008 a las 11:30:03AM +0800, ronggui escribió:

> My solution:
> add the command to ~/xinitrc
> ### content of ~/.xinitrc
> xmodmap ~/.xmodmaprc
> exec fvwm
> ###
> xmodmap must come before exec fvwm, otherwise it take no effect.

Of course it will not work if you put it after 'exec fvwm' because than
it will get executed after fvwm dies and perhaps Xorg terminates;

as I said in my post you must ensure to have a proper DISPLAY variable
in your environment and X must be up in the moment you lauch any
X-application; both are missing in your ~/.xinitrc above; try this:

make a file xmodmap.sh with 

sleep 10

put into your ~/.xinitrc the lines:

sh ~/xmodmap.sh &
exec fvwm

(don't miss the '&' sign!) and watch if the xclock comes up after fvwm is up;


Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <[EMAIL PROTECTED]> - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
«...una sola vez, que es cuanto basta si se trata de verdades definitivas.»
«...only once, which is enough if it has todo with definite truth.»
José Saramago, Historia del Cerca de Lisboa
freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to