Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Turn off CDE screen blank 9-5 M-F (

6 views
Skip to first unread message

Eunice Santorini

unread,
Oct 29, 2003, 11:32:21 AM10/29/03
to
> Do you know of an easy way to turn OFF the screen blanking
> of the default Sun Solaris 8 (using CDE) during normal business
> hours (9am - 9pm or so, Monday-Friday)?
>
> I don't want to disable screen blanking ... I just don't want the
> blanking screen screen blanking during work hours, Monday to Friday.

Since you are using CDE, the Screen control from the Style Manager
will control the screen blanking.

You could manually, every morning and evening bring up the Sun CDE
Style Manager (click on the picture with the mouse, "TTT" & palette),
click "Screen" & change the Screen Saver from "Power Managed Screen"
to something else, or disable it.

But seriously, this is a very good question that almost everyone
will want to do to avoid that irritatingly long time it takes for
the screen to return to you dozens of times a day (especially if
you have both a Windows PC & Sun Solaris on your desk.

If you do not use CDE, the power-save is controlled by the
Sun Solaris /etc/power.conf settings. This is also true when the
dtlogin screen is being displayed. Do a "man power.conf" for more info
if you are NOT using CDE.

Since you are using CDE, we'll need a clever option for you.

I'm told some folks manually modify xlock during the day, e.g.,
xlock -mode pyro (or another mode that displays something).
When they want the screen to power off, they use xlock -mode blank.
But, again, this is a manual effort.

I also hear some folks make clever use of the crontab file running
"xset q" and "xset h" and "xset s" commands during the day.

% xset q
...
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 0 cycle: 600
...
DPMS (Energy Star):
Standby: 1200 Suspend: 1800 Off: 2400
DPMS is disabled

However I don't have a ready made solution for this extremely
commonly asked for need.

Does anyone out there have a Sun CDE solution for disabling the
annoying screen blanking during normal business hours?

--
Eunice

Logan Shaw

unread,
Oct 29, 2003, 12:33:49 PM10/29/03
to
Eunice Santorini wrote:

>> Do you know of an easy way to turn OFF the screen blanking
>> of the default Sun Solaris 8 (using CDE) during normal business
>> hours (9am - 9pm or so, Monday-Friday)?
>>
>> I don't want to disable screen blanking ... I just don't want the
>> blanking screen screen blanking during work hours, Monday to Friday.
>
>
> Since you are using CDE, the Screen control from the Style Manager
> will control the screen blanking.

Well, yes, by default.

It's possible to integrate xscreensaver, or really almost any
screen saver, with CDE. Directions are here (search for "CDE"):

http://www.jwz.org/xscreensaver/man1.html

Once you have a screensaver you control, you at least have the
ability to do what you want with it. For example, you could
"xscreensaver-command" to monitor events. If you notice that
the screen is locked during business hours, just send a command
to unlock it again. There's a little Perl fragment here

http://www.jwz.org/xscreensaver/man3.html

that you could adapt to your purposes. You could start your
own little Perl script from the CDE sessionetc file, and all
this would happened automatically when you log in.

- Logan

0 new messages