Checking whether a script can open a display?

William O'Higgins william.ohiggins-H217xnMUJC0sA/PxXw9srA at public.gmane.org
Wed Mar 2 02:10:19 UTC 2005


On Tue, Mar 01, 2005 at 08:41:27PM -0500, Fraser Campbell wrote:
>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).

I run OpenBox, and as far as I know they don't build that in, because
there are many "right" ways to do it, and because it is not (as they
(and I)) define it the window manager's job.  KDE is attempting to be
all things to all people, and so that is built in.
-- 

yours,

William

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://gtalug.org/pipermail/legacy/attachments/20050301/0dd6413b/attachment.sig>


More information about the Legacy mailing list