From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Florian von Savigny Newsgroups: gmane.emacs.help Subject: Re: X: standard method for "switching off" left mouse button? Date: 31 Mar 2003 01:51:28 +0200 Organization: Linux Private Site Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1049068567 16212 80.91.224.249 (30 Mar 2003 23:56:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 30 Mar 2003 23:56:07 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 31 01:56:04 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18zmei-0004D0-00 for ; Mon, 31 Mar 2003 01:56:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18zmeE-0003Lz-0A for gnu-help-gnu-emacs@m.gmane.org; Sun, 30 Mar 2003 18:55:35 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.arcor-online.net!news.belwue.de!news.uni-stuttgart.de!rz.uni-karlsruhe.de!news.schlund.de!schlund.de!news.online.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 40 Original-NNTP-Posting-Host: pd9506f4a.dip0.t-ipconnect.de Original-X-Trace: online.de 1049068338 6509 217.80.111.74 (30 Mar 2003 23:52:18 GMT) Original-X-Complaints-To: abuse@einsundeins.com Original-NNTP-Posting-Date: Sun, 30 Mar 2003 23:52:18 +0000 (UTC) X-Newsreader: Gnus v5.7/Emacs 20.6 Original-Xref: shelby.stanford.edu gnu.emacs.help:111502 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8002 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8002 gebser@ameritech.net writes: > 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. I think that would have been practical, since the problem only becomes apparent to me when entering text in Emacs. Under X in general, the feature was quite charming (I have now disabled it with the help of tpconfig, see Alan's posting). > 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. Hmm, I think that this is feasible if you can do without the mouse altogether under X (not a bad idea on a laptop, I'd say). > 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^+ What's the rationale behind that? (I didn't try it - when your proposal appeared, I had just installed tpconfig, which seems perfect). Thanks a lot for your proposals anyway! Florian