LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-03-2005, 01:19 PM   #1
dvm
Member
 
Registered: Sep 2004
Posts: 62

Rep: Reputation: 16
~/.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)?
 
Old 05-03-2005, 01:22 PM   #2
kimx
Member
 
Registered: Dec 2004
Location: Denmark
Distribution: Yoper 2.2, Source Mage, Ubuntu 5.04, Slackware 10.1
Posts: 70

Rep: Reputation: 16
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.

Last edited by kimx; 05-03-2005 at 01:57 PM.
 
1 members found this post helpful.
Old 05-03-2005, 02:11 PM   #3
dvm
Member
 
Registered: Sep 2004
Posts: 62

Original Poster
Rep: Reputation: 16
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
 
1 members found this post helpful.
Old 05-04-2005, 02:49 AM   #4
LiNuCe
Member
 
Registered: Apr 2004
Location: France
Distribution: Slackware Linux 10.2
Posts: 119

Rep: Reputation: 15
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"
   Identifier "Mouse1"
   Driver   "mouse"
   Option   "Protocol"     "IMPS/2"
   Option   "Device"       "/dev/mouse"
   Option   "ZAxisMapping" "4 5"
EndSection
--
LiNuCe
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing the (what is it called?) freakin'me Linux - General 8 10-06-2005 04:00 AM
What are these called and where to get?? TippyToes Linux - Software 2 01-20-2005 03:38 PM
Anyone know what this theme is called? push Linux - General 2 09-11-2004 01:33 AM
Called name not present? Pyroknight Linux - Networking 3 06-16-2003 04:17 AM
what's this called? ph33r Linux - General 1 04-19-2002 11:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration