Checking whether a script can open a display?

Fraser Campbell fraser-eicrhRFjby5dCsDujFhwbypxlwaOVQ5f at public.gmane.org
Wed Mar 2 01:41:27 UTC 2005


On March 1, 2005 04:52 pm, William O'Higgins wrote:

> I use a cron job to update the backdrop (root window) of my window
> manager.  Sometimes I am not running X, however, and then my mail box
> fills up with cron telling me that it cannot open display :0.0.  Is
> there a way I can test whether I can open that display so I can quit
> cleanly?

What window manager do you run?  I suspect many wm have the capability to 
rotate backdrops at set intervals (kde's wm does).

-- 
Fraser Campbell <fraser-Txk5XLRqZ6CsTnJN9+BGXg at public.gmane.org>                 http://www.wehave.net/
Georgetown, Ontario, Canada                               Debian GNU/Linux
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list