![]() |
~/.xinitrc not called
Ok, I'm flooding this forum with questions but please bear with me. I'm trying to add the xmodmap command so I can use the mouse wheel. I've created a ~/.xinitrc file where I've added the command. But it doesn't seem to get called (by the way, I go straight to runlevel 4, does this bypass the aforementioned file?) In which file should I add the xmodmap command (for a user only)?
|
What I do is that I add the a file called Xmodmap to the folder /etc/X11/xinit/
Then you don't have to do it for all the different users. |
Yeeah baby. Finally, greek fonts and the mouse work perfectly. I even get back-forward navigation with the side mouse buttons.
In the end I added a ~/.Xmodmap. The key was to find out from where this is called, which was /etc/X11/xinit/xinitrc In there the command was already called so my ~/.Xmodmap contents are: pointer = 3 2 1.... you get the picture. Anyway, thanks for the help guys. All of you. Now I'll take a big brake, watch liverpool-chelsea and then try to take on dvd playback. A great big thanks once again ;) |
Re: ~/.xinitrc not called
To configure your wheel, you need to add a ZAxisMapping option in the InputDevice section for your mouse in the /etc/X11/xorg.conf file. Your InputDevice section should look like this (/dev/mouse is a symlink which points to the proper mouse device ; it points to /dev/input/mice for my USB mouse) :
Code:
Section "InputDevice"LiNuCe |
| All times are GMT -5. The time now is 06:12 PM. |