Date: Thu, 6 Jul 2000 10:42:03 -0500 From: Dan Nelson <dnelson@emsphone.com> To: j mckitrick <jcm@freebsd-uk.eu.org> Cc: questions@FreeBSD.ORG Subject: Re: pop up notice for x Message-ID: <20000706104203.A2961@dan.emsphone.com> In-Reply-To: <20000706163816.C9873@dogma.freebsd-uk.eu.org>; from "j mckitrick" on Thu Jul 6 16:38:16 GMT 2000 References: <20000706155756.A9796@dogma.freebsd-uk.eu.org> <20000706100348.C20588@dan.emsphone.com> <20000706163816.C9873@dogma.freebsd-uk.eu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jul 06), j mckitrick said: > On Thu, Jul 06, 2000 at 10:03:48AM -0500, Dan Nelson wrote: > > man xmessage > > okay, so far so good. the script i am using works when i call it > from an xterm. and the 'logger' statement works when it is called > from a console. but when called from a console (actually, by an APM > script that detects when the battery is low) is doesn't show the > message in X, only on the console. do i need to direct it to X or do > something special to get it to work? If you know you only have one X session running at any one time, "export DISPLAY=:0.0" should work. If you're running multiple X servers (say under VNC), they won't get the popup. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000706104203.A2961>