From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Proulx Newsgroups: gmane.emacs.help Subject: Re: How to get rid of horrible GUI functionality Date: Wed, 23 Mar 2016 12:31:04 -0600 Message-ID: <20160323122110342144047@bob.proulx.com> References: <20160323105816.GD9054@tuxteam.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1458757903 4538 80.91.229.3 (23 Mar 2016 18:31:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Mar 2016 18:31:43 +0000 (UTC) To: Davin Pearson , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 23 19:31:28 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ainYy-0008St-T1 for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Mar 2016 19:31:25 +0100 Original-Received: from localhost ([::1]:45394 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ainYy-0004mW-EN for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Mar 2016 14:31:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ainYn-0004mR-Gp for help-gnu-emacs@gnu.org; Wed, 23 Mar 2016 14:31:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ainYi-0006bH-Bg for help-gnu-emacs@gnu.org; Wed, 23 Mar 2016 14:31:13 -0400 Original-Received: from havoc.proulx.com ([96.88.95.61]:37603) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ainYi-0006bC-6m for help-gnu-emacs@gnu.org; Wed, 23 Mar 2016 14:31:08 -0400 Original-Received: from joseki.proulx.com (localhost [127.0.0.1]) by havoc.proulx.com (Postfix) with ESMTP id 8AD2F11F8; Wed, 23 Mar 2016 12:31:06 -0600 (MDT) Original-Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 93FD82185D; Wed, 23 Mar 2016 12:31:04 -0600 (MDT) Original-Received: by hysteria.proulx.com (Postfix, from userid 1000) id 6D2252DC63; Wed, 23 Mar 2016 12:31:04 -0600 (MDT) Mail-Followup-To: Davin Pearson , help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <20160323105816.GD9054@tuxteam.de> User-Agent: Mutt/1.5.24 (2015-08-30) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 96.88.95.61 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:109667 Archived-At: tomas@tuxteam.de wrote: > Davin Pearson wrote: > > My new computer is a laptop and from time to time my fingers brush > > against the mouse sensor pad, causing the following window to > > appear: > >... > > I want to kill such pop up windows as it annoys me when I am > > trying to use GNU Emacs to do useful work. >... > Apart from other's suggestions, which seem fine, if you are using a > touchpad driven by the Synaptics driver (which seems to be pretty > common these days), there's `synclient' which allows, among other things to > switch on/off a synaptics touchpad. Along these same lines I use the 'syndaemon' to turn off the touchpad when I don't need it. This is a halfway config that doesn't completely disable the touchpad but doesn't completely allow it to be on all of the time and annoy me either. Because I also drag my palm across the touchpad and zinging the touchpad annoying. When typing it will disable the touchpad but when not typing the touchpad can be used normally. syndaemon -i 2 -K -p $HOME/var/run/syndaemon.pid -d -i 2 is the default 2 second idle before enabling touchpad -K ignore shift, alt, control, combinations -p create a pid file -d run as a daemon My full config that I share between multiple devices and software distributions is the following. First it determines if I have the syndaemon installed and does nothing if it is not there. Then it launches the daemon with a 20 second idle delay before enabling it. (20 seconds because I often pause a while to think.) I also instruct it to keep a pid file in my home. But because it doesn't leave the pid file with the proper permissions I immediately chmod it as I desire so that it isn't world writable. which syndaemon >/dev/null \ && syndaemon -i 20 -K -p $HOME/var/run/syndaemon.pid -d \ && chmod go-w $HOME/var/run/syndaemon.pid Since I am very old-school I put this in a very old-school config file that I won't mention because it is unlikely you are doing that way. But if you put that in your .xsessionrc file I believe that is most likely the best place for it for most people. Bob