LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Thread Tools
Old 05-04-2005, 01:26 AM   #16
touser
LQ Newbie
 
Registered: Apr 2005
Posts: 24
Thanked: 0

[Log in to get rid of this advertisement]
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?
touser is offline     Reply With Quote
Old 05-04-2005, 09:50 AM   #17
CletusJones
Member
 
Registered: Oct 2003
Location: Chicago
Distribution: Slack 10, Debian
Posts: 47
Thanked: 0
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 09:51 AM..
CletusJones is offline     Reply With Quote
Old 08-15-2005, 01:48 AM   #18
babyboss
Member
 
Registered: Sep 2004
Posts: 124
Thanked: 0
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.
babyboss is offline     Reply With Quote
Old 08-15-2005, 02:54 AM   #19
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,138
Thanked: 0
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.
gbonvehi is offline     Reply With Quote
Old 08-15-2005, 03:10 AM   #20
babyboss
Member
 
Registered: Sep 2004
Posts: 124
Thanked: 0
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"
babyboss is offline     Reply With Quote
Old 08-15-2005, 03:14 AM   #21
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,138
Thanked: 0
Try this one, with a space before and after "=": xmodmap -e "pointer = 1 2 3 6 7 4 5"
gbonvehi is offline     Reply With Quote
Old 08-15-2005, 03:29 AM   #22
babyboss
Member
 
Registered: Sep 2004
Posts: 124
Thanked: 0
Thank you very much it works~~
Do you have any idea to get my backward and forward buttons to work?
babyboss is offline     Reply With Quote
Old 08-15-2005, 03:51 AM   #23
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,138
Thanked: 0
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.
gbonvehi is offline     Reply With Quote
Old 08-15-2005, 08:20 AM   #24
imitheos
Member
 
Registered: May 2005
Location: Greece
Posts: 277
Thanked: 1
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.
imitheos is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


All times are GMT -5. The time now is 09:17 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration