LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 10-13-2008, 10:46 PM   #1
newbiesforever
Senior Member
 
Registered: Apr 2006
Distribution: not disclosing my distro
Posts: 2,303

Rep: Reputation: Disabled
why does pressing my mouse wheel enter a URL?


For the first time, I am using a scroll-wheel mouse. (Pursuant to http://www.linuxquestions.org/questi...e-good-673234/ , I decided not to bother going wireless.) It works great, but why does pressing the wheel (which I have sometimes done by accident) cause a new URL to be entered when I'm in a browser? (That's what usually happens. Pressing it in a typing area, on the browswer or elsewhere, seems to paste in whatever was on the clipboard.) It's just a curiosity. I've never seen a wheeled mouse do this, but then I'm used them infrequently. There's nothing unusual about the mouse--it's a GE model 97859, ball and two buttons.
 
Old 10-13-2008, 10:55 PM   #2
jb_get
Member
 
Registered: Sep 2008
Location: America
Distribution: Debian
Posts: 33

Rep: Reputation: 16
Its nothing odd, just a setting set on that particular click action. You should be able to edit that in the mouse control settings.

Last edited by XavierP; 09-16-2010 at 03:40 AM.
 
Old 10-14-2008, 12:10 AM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 9,554
Blog Entries: 4

Rep: Reputation: 3437Reputation: 3437Reputation: 3437Reputation: 3437Reputation: 3437Reputation: 3437Reputation: 3437Reputation: 3437Reputation: 3437Reputation: 3437Reputation: 3437
Annoying, isn't it...?
 
Old 10-14-2008, 01:54 PM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Testing"
Posts: 6,123

Rep: Reputation: 418Reputation: 418Reputation: 418Reputation: 418Reputation: 418
Middle-click (or both buttons at once if you have a 2-button mouse) = "Paste clipboard"

This is usual, at least in KDE.

Highlight copies, middle-click pastes wherever you click, and I love it!
Sooooo much more efficient and intuitive than window's "highlight, <CTRL>-c, Click somewhere else, <CTRL>-v"

It drives me mad when I am at work (with windows) and it doesn't work "the linux way"

Most browsers will go directly to a link that is pasted on to them. If you use firefox, this behaviour is configurable: Go to about:config and search for middle
 
Old 10-14-2008, 02:58 PM   #5
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2027Reputation: 2027Reputation: 2027Reputation: 2027Reputation: 2027Reputation: 2027Reputation: 2027Reputation: 2027Reputation: 2027Reputation: 2027Reputation: 2027
Quote:
Originally Posted by tredegar View Post
Middle-click (or both buttons at once if you have a 2-button mouse) = "Paste clipboard"
Correction, what's being copied and pasted is not the "clipboard", it's the selection buffer, which holds whatever has been most recently highlighted by the mouse/cursor. This is separate from the clipboard, which works pretty much like its Windows analog.

So in essence Linux has two "clipboards", which generally function independently from each other. There are some programs however, such as kde's klipper, that allow the selection buffer and the clipboard to be synced, so that whatever you highlight gets saved into the clipboard as well.

Last edited by David the H.; 10-14-2008 at 03:04 PM.
 
Old 10-14-2008, 03:22 PM   #6
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292
To stop this (this has pissed me off for a while so I memorized how to turn it off), first go to 'about:config' in firefox, and look up middle as tredegar says. Then you'll see 'middlemouse.contentLoadURL', double-click that to set it to 'false', restart firefox if necessary.
 
Old 10-14-2008, 05:14 PM   #7
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.2 & current
Posts: 8,003
Blog Entries: 60

Rep: Reputation: Disabled
Quote:
Originally Posted by tredegar View Post
Middle-click (or both buttons at once if you have a 2-button mouse) = "Paste clipboard"

This is usual, at least in KDE.

Highlight copies, middle-click pastes wherever you click, and I love it!
Sooooo much more efficient and intuitive than window's "highlight, <CTRL>-c, Click somewhere else, <CTRL>-v"

It drives me mad when I am at work (with windows) and it doesn't work "the linux way"

Most browsers will go directly to a link that is pasted on to them. If you use firefox, this behaviour is configurable: Go to about:config and search for middle
Install this for the same behaviour on Windows:
http://fy.chalmers.se/~appro/nt/TXMouse/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
input of a character from console without pressing enter Bonny Programming 8 10-28-2008 05:50 PM
How to simulate a ENTER key pressing khaos83 Linux - Newbie 2 08-06-2008 05:41 AM
Leave vi mode without pressing enter ? Vilius Linux - General 4 11-13-2007 05:12 AM
Mandrake 10 doesnt install after pressing enter subliminal Mandriva 9 06-17-2004 04:04 PM
I did the following program and get blank line after pressing <ENTER> purpleburple Programming 5 08-21-2002 01:00 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 06:12 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