Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems > Linux, Unix

Reply
 
LinkBack Thread Tools
Old 12-01-07   #1 (permalink)
Linux Lobbyist
 
endo's Avatar
 
amd nvidia

Join Date: Feb 2007
Location: Omaha, Nebraska
Posts: 2,762

Rep: 158 endo is acknowledged by manyendo is acknowledged by many
Unique Rep: 108
Trader Rating: 10
Default How To: Get Side Buttons to work in ubuntu

i couldn't get the [FAQ] Getting Mouse Side Buttons to work in Linux to make my side buttons to work in ubuntu so i thought i would make a write up for ubuntu.

this should work for 7.04 and 7.10

Quote:
Originally Posted by dangerousHobo View Post
You will have to make some edits to your xorg.conf file. So before you make ANY changes to xorg.conf make sure to make a backup of it in case you mess up or it doesn't work you can restore your original configuration.
To backup your current configuration
Code:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
To restore the backup file then:
Code:
sudo mv /etc/X11/xorg.conf.backup /etc/X11/corg.conf
So open up a terminal and type: sudo gedit /etc/X11/xorg.conf

Find the section that looks like this:

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
ok first start by changing Option "Protocol" "ImPS/2" OR Option "Protocol" "ExplorerPS/2" into Option "Protocol" "auto"


now delete the line Option "Emulate3Buttons" "true"


now add this line Option "Buttons" "7"


if you only have one scroll leave the Option "ZAxisMapping" "4 5" line alone


add this line too Option "ButtonMapping" "1 2 3 6 7 4 5 6"

your mouse entry should now look like this.

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
Option "ButtonMapping" "1 2 3 6 7 4 5 6"
EndSection

now save your xorg.conf file

now close all terminals and windows and and restart Xorg.
Code:
Ctrl+Alt+Backspace

System: Black Sunshine :)
CPU
AMD Athlon 64 FX-60 @ 2800MHz
Motherboard
ABIT AT8 32X Socket 939
Memory
Kingston HyperX 2GB (2 x 1GB)
Graphics Card
EVGA 8800 GTS 320MB
Hard Drive
150gb raptor. WD 1 tb black storage, 500gb
Sound Card
onboard
Power Supply
Antec TruePower Quattro 850W
Case
Thermaltake Armor Series black
CPU cooling
BIG TYPHOON CL-P0114 TT
GPU cooling
stock
OS
windows xp
Monitor
samsung SyncMaster 204B

Last edited by endo : 12-01-07 at 04:39 PM
endo is offline   Reply With Quote
Old 12-01-07   #2 (permalink)
Linux Lobbyist
 
endo's Avatar
 
amd nvidia

Join Date: Feb 2007
Location: Omaha, Nebraska
Posts: 2,762

Rep: 158 endo is acknowledged by manyendo is acknowledged by many
Unique Rep: 108
Trader Rating: 10
Default

ok this should work. can anyone confirm this.

System: Black Sunshine :)
CPU
AMD Athlon 64 FX-60 @ 2800MHz
Motherboard
ABIT AT8 32X Socket 939
Memory
Kingston HyperX 2GB (2 x 1GB)
Graphics Card
EVGA 8800 GTS 320MB
Hard Drive
150gb raptor. WD 1 tb black storage, 500gb
Sound Card
onboard
Power Supply
Antec TruePower Quattro 850W
Case
Thermaltake Armor Series black
CPU cooling
BIG TYPHOON CL-P0114 TT
GPU cooling
stock
OS
windows xp
Monitor
samsung SyncMaster 204B
endo is offline   Reply With Quote
Old 12-01-07   #3 (permalink)
4.0 GHz
 
daljeet2's Avatar
 
intel ati

Join Date: May 2007
Posts: 955

Rep: 44 daljeet2 is acknowledged by some
Unique Rep: 38
Trader Rating: 0
Default

that should work for any Linux distrobution that has x11 dude
i think its all good
i've seen guides for this all over google
__________________
Not really around much anymore.

www.daljeetdesigns.co.uk - Part time graphics & web designer.

System: d
CPU
Q6600 @ 3.60ghz
Motherboard
DFI X38 Dark DK
Memory
OCZ 2GB (2x1GB) - Platinum Revision 2 XTC Series
Graphics Card
8800GTS
Hard Drive
WD1600JS - WD800JS
Sound Card
Asus Xonar D2X
Power Supply
Corsair HX520
Case
A900
OS
Windows XP & Gentoo Linux
daljeet2 is offline   Reply With Quote
Old 12-01-07   #4 (permalink)
Linux Lobbyist
 
