LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-04-2003, 03:50 PM   #1
Toker
Member
 
Registered: Sep 2003
Distribution: Mandrake9.1
Posts: 92

Rep: Reputation: 15
Intellimouse side buttons (yet again?)


To start, yes, I have done my searches and homework and I seem to be running into some problems....

I'm running kde3.1.0, XFree4.3 and Mandrake9.1

I edited my XF86Config-4 file to include 7 buttons and z-axis mapping to 6 & 7. Everything's fine so far. I ran xmodmap and the scroll switched, yippie!

Problem #1: I created a text file called Autostart and placed it in the directory named Autostart. That text file only had the line 'xmodmap -e "pointer = 1 2 3 6 7 4 5".' Everytime I restart kde, I need to rerun xmodmap. I've tried making the file 'Autostart' and 'autostart' and I've tried to run with just a text file in the ~/.kde/ directory. Nothing seems to work. When I delete all Autostarts (directory and file) and restart, kde automatically creates the Autostart directory.

Problem #2: As I said, xmodmap runs fine and I have scroll functions, but when I run 'xev' there is no responce from the side buttons. Is there any other way to see what's going on here?

...and.... Where are my side buttons? I suppose the only real reason I need them is for games, but I'm having problems with my quake3, so I can't test them there... suggestions?

Thanks!
 
Old 10-04-2003, 04:36 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965Reputation: 1965
1 - put the command in /home/you/.xsession

2 - you need to use a suitable mouse driver, e.g IMPS/2 or ExplorerPS/2 in your XF86Config file.
 
Old 10-04-2003, 04:50 PM   #3
Toker
Member
 
Registered: Sep 2003
Distribution: Mandrake9.1
Posts: 92

Original Poster
Rep: Reputation: 15
My XF86Config-4 mouse section:

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
EndSection

Also, that .xsession -> just a text file for that, like the Autostart? [edit] Must not be, that didn't work.[/edit]

Last edited by Toker; 10-04-2003 at 05:48 PM.
 
Old 10-05-2003, 12:43 AM   #4
Toker
Member
 
Registered: Sep 2003
Distribution: Mandrake9.1
Posts: 92

Original Poster
Rep: Reputation: 15
Might this be a better topic for hardware? Anyone have a guess?
 
Old 10-05-2003, 12:56 AM   #5
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 47
silly question maybe but when you placed the script in Autostart, did you make it executable?
chmod +x name-of-script
I don't think it matters but the file should look like
#!/bin/bash
xmodmap -e "pointer = 1 2 3 6 7 4 5"
 
Old 10-05-2003, 01:18 AM   #6
Toker
Member
 
Registered: Sep 2003
Distribution: Mandrake9.1
Posts: 92

Original Poster
Rep: Reputation: 15
No sir... no I did not.... Ah yes, a newbe mistake!

Everything I've read states that all I need in the xmodmap line, and I did have that working on a previous install (reinstalled nix afew times,) but this brings up a question:

What does the '#!/bin/bash' line do? I've seen that referenced afew times.
 
Old 10-05-2003, 01:31 AM   #7
Toker
Member
 
Registered: Sep 2003
Distribution: Mandrake9.1
Posts: 92

Original Poster
Rep: Reputation: 15
Yes quatsch, not only did I need to change it to executable, but I needed the #!/bin/bash line. Really makes me wonder what it does now....

Now I still have the problem that the side buttons are not recognized in 'xev.' Since I cant just fire up quake and change a command to button 6 (quake crashes, if anyone is familiar with q3a, let me know, maybe you can help there too,) to test if they are actually there, what can I do here?
 
Old 10-05-2003, 01:55 AM   #8
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 47
can't help you with the side button.

the #!/bin/bash tells the system to use /bin/bash to interpret the rest. Sometimes, you'll see #!/bin/sh which tells the system to use /bin/sh.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Microsfot Intellimouse - Side Buttons? bkeating Linux - Hardware 139 05-13-2007 06:27 PM
SuSE 9.1 and Intellimouse Optical side buttons STuPiDiCuS Linux - Hardware 1 09-23-2004 10:23 PM
side mouse buttons on intellimouse Slack10 Earth Slackware 7 07-18-2004 11:50 AM
Intellimouse AND Side Buttons, HOW TO- Alternate Caoster Linux - Hardware 0 07-18-2003 04:53 AM
side-buttons. intellimouse ! sapilas Linux - Distributions 2 05-24-2002 04:29 AM


All times are GMT -5. The time now is 10:03 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration