Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › [FAQ] Getting Mouse Side Buttons to work in Linux
New Posts  All Forums:Forum Nav:

[FAQ] Getting Mouse Side Buttons to work in Linux - Page 2

post #11 of 32
Glad I could help! How about some rep LOL (thats a joke btw)
post #12 of 32
2 Things with this post.

1.) One thing I ound out about through the #gnome channel , is the startup.sh file should probably be saved under /home/username/ and then you can run via terminal " gnome-session-properties " without the quotations to add the startup.sh file to the autostart list.



2.) I got the following error message when I added Option “Buttons” “7” and Option “ZAxisMapping” “4 5 6 7” to my xorg.conf, then restarted my X environment:

Parse error on Line 51
Section Input Device in file xorg.conf
Requires 1 or 2 Quoted strings to follow it.
"~@~\\7~@~]" is not a valid keyword

Know what might be going on here?
post #13 of 32
hobo the edit didn't exactly work, but I searched around and by adding the line
Quote:
Option “ButtonMapping†“1 2 3 6 7″
after the line
Quote:
Option “Buttons†“7″
in xorg.conf it works.
Now my buttons work great
Source: http://ubuntu-tutorials.com/2006/12/...untu-6061-610/
post #14 of 32
Sticky......

Works for my Rosewill 5 Button

Phobos
(19 items)
 
  
CPUMotherboardGraphicsGraphics
Athlon 64 X2 4400 Toledo  Foxconn NF4SK8AA SLi MSI NX8600GT-T2D256E OC MSI NX8600GT-T2D256E OC 
RAMHard DriveHard DriveHard Drive
2x1 GB Mushkin CL2 WD 250 GB SATA 300 WD 500 GB SATA 300 Seagate 500 GB SATA 300 
Optical DriveCoolingOSOS
LiteOn iHAS124W HL04 Dual Layer SATA DVD/CD RW Rosewill RCX Z-1 Xubuntu 12.04-1 Precise 32 Bit Windows 7 Home premium 32 Bit 
MonitorKeyboardPowerCase
LG L1932TQ 4ms Flatron 19" LCD Saitek Eclipse Thermaltake TR2 600 Rosewill R604TBLK-N Black 
MouseMouse PadAudio
Rosewill 5 button Walmart Creative Labs X-Fi Xreme Gamer 
  hide details  
Reply
Phobos
(19 items)
 
  
CPUMotherboardGraphicsGraphics
Athlon 64 X2 4400 Toledo  Foxconn NF4SK8AA SLi MSI NX8600GT-T2D256E OC MSI NX8600GT-T2D256E OC 
RAMHard DriveHard DriveHard Drive
2x1 GB Mushkin CL2 WD 250 GB SATA 300 WD 500 GB SATA 300 Seagate 500 GB SATA 300 
Optical DriveCoolingOSOS
LiteOn iHAS124W HL04 Dual Layer SATA DVD/CD RW Rosewill RCX Z-1 Xubuntu 12.04-1 Precise 32 Bit Windows 7 Home premium 32 Bit 
MonitorKeyboardPowerCase
LG L1932TQ 4ms Flatron 19" LCD Saitek Eclipse Thermaltake TR2 600 Rosewill R604TBLK-N Black 
MouseMouse PadAudio
Rosewill 5 button Walmart Creative Labs X-Fi Xreme Gamer 
  hide details  
Reply
post #15 of 32
Quote:
Originally Posted by The Hundred Gunner View Post
Argh, other combos end up in either my other mouse buttons not having any function or my scroll wheel doing the forward/backwarding. If it helps, i have an MX518. It's got 2 clicks, 1 wheel button, 1 up wheel, 1 down wheel (same wheel, just its 3 functions), 1 sensitivity up button, 1 sensitivity down button and 1 "window switcher" button. So should i put it as a 10 button mouse or 8 button mouse or keep it as a 7 button? I mean could it be reading the buttons wrong since i don't have exactly 7 buttons like i'm specifying?
This is a little old but I remember it working for someone's 518...

http://ubuntuforums.org/showthread.p...ighlight=mx518
Phobos
(19 items)
 
  
CPUMotherboardGraphicsGraphics
Athlon 64 X2 4400 Toledo  Foxconn NF4SK8AA SLi MSI NX8600GT-T2D256E OC MSI NX8600GT-T2D256E OC 
RAMHard DriveHard DriveHard Drive
2x1 GB Mushkin CL2 WD 250 GB SATA 300 WD 500 GB SATA 300 Seagate 500 GB SATA 300 
Optical DriveCoolingOSOS
LiteOn iHAS124W HL04 Dual Layer SATA DVD/CD RW Rosewill RCX Z-1 Xubuntu 12.04-1 Precise 32 Bit Windows 7 Home premium 32 Bit 
MonitorKeyboardPowerCase
LG L1932TQ 4ms Flatron 19" LCD Saitek Eclipse Thermaltake TR2 600 Rosewill R604TBLK-N Black 
MouseMouse PadAudio
Rosewill 5 button Walmart Creative Labs X-Fi Xreme Gamer 
  hide details  
Reply
Phobos
(19 items)
 
  
CPUMotherboardGraphicsGraphics
Athlon 64 X2 4400 Toledo  Foxconn NF4SK8AA SLi MSI NX8600GT-T2D256E OC MSI NX8600GT-T2D256E OC 
RAMHard DriveHard DriveHard Drive
2x1 GB Mushkin CL2 WD 250 GB SATA 300 WD 500 GB SATA 300 Seagate 500 GB SATA 300 
Optical DriveCoolingOSOS
LiteOn iHAS124W HL04 Dual Layer SATA DVD/CD RW Rosewill RCX Z-1 Xubuntu 12.04-1 Precise 32 Bit Windows 7 Home premium 32 Bit 
MonitorKeyboardPowerCase
LG L1932TQ 4ms Flatron 19" LCD Saitek Eclipse Thermaltake TR2 600 Rosewill R604TBLK-N Black 
MouseMouse PadAudio
Rosewill 5 button Walmart Creative Labs X-Fi Xreme Gamer 
  hide details  
Reply
post #16 of 32
is there no GUI program to do this? this is a little much for me ATM...
post #17 of 32
you can open xorg.conf in a text editor with root permissions and do it if you really need to.

open terminal, type
Code:
sudo TEXTEDITORGOESHERE /etc/X11/xorg.conf
enter password for root, BACK UP YOUR XORG.CONF NOW, modify it, save and restart.
Text editor for XFCE is mousepad, for gnome gedit
post #18 of 32
i'm using Ubuntu, so i have the Gnome interface, and it doesn't have that xinitrc file in the places mentioned in the FAQ, that's what's confusing me
post #19 of 32
if your browsing it in a file manager it won't show up, just do
Code:
sudo TEXTEDITORGOESHERE /home/USER/.xinitrc
for gnome the default text editor is gedit, once you have it open if its blank paste whatever the tutorial is asking you into it and save.
post #20 of 32
ok i did everything and it's not working. here's my xorg.conf:

Quote:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
EndSection

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "CorePointer"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mice"
# Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5 6 7"
Option "Buttons" "7"
EndSection

Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "HSD HN199D"
HorizSync 31.0 - 81.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7800 GT"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "metamodes" "1280x1024 +0+0; 1024x768 +0+0; 800x600 +0+0; 640x480 +0+0"
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › [FAQ] Getting Mouse Side Buttons to work in Linux