endo's Avatar
 
amd nvidia

Join Date: Feb 2007
Location: Omaha, Nebraska
Posts: 2,762

Rep: 158 endo is acknowledged by manyendo is acknowledged by many
Unique Rep: 108
Trader Rating: 10
Default

Quote:
Originally Posted by daljeet2 View Post
that should work for any Linux distrobution that has x11 dude
i think its all good
i've seen guides for this all over google
i tried hobos write up and got nothing. i also tried one that i found in an ubuntu book and that didnt work either. so i combined some that i found and got this to work finally.

System: Black Sunshine :)
CPU
AMD Athlon 64 FX-60 @ 2800MHz
Motherboard
ABIT AT8 32X Socket 939
Memory
Kingston HyperX 2GB (2 x 1GB)
Graphics Card
EVGA 8800 GTS 320MB
Hard Drive
150gb raptor. WD 1 tb black storage, 500gb
Sound Card
onboard
Power Supply
Antec TruePower Quattro 850W
Case
Thermaltake Armor Series black
CPU cooling
BIG TYPHOON CL-P0114 TT
GPU cooling
stock
OS
windows xp
Monitor
samsung SyncMaster 204B
endo is offline   Reply With Quote
Old 12-01-07   #5 (permalink)
Multi-Quote King
 
The Hundred Gunner's Avatar
 
amd nvidia

Join Date: Jul 2006
Posts: 9,225

Rep: 761 The Hundred Gunner is becoming famousThe Hundred Gunner is becoming famousThe Hundred Gunner is becoming famousThe Hundred Gunner is becoming famousThe Hundred Gunner is becoming famousThe Hundred Gunner is becoming famousThe Hundred Gunner is becoming famous
Unique Rep: 421
Trader Rating: 0
Default

I'd try it, but I don't have Ubuntu. I'll try it in Sabayon since the side buttons do weird things by default and I'll report back.
__________________
"I just talk the way I see things... If that's offensive to you... I'm sorry; you're a loser." - Michael Savage

"But you would be amazed by how many people think that the only reason to have a computer is to play games, and that playing games is all that anyone with a computer does." - dangerousHobo

System: The Shuttle Has Landed
CPU
Athlon 64 3800+ @2.785GHz
Motherboard
Shuttle
Memory
2GB OCZ
Graphics Card
7950GT
Hard Drive
320GB Seagate in Ext. Case
Sound Card
On-board
Power Supply
250W Shuttle "Elanpower"
Case
Shuttle Glamour xPC
CPU cooling
Shuttle "ICE2"
GPU cooling
Stock
OS
Censored to avoid flaming
Monitor
HP M70
The Hundred Gunner is offline Overclocked Account   Reply With Quote
Old 12-01-07   #6 (permalink)
Linux Lobbyist
 
endo's Avatar
 
amd nvidia

Join Date: Feb 2007
Location: Omaha, Nebraska
Posts: 2,762

Rep: 158 endo is acknowledged by manyendo is acknowledged by many
Unique Rep: 108
Trader Rating: 10
Default

cool sounds good. but no promise it will work.

System: Black Sunshine :)
CPU
AMD Athlon 64 FX-60 @ 2800MHz
Motherboard
ABIT AT8 32X Socket 939
Memory
Kingston HyperX 2GB (2 x 1GB)
Graphics Card
EVGA 8800 GTS 320MB
Hard Drive
150gb raptor. WD 1 tb black storage, 500gb
Sound Card
onboard
Power Supply
Antec TruePower Quattro 850W
Case
Thermaltake Armor Series black
CPU cooling
BIG TYPHOON CL-P0114 TT
GPU cooling
stock
OS
windows xp
Monitor
samsung SyncMaster 204B
endo is offline   Reply With Quote
Old 12-03-07   #7 (permalink)
New to Overclock.net
 
intel nvidia

Join Date: Feb 2006
Posts: 309

Rep: 3 marc1989 Unknown
Unique Rep: 3
Trader Rating: 0
Default

there is a simplier way were you can bind any of your mouse keys easily


http://ollisalonen.com/btnx/
__________________
marc

