From owner-freebsd-questions Mon Jul 10 7:55:17 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fac13.ds.psu.edu (fac13.ds.psu.edu [146.186.61.98]) by hub.freebsd.org (Postfix) with ESMTP id 41C1237BA16 for ; Mon, 10 Jul 2000 07:55:13 -0700 (PDT) (envelope-from hawk@fac13.ds.psu.edu) Received: from fac13.ds.psu.edu (localhost [127.0.0.1]) by fac13.ds.psu.edu (8.9.3/8.9.3) with ESMTP id KAA10434; Mon, 10 Jul 2000 10:52:16 -0400 (EDT) (envelope-from hawk@fac13.ds.psu.edu) Message-Id: <200007101452.KAA10434@fac13.ds.psu.edu> X-Mailer: exmh version 2.1.1 10/15/1999 To: j mckitrick Cc: Ben Williams , Dan Nelson , questions@FreeBSD.ORG Subject: Re: pop up notice for x In-Reply-To: Your message of "Sun, 09 Jul 2000 17:44:56 BST." <20000709174456.A68244@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 10 Jul 2000 10:52:16 -0400 From: "Richard E. Hawkins" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > well, i sort of got it working, but now when the battery is low, the message > pops up every few seconds. i might change the threshold so it only shows > the message while the battery rating is equal to a certain level rahter than > less than or equal to. apparently, it now works from a script and is able > to show the window on X. You might want a set/reset flag, or timestamped file, instead. If the message hasn't been given in the last minute/5 minutes/whatever, send the message. Otherwise you could hop straight over the level . . . hawk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message