I use GDM (or occasionally KDM) to login (i.e. Linux starts in runlevel 
5). My understanding was that if you start X using startx then the 
~/.xinit file was read at startup, and if X is started at startup and 
you login from XDM/GDM/KDM then ~/.xsession was read at startup.

I have saved my preferred xmodmap settings in ~/.xmodmaprc. I know they 
are correct as if I issue the command

$ xmodmap ~/.xmodmaprc

the desired result occurs. However, I would like this done 
automatically at login. I have set up my ~/.xsession as follows:

$ ls -l .xsession
-rwxr-xr-x    1 darren   darren         39 Nov  9 18:53 .xsession*
$ cat .xsession
#!/bin/bash -login
xmodmap /home/darren/.xmodmaprc

However, the xmodmap settings are not set at login. Does anyone know 
what I am doing wrong?

Thanks in advance,

Darren

-- 
======================================================================
D. D. Brierton       Department of Philosophy, University of Edinburgh
[EMAIL PROTECTED]                    http://www.cogsci.ed.ac.uk/~ddb
======================================================================

Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to