System: My System
CPU
Intel 2.8 Ghz Prescott
Motherboard
Abit AI7
Power Supply
480W
marc1989 is offline   Reply With Quote
Old 12-03-07   #8 (permalink)
Linux Lobbyist
 
endo's Avatar
 
amd nvidia

Join Date: Feb 2007
Location: Omaha, Nebraska
Posts: 2,762

Rep: 158 endo is acknowledged by manyendo is acknowledged by many
Unique Rep: 108
Trader Rating: 10
Default

Quote:
Originally Posted by marc1989 View Post
there is a simplier way were you can bind any of your mouse keys easily


http://ollisalonen.com/btnx/
interesting and kind of cool. i will check it out as soon as i get a chance to.

System: Black Sunshine :)
CPU
AMD Athlon 64 FX-60 @ 2800MHz
Motherboard
ABIT AT8 32X Socket 939
Memory
Kingston HyperX 2GB (2 x 1GB)
Graphics Card
EVGA 8800 GTS 320MB
Hard Drive
150gb raptor. WD 1 tb black storage, 500gb
Sound Card
onboard
Power Supply
Antec TruePower Quattro 850W
Case
Thermaltake Armor Series black
CPU cooling
BIG TYPHOON CL-P0114 TT
GPU cooling
stock
OS
windows xp
Monitor
samsung SyncMaster 204B
endo is offline   Reply With Quote
Old 12-03-07   #9 (permalink)
Multi-Quote King
 
The Hundred Gunner's Avatar
 
amd nvidia

Join Date: Jul 2006
Posts: 9,225

Rep: 761 The Hundred Gunner is becoming famousThe Hundred Gunner is becoming famousThe Hundred Gunner is becoming famousThe Hundred Gunner is becoming famousThe Hundred Gunner is becoming famousThe Hundred Gunner is becoming famousThe Hundred Gunner is becoming famous
Unique Rep: 421
Trader Rating: 0
Default

It broke my xorg.conf.
__________________
"I just talk the way I see things... If that's offensive to you... I'm sorry; you're a loser." - Michael Savage

"But you would be amazed by how many people think that the only reason to have a computer is to play games, and that playing games is all that anyone with a computer does." - dangerousHobo

System: The Shuttle Has Landed
CPU
Athlon 64 3800+ @2.785GHz
Motherboard
Shuttle
Memory
2GB OCZ
Graphics Card
7950GT
Hard Drive
320GB Seagate in Ext. Case
Sound Card
On-board
Power Supply
250W Shuttle "Elanpower"
Case
Shuttle Glamour xPC
CPU cooling
Shuttle "ICE2"
GPU cooling
Stock
OS
Censored to avoid flaming
Monitor
HP M70
The Hundred Gunner is offline Overclocked Account   Reply With Quote
Old 12-03-07   #10 (permalink)
Photography nut
 
dangerousHobo's Avatar
 
amd nvidia

Join Date: Dec 2005
Location: ~/
Posts: 3,485

Rep: 409 dangerousHobo is a proven memberdangerousHobo is a proven memberdangerousHobo is a proven memberdangerousHobo is a proven memberdangerousHobo is a proven member
Unique Rep: 215
FAQs Submitted: 7
Trader Rating: 0
Default

that will work for any distro as the configuation for Xorg is not dependent on the distro.
__________________
"UNIX was never designed to keep people from doing stupid things, because that policy would also keep them from doing clever things." - Doug Gwyn

Try out the latest Programming Challenge
Quote:
Originally Posted by Melcar
Only one reasonable way to solve this... a dance off.

CPU-Z Validation
@ 2.97-prime95 stable 16 hours @ 1.48v Proof | CPU-Z Validation @ 3.15


Getting Mouse Side Buttons to work in Linux, Compile a custom Kernel, More

System: Anomaly
CPU
Athlon 3700 SD(KACAE)0546 @3.02ghz
Motherboard
DFI UT nF4 Ultra-D
Memory
G.Skill 2x512 UTT(BH-5)
Graphics Card
evga 6800gs
Hard Drive
Maxtor 300GB + WD 250GB
Sound Card
onboard
Power Supply
Ultra 500w V-series
Case
one from Ultra
CPU cooling
Big Typhoon
GPU cooling
80mm fan mounted on
OS
Arch64 & Slackware 12.1
Monitor
Acer AL2216W 22" WS LCD
dangerousHobo is offline Overclocked Account dangerousHobo's Gallery   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -5. The time now is 10:31 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.16658 seconds with 8 queries