LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-04-2005, 12:26 AM   #16
touser
Member
 
Registered: Apr 2005
Posts: 31

Rep: Reputation: 15

I have been trying all that is listed here and everything works great after i type: xmodmap -e "pointer = 1 2 3 6 7 4 5" into a shell, however after i restart X it goes back to not working. Everyone says to edit the ~/.xinitrc file but i cant seem to find it. I do have a file named xinitrc in /etc/X11/xinit and i added the line pointer = 1 2 3 6 7 4 5 to it at the end but that did not work. I am running debian sarge, is there something i am missing?
 
Old 05-04-2005, 08:50 AM   #17
CletusJones
Member
 
Registered: Oct 2003
Location: Chicago
Distribution: debian, ubuntu
Posts: 48

Rep: Reputation: 15
Quote:
Originally posted by touser
I have been trying all that is listed here and everything works great after i type: xmodmap -e "pointer = 1 2 3 6 7 4 5" into a shell, however after i restart X it goes back to not working. Everyone says to edit the ~/.xinitrc file but i cant seem to find it. I do have a file named xinitrc in /etc/X11/xinit and i added the line pointer = 1 2 3 6 7 4 5 to it at the end but that did not work. I am running debian sarge, is there something i am missing?
IIRC, the ~/.xinitrc file you need to modify is user specific. From your home directory, (not as root) type in: "vi ~/.xinitrc". If I'm right, all you'll have to do is make your changes and reload X and that should take care of it.

It's been a while so I may not be remebering everything exactly right, but I think this might help. Good luck!

Last edited by CletusJones; 05-04-2005 at 08:51 AM.
 
Old 08-15-2005, 12:48 AM   #18
babyboss
Member
 
Registered: Sep 2004
Posts: 124

Rep: Reputation: 15
When I do xmodmap -e ¨pointer=1 2 3 6 7 4 5¨
I got the following errors
root@localhost:~# xmodmap -e ¨pointer=1 2 3 6 7 4 5¨
xmodmap: unknown command on line commandline:0
xmodmap: unable to open file '2' for reading
xmodmap: unable to open file '3' for reading
xmodmap: unable to open file '6' for reading
xmodmap: unable to open file '7' for reading
xmodmap: unable to open file '4' for reading
xmodmap: unable to open file '5¨' for reading
xmodmap: 7 errors encountered, aborting.
 
Old 08-15-2005, 01:54 AM   #19
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
It's not xmodmap -e ¨pointer=1 2 3 6 7 4 5¨ but xmodmap -e "pointer=1 2 3 6 7 4 5"
You can make the " character with SHIFT+2 on most keyboards.
 
Old 08-15-2005, 02:10 AM   #20
babyboss
Member
 
Registered: Sep 2004
Posts: 124

Rep: Reputation: 15
now my error is reduced to only xmodmap unknown command on line commandline: 0
after I enter xmodmap -e "pointer =1 2 3 6 7 4 5"
 
Old 08-15-2005, 02:14 AM   #21
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Try this one, with a space before and after "=": xmodmap -e "pointer = 1 2 3 6 7 4 5"
 
Old 08-15-2005, 02:29 AM   #22
babyboss
Member
 
Registered: Sep 2004
Posts: 124

Rep: Reputation: 15
Thank you very much it works~~
Do you have any idea to get my backward and forward buttons to work?
 
Old 08-15-2005, 02:51 AM   #23
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Do a search on this forum, it has been asked before, i think you need a program called imwheel to assign functions to those buttons.
 
Old 08-15-2005, 07:20 AM   #24
imitheos
Member
 
Registered: May 2005
Location: Greece
Posts: 441

Rep: Reputation: 141Reputation: 141
Using "ExplorerPS/2" is good, but there is a better solution and works with all mice and all buttons.
You can use the Event Interface Driver.

I include a sample config:

Section "InputDevice"
Identifier "Mouse[0]"
Driver "mouse"
Option "Protocol" "evdev"
Option "Dev Name" "Logitech MX700" # cat /proc/bus/input/devices
Option "Dev Phys" "isa0060/serio1/input0" # cat /proc/bus/input/devices
Option "Device" "/dev/input/mice"
Option "Buttons" "10"
Option "ZAxisMapping" "9 10"
Option "Resolution" "800"
EndSection

(10 buttons for MX700,12 for MX1000, etc)

Then the usual changes for xmodmap. e.g "1 2 3 9 10 4 5 6 7 8"
You can see if the buttons work by running "xev" in a xterm.

There is a very good article http://www.linux-gamers.net/modules/...p?articleid=46 that mentions many things
The old version of it was more thorough. I don't why some things are missing from the new one.

P.S the X Server shipped with slackware doesn't have EVDEV support so it will crash if you change the config.
Install the support first. visit the url i mention.
 
  


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
Logitech MX700 mouse probs, slack10.2 nadroj Linux - Newbie 3 11-24-2005 12:00 AM
Using a Logitech MX700 mouse with FC1 magicvash Fedora 4 05-06-2004 12:22 PM
Logitech mx700 mouse wireless buttons blixel Linux - Hardware 3 10-05-2003 02:39 PM
Logitech MX700 zoomer Linux - Hardware 7 09-01-2003 01:32 PM
Logitech MX700 DaFrEQ Linux - Hardware 5 02-03-2003 08:12 AM

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

All times are GMT -5. The time now is 01:17 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