From owner-freebsd-questions Sun Jul 9 9:45: 2 2000 Delivered-To: freebsd-questions@freebsd.org Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by hub.freebsd.org (Postfix) with ESMTP id 03FF037B97D for ; Sun, 9 Jul 2000 09:44:58 -0700 (PDT) (envelope-from jcm@freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by probity.mcc.ac.uk with esmtp (Exim 2.05 #4) id 13BKCO-000Bhj-00; Sun, 9 Jul 2000 17:44:56 +0100 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.9.3/8.9.3) id RAA68274; Sun, 9 Jul 2000 17:44:56 +0100 (BST) (envelope-from jcm) Date: Sun, 9 Jul 2000 17:44:56 +0100 From: j mckitrick To: Ben Williams Cc: Dan Nelson , questions@freebsd.org Subject: Re: pop up notice for x Message-ID: <20000709174456.A68244@dogma.freebsd-uk.eu.org> References: <20000706170053.A10074@dogma.freebsd-uk.eu.org> <11282.000709@home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <11282.000709@home.com>; from williamsl@home.com on Sun, Jul 09, 2000 at 06:46:51AM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Jul 09, 2000 at 06:46:51AM -0400, Ben Williams wrote: > If you're using /bin/sh you might need to separate your 'export...' > line like this: > > DISPLAY=:0.0 > export DISPLAY > > I seem to recall the export [=] is a bash > enhancement that is not present in all shells. Also how are you > running X? If by startx then you probably don't have any xauth issues > but if you're running from xdm you may need to man xauth. 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. jm -- ------------------------------------------------------------------- Jonathon McKitrick -- jcm@freebsd-uk.eu.org To Microsoft: "Your tyranny I was part of, is now cracking on every side. Now your own life is in danger. Your Empire is on fire." Front 242 ------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message