LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-31-2006, 01:50 PM   #1
alex1986
Member
 
Registered: Nov 2005
Location: Ottawa, Canada
Distribution: none yet
Posts: 96

Rep: Reputation: 19
change the function of the mouse wheel button


here is what my xorg.conf currently looks like.

# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "Resolution" "180"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"

EndSection


I have the wheel rolling working just fine and dandy, but when i push the wheel down (as in the click) it likes to just paste whatever is ready to be pasted. it's like i have a CTRL + V on my mouse. handy but i'd rather get it to do the variable speed scroll. ya know, where you click and move the mouse away from where you clicked it and scroll through a page at different speeds.

has anyone accomplished this? it's obviously possible, these are the things that linux was made for.
 
Old 07-31-2006, 02:07 PM   #2
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
Um, middle click is supposed to paste in linux. try it in a terminal highlight something then middle click and it should paste whatever you highlighted. I'm not sure what you mean by 'variable speed scroll' but when I'm in firefox if I middle click on the website background it does what you are descibing.

Last edited by johnson_steve; 07-31-2006 at 02:13 PM.
 
Old 07-31-2006, 02:12 PM   #3
alex1986
Member
 
Registered: Nov 2005
Location: Ottawa, Canada
Distribution: none yet
Posts: 96

Original Poster
Rep: Reputation: 19
i do see it's advantages but i don't do alot of work in the console so it makes it, too me, a sumwhat useless button.

By variable speed scrool i mean:
you click the wheel as if you would the regular button, then move the mouse down a bit. then web page will start to scrool downwards slowly. move the mouse furthur downwards and the page starts to scroll faster.

does that make more sense?
 
Old 07-31-2006, 03:44 PM   #4
Daga
Member
 
Registered: Apr 2006
Location: A comfy chair...
Distribution: Slackware
Posts: 111

Rep: Reputation: 15
Quote:
Originally Posted by alex1986
By variable speed scrool i mean:
you click the wheel as if you would the regular button, then move the mouse down a bit. then web page will start to scrool downwards slowly. move the mouse furthur downwards and the page starts to scroll faster.
Like the default behaviour of the middle-click button in Windows? Blech.

Even for non-console work it is great. Highlight some text in one window and middle-click in another to paste what you highlighted (no click, drag, ctrl+c, click, click, ctrl+v. With linux it's click, drag, click).

EDIT: OK, I'll be nice and tell you how to do what you want
These instructions are for Firefox 1.5+ as that is what I have open. Go to Edit->Preferences. Click on the Advanced tab and then General. Enable Auto-scrolling.

Last edited by Daga; 07-31-2006 at 03:48 PM.
 
Old 07-31-2006, 06:09 PM   #5
alex1986
Member
 
Registered: Nov 2005
Location: Ottawa, Canada
Distribution: none yet
Posts: 96

Original Poster
Rep: Reputation: 19
hahaha thanks Daga. this will help me read those long essay pages alot more conveniently. like you said it's only for Firefox right? If I were to still click drag click in Konqueror or anything else but firefox, it should stay as the linux default right?
 
Old 07-31-2006, 06:40 PM   #6
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 31
could this package be what you are looking for?

I used it to assign functions to the extra buttons that my dear trackball has. It's quite easy to configure. Just read the man page.
 
Old 07-31-2006, 08:50 PM   #7
easyben
LQ Newbie
 
Registered: Aug 2003
Location: ky
Posts: 2

Rep: Reputation: 0
check out Opera browser. It will do that.
 
Old 07-31-2006, 10:10 PM   #8
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
Quote:
Originally Posted by Daga
These instructions are for Firefox 1.5+ as that is what I have open. Go to Edit->Preferences. Click on the Advanced tab and then General. Enable Auto-scrolling.
I didn't even know you needed this on. I don't remember turing it on. If you middle-click in a text input box it still pastes.
 
Old 07-31-2006, 10:34 PM   #9
Daga
Member
 
Registered: Apr 2006
Location: A comfy chair...
Distribution: Slackware
Posts: 111

Rep: Reputation: 15
Quote:
Originally Posted by alex1986
hahaha thanks Daga. this will help me read those long essay pages alot more conveniently. like you said it's only for Firefox right? If I were to still click drag click in Konqueror or anything else but firefox, it should stay as the linux default right?
Yep, it only affects Firefox to my knowledge. I haven't played with the settings of Konqueror very much (prefer Gnome )
 
  


Reply

Tags
helped



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
Anybody know a serious 3-button wheel mouse? schnexel Linux - Hardware 2 06-19-2006 09:06 AM
Mapping the mouse wheel button jfranks214 *BSD 1 12-19-2004 08:50 PM
config middle mouse button has wheel function colorLinux Linux - Hardware 1 07-21-2004 01:42 PM
mouse wheel like right button??? Relja Linux - General 0 02-24-2003 03:38 PM
4 button, mouse wheel USB mouse DigiCrime Linux - Hardware 1 12-11-2002 04:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:17 PM.

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