Gå til innhold

MX518 problemer i ubuntu


Anbefalte innlegg

Videoannonse
Annonse
Activate side-mouse-buttons in FireFox

 

Just add two lines to xorg.conf will activate side-mouse-buttons in FireFox. This should work with most 5-button mouse. Here is a list of mice that worked with this instruction.

 

    * Logitech MX310

    * Logitech MX510

    * Logitech MX518

    * Logitech MX700

    * Logitech MX Revolution

    * Intellimouse Explorer (first edition)

    * Razer Copperhead

 

 

Backup X.org configuration file

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak

 

Modify the X.org configuration file

 

gksudo gedit /etc/X11/xorg.conf

 

Find the Input Device section for your mouse and add two lines as shown below. You may also increase the number of buttons if your mouse has more than 7, just fix the rest of the section based upon the number of buttons (remember back/forward, wheel click & tilt left/right all count as buttons)

 

Change:

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
...
Option "Protocol" "ExplorerPS/2"
...
Option "Emulate3Buttons"       "true"
EndSection

to:

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

If you want the wheel scroll button to scroll in firefox rather than the side buttons make "ZAxisMapping" "6 7" and "ButtonMapping" "1 2 3 4 5".

 

At this point you can reboot your computer or restart X (Ctrl-Alt-BackSpace) to see if your forward/back buttons work in FireFox. They still won't work in Nautilus yet until you install the imwheel dameon.

Endret av ZeS
Lenke til kommentar

Install & Configure IMWheel

 

* Install IMWheel

 

sudo apt-get install imwheel

 

* Modify IMWheel configuration file

 

gksudo gedit /etc/X11/imwheel/imwheelrc

 

* Insert the following at the bottom of this existing file

".*"
None, Up, Alt_L|Left
None, Down, Alt_L|Right 

"(null)"
None, Up, Alt_L|Left
None, Down, Alt_L|Right

 

* Create IMWheel start-up script

sudo mkdir /home/login
gksudo gedit /home/login/mouse

 

* Insert the following into this new file

#!/bin/sh
exec xmodmap -e "pointer = 1 2 3 6 7 4 5" &
exec imwheel -k -b "67" &
exec $REALSTARTUP

* Grant execution for everyone to this new script

sudo chmod +x /home/login/mouse

* Configure this script to be executed at start-up

1. Select 'System' > 'Preferences' > 'Sessions'

2. Click the StartUp tab

3. Click Add, then input: /home/login/mouse

4. Click OK, then Close

 

* Reboot your computer or your Gnome environment and then test your back/forward mouse buttons in Nautilus

 

(Dont know why but the above worked flawlessly for me with Dapper but not with Feisty, to get it to work in Feisty had to enter a space between 6 and 7 on the line exec imwheel -k -b "67" & hope this helps)

Endret av ZeS
Lenke til kommentar

og du har fulgt guiden til punkt og prikke? spesielt det med

Dont know why but the above worked flawlessly for me with Dapper but not with Feisty, to get it to work in Feisty had to enter a space between 6 and 7 on the line exec imwheel -k -b "67" & hope this helps

?

burde igrunn funke. har gjort det samme her, og funka fett

edit: har forresten mx510 selv

Endret av ZeS
Lenke til kommentar

Mja.. na har jeg provd litt fram og tilbake..

men far det ikke helt til a virke.

 

scrollen virker fint, men framoverknappen scroller oppover og bakoverknappen og 3. knappen virker ikke i det hele tatt. Eller... den virker for a fa nye vinduer i Opera, men ikke hvis jeg vil ha autoscroll. (eller kanskej det ikke gar i linux uansett?)

 

 

editedit; ja, hvis den har noe i utklippstavlen sa gar den automatisk til den adressen hvis jeg trykker 3. knappen. (scrollknappen)

Endret av Ståle
Lenke til kommentar

Jeg har en Logitech G3 og hadde samme problemet.. brukte guiden og fikk den til å funke fint i Firefox, men jeg får det ikke til i Nautilus.

 

Jeg prøvde med den IMwheel guiden også, da fikk jeg samme problemet. Jeg sletta bare de filene jeg lagde til IMWheel så funka knappene fint igjen i Firefox, men ikke i det hele tatt i Nautilus. Scroll funker overalt.

 

Har enda ikke finni en guide som funker for min G3.

Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
  • Hvem er aktive   0 medlemmer

    • Ingen innloggede medlemmer aktive
×
×
  • Opprett ny...