all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: gebser@ameritech.net
Cc: help-gnu-emacs@gnu.org
Subject: Re: X: standard method for "switching off" left mouse button?
Date: Sun, 30 Mar 2003 17:59:32 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.44.0303301711010.2857-100000@heidegger.mousecar.net> (raw)
In-Reply-To: <m3isu1n7sl.fsf@russel.teuto37>


Ca va.  I experienced exactly the same very annoying problem.  The
best/quickest solution I found was to plug a regular mouse into the
laptop.

Another note: any emacs solution you implement should work only when the 
focus is on emacs, meaning that if the mouse pointer is on, say, a 
terminal window, when you accidently touch the mousepad, it'll bring up 
that terminal window.  So the disabling of the mouse should be done in 
X; look in /etc/X11/XF86Config* for the mouse section.  The problem with 
this "solution", however, is that you'd have to restart X every time you 
wanted to disable or enable the mouse... probably as much a hassle as 
dealing with touchpad accidents.

Now for a completely crazy idea: /dev/mouse is a symlink to /dev/psaux.  
It could possibly, conceivably, theoretically be possibly theoretically 
conceivable to disable the mouse by removing /dev/mouse and then enable 
it again with "ln -s /dev/psaux /dev/mouse".  You might try that (on 
your boss's computer when he's not around).  I'd be curious to know if 
that works, but not curious enough to try it on my own box.  B^+


hth,
ken

-- 
Thanks for your help with the revolution.
                              -- G. Washington


At 23:10 (UTC+0100) on 29 Mar 2003 Florian von Savigny said:

= 
= I thought this might be a common problem with laptops: I am using a
= laptop with a touchpad (or whatever that's called) which has the
= feature that tapping on it is transmitted as a left mouse button
= click. Because of its position, my hands cannot stay away from the
= touch pad (right between them) while touch-typing, and every few
= minutes, they generate a left mouse button click which puts point in
= an awkward position ... it is very annoying, especially if you
= recognize it some ten keystrokes later ...
= 
= I think I'd be able to go the brute force approach of redefining the
= bindings for the left mouse button to a command that does nothing, but
= I wonder whether there's a more elegant way. It would be nice to have
= a simple command to simply "suspend" the mouse bindings for the left
= button, such that I can turn them back on when I need them.
= 
= Is there any such thing around? Can anybody give me hints apart from
= that? I'd appreciate a lot.
= 
= 

  parent reply	other threads:[~2003-03-30 22:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-29 22:10 X: standard method for "switching off" left mouse button? Florian von Savigny
2003-03-29 23:08 ` Alan Shutko
2003-03-30 23:59   ` Florian von Savigny
2003-03-30 22:59 ` gebser [this message]
2003-03-30 23:51   ` Florian von Savigny
2003-03-31  0:02     ` Daniel R. Anderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.44.0303301711010.2857-100000@heidegger.mousecar.net \
    --to=gebser@ameritech.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.