You are not logged in.

#1 2009-03-17 18:59:57

hubutz
Member
Registered: 2009-01-30
Posts: 26

Opera and the mouse buttons...

Hey all,

I'm using a logitech mouse (MX518) which has 2 buttons for the thumb (one for foward and one for backward), those buttons work just fine in firefox for example but... to be honest I do not see how to get them working in Opera. Would be so cute to have that... At the moment I'm using FF just because I can't get that solved and need it that much.

Anyone got that fixed and can tell me how to get this far too? But be careful: I'm kinda noob yikes

Cheers and thanks,
hub

Offline

#2 2009-03-17 23:19:43

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Opera and the mouse buttons...

Opera has mouse gestures built-in.

Hold left button, click right button to go forward, the other way around to go back. In Firefox, you'd need an extension to emulate this behaviour (with a regular five-button mouse at least).


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2009-03-17 23:22:44

Skripka
Member
From: 2X1280X1024
Registered: 2009-02-19
Posts: 555

Re: Opera and the mouse buttons...

You can either use mouse gestures--or configure xbindkeys (do a search for it) to send your desired keyboard events.


I hate mouse gestures.  I have extra mouse buttons. dammit I'm going to use them cool

Offline

#4 2009-03-17 23:45:24

SnapShot
Member
Registered: 2008-08-26
Posts: 43

Re: Opera and the mouse buttons...

You don't need xbindkeys for Opera. It handles all mouse buttons fine. Go to Preferences->Advanced->Shortcuts->Mouse setup->Edit... and then search for Back and Forward and you can configure which mouse button to use. I have Logitech MX600 mouse with 10 buttons and Back/Forward buttons are Button8/Button9 respectively.

Offline

#5 2009-03-18 07:07:28

hubutz
Member
Registered: 2009-01-30
Posts: 26

Re: Opera and the mouse buttons...

SnapShot wrote:

You don't need xbindkeys for Opera. It handles all mouse buttons fine. Go to Preferences->Advanced->Shortcuts->Mouse setup->Edit... and then search for Back and Forward and you can configure which mouse button to use. I have Logitech MX600 mouse with 10 buttons and Back/Forward buttons are Button8/Button9 respectively.

Wow, going to try that out! Thanks! (Won't have a chance before tomorrow evening...)

Offline

#6 2009-03-18 09:34:19

Solid1986Snake
Member
Registered: 2007-06-18
Posts: 258

Re: Opera and the mouse buttons...

But, xbindkeys is a very nice solution that is wokring systemwide...

i show you my .xbindkeysrc ... maybe you find it useful:

"xte 'keydown Alt_L' 'key Left' 'keyup Alt_L'"
   b:8 # Maustaste 8

"xte 'keydown Alt_L' 'key Right' 'keyup Alt_L'"
   b:9 # Maustaste 9

"xte 'keydown Control_L' 'key F12' 'keyup Control_L'"
   b:10 # Maustaste 10

"xte 'keydown Alt_L' 'key Tab' 'keyup Alt_L"
   b:11

"xte 'keydown Control_L' 'key F10' 'keyup Control_L'"
   b:12

Offline

#7 2009-03-18 09:40:09

hubutz
Member
Registered: 2009-01-30
Posts: 26

Re: Opera and the mouse buttons...

Hey Solid1986Snake,

I'm sorry... but I'm kinda noob. Can you tell me which of those 5 statements does what? Only a keyword should be enough. I can imagine what the first two do (foward, backward) but ot be honest I don't have a clue what the rest does.

Thanks and cheers,
Ben

Offline

#8 2009-03-18 09:56:48

Solid1986Snake
Member
Registered: 2007-06-18
Posts: 258

Re: Opera and the mouse buttons...

no problem...

first of all... the xte command you see is part from xaoutomation package available in aur. it "emulates" button presses by mouse buttons.

Further on, you are right! The first ones are for forware and backward moving in !all! x-apps I think.... for me its working fine in opera, dolphin, konqueor, firefox.......

The other ones a kde 4 specific. The program switch button will show up plasma dashboard, the scroll up button initiates an present windows and the scroll down button will switch to next window.

But, you can easily bind your own commands to it...
Just look for a shortcut to the action you want to realise and than add it to the button you want to!

The syntax is really like the workflow... for expample you want to map Control+F12...
you first need to hold down your COntrol key --> 'keydown Ctrl_L' than you press F12 --> 'key F12' afterwards you free ctrl key again --> 'keyup Control_L'

I hope i could help you a little bit...

Otherwise theres about getting mouse buttons to work, but I think the solution with xaoutomation is much more easier!

Offline

#9 2009-03-18 17:51:57

der_joachim
Member
From: the Netherlands
Registered: 2008-12-17
Posts: 143
Website

Re: Opera and the mouse buttons...

I have a MX400 (IIRC) and it has a tilt wheel. They work OOTB as forward/back buttons. AFAIK, the thumb buttons do nothing.


Geek, runner, motorcyclist and professional know-it-all

Offline

#10 2009-03-19 12:23:34

hubutz
Member
Registered: 2009-01-30
Posts: 26

Re: Opera and the mouse buttons...

to change the mousebuttons in opera just worked fine (opera had mouse6&7 instead of 8&9 mapped), but I'm going ahead and try the xautomation stuff out if i have a little more time (prob. on saturday evening).

cheers

Offline

Board footer

Powered by FluxBB