View previous topic :: View next topic |
Author |
Message |
Efo Guru
Joined: 23 Jun 2005 Posts: 498
|
Posted: Tue Jun 28, 2005 10:58 pm Post subject: .xmodmap doesnt load at startx [SOLVED] |
|
|
Hi guys,
I have a couple of extra button on my keyboard and I assigned them a keycode.
If I run the command "xmodmap .xmodmap" everything works fine, but I have to run it everytime I startxr. Shouldnt the file .xmodmap be read automatically when I startx ? (I also tried putting the new keys in .Xmodmap).
Thanx
Efo
Last edited by Efo on Wed Jun 29, 2005 1:35 am; edited 1 time in total |
|
Back to top |
|
|
karnesky Apprentice
Joined: 18 Mar 2004 Posts: 218
|
Posted: Tue Jun 28, 2005 11:57 pm Post subject: |
|
|
put into ~/.xinitrc _________________ Donate to F/OSS |
|
Back to top |
|
|
Efo Guru
Joined: 23 Jun 2005 Posts: 498
|
Posted: Wed Jun 29, 2005 1:34 am Post subject: |
|
|
kamesky,
Thank you for your help.
I wanted to avoid doing that , and fortunately I found the problem.
The file startx wasnt loading /etc/X11/xinit/xinitrc and it was loading /home/user/.xinitrc instead. Now I have the startx file loading /etc/X11/xinit/xinitrc in which it was already specified to load /home/user/.xinitrc.
In /etc/X11/xinit/xinitrc I have :
....
sysmodmap=$xinitdir/.Xmodmap
...
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
...
and finally everything work!
Thanks!
Efo |
|
Back to top |
|
|
|