LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 05-04-2007, 12:49 PM   #1
neoAKiRAz
Member
 
Registered: Jan 2006
Location: Uruguay
Distribution: Kubuntu
Posts: 48

Rep: Reputation: 15
Question Bind Mouse Button Combination to Keyboard Key Combination?


Ok, what I'm looking for is pretty strange, but I'm getting used to thinking that everything is possible in Linux, so why not asking
I wanted to know how could I bind a mouse combination (button press + scroll wheel up/down) to a keyboard key combination (Ctrl + PageUp/PageDown)... I want to be able to change tabs in Firefox by holding a click in the wheel and scrolling it up/down. I couldn't find a Firefox extension which could handle mouse button mappings for shortcuts, so I intend to do this from my Kubuntu itself.
Currently all of my mouse buttons are working: the wheel click is Button2, and the wheel scrolling are Button4 and Button5. The mouse configuration in my xorg.conf is the following:

Code:
Section "InputDevice"

#	Driver        "mouse"
#	Option        "Protocol"        "evdev"
	Identifier  "Configured Mouse"
	Driver      "evdev"
	Option	    "Dev Name" "Logitech USB-PS/2 Optical Mouse"
	Option	    "Dev Phys" "usb-0000:00:10.0-1/input0"
	Option	    "CorePointer"
	Option	    "Device" "/dev/input/event2"
	Option	    "Buttons" "8"
	Option	    "ZAxisMapping" "4 5"
EndSection
Any idea how to do this?? Any other idea? Thanks a lot!
 
  


Reply



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
Complex key press combination simulation kiruxa Linux - Software 1 11-23-2006 06:18 PM
Disable "Shift+left mouse button" combination (XFree86). cibonato Linux - General 2 08-17-2006 05:22 PM
Mysterious key combination keeps restarting X rose_bud4201 Linux - Software 13 03-04-2006 11:31 AM
Create Key Combination/Binding kegwell Linux - General 2 02-16-2006 08:03 PM
Lock session per key combination on SUSE 9.3 dekers SUSE / openSUSE 2 01-24-2006 02:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 02:32 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration