Putting the screen (and only the screen) to sleep

is there a way to put the screen, and only the screen, to sleep?
Jollino wrote on :

Hello all, I have a question that's been haunting me for a few days now: is there a way to put the screen, and only the screen, to sleep?

I have set up my screen saver to pop up after 5 minutes of idle time, and the screen to turn off after 10 minutes of idle time. While I can force the screen saver to activate through a "hot corner", I haven't found a way to do both things at the same.

I've fiddled around /System to see if I could find some esoteric internal command to trigger that, but to no avail. I could obviously decrease the screen's brightness, but it's not really that practical...

Any hints, please?

Thank you in advance.

PS: my shiny 20-inch iMac salutes you all! :)

hongdell replied on :

=C4=E3=BA=C3,=CE=D2=D2=B2=D3=D0=CD=AC=D1=F9=B5=C4=CE=CA=CC=E2,=B2=BB=D6=AA= =B5=C0=C4=E3=D5=D2=B5=BD=B4=F0=B0=B8=C3=BB=D3=D0=D1=BD=A3=BF=C8=E7=B9=FB=D5= =D2=B5=BD=B4=F0=B0=B8=C1=CB=A3=AC=B7=A2=B5=E7=D7=D3=D3=CA=BC=FE=B8=F8=CE=D2= =A1=A3 =D0=BB=D0=BB=A3=A1

Jollino =D0=B4=B5=C0=A3=BA

Hello all, I have a question that's been haunting me for a few days now: is there a way to put the screen, and only the screen, to sleep?

I have set up my screen saver to pop up after 5 minutes of idle time, and the screen to turn off after 10 minutes of idle time. While I can force the screen saver to activate through a "hot corner", I haven't found a way to do both things at the same.

I've fiddled around /System to see if I could find some esoteric internal command to trigger that, but to no avail. I could obviously decrease the screen's brightness, but it's not really that practical...

Any hints, please?

Thank you in advance. =20 =20 PS: my shiny 20-inch iMac salutes you all! :) --=20 Jollino

Jolly Roger replied on :

On 2006-10-21 22:19:34 -0500, "hongdell" s-zhon@redacted.invalid said:

+,RdըصR,d"  R 

Jollino +

WTF?

Michelle Steiner replied on :

In article 2006102122483326712-jollyroger@redacted.invalid, Jolly Roger jollyroger@redacted.invalid wrote:

,eed ," e"ɩ"dᣯ e"ɩ֢dd +e  ""

Jollino `"

WTF?

You apparently do not have Japanese or Chinese fonts installed, or Mozilla/4.0 is not capable of displaying them.

Jolly Roger replied on :

On 2006-10-21 22:50:07 -0500, Michelle Steiner michelle@redacted.invalid said:

In article 2006102122483326712-jollyroger@redacted.invalid, Jolly Roger jollyroger@redacted.invalid wrote:

,eed ," e"ɩ"dᣯ e"ɩ֢dd +e  ""

Jollino `"

WTF?

You apparently do not have Japanese or Chinese fonts installed, or Mozilla/4.0 is not capable of displaying them.

I do have them installed. And this views fine in Firefox from groups.google.com. But in Unison, it displays as garbage. And if I save to a text file from Unison, it displays as garbage in TextEdit as well.

Unison bug?

Michelle Steiner replied on :

In article 2006102123014285877-jollyroger@redacted.invalid, Jolly Roger jollyroger@redacted.invalid wrote:

You apparently do not have Japanese or Chinese fonts installed, or Mozilla/4.0 is not capable of displaying them.

I do have them installed. And this views fine in Firefox from groups.google.com. But in Unison, it displays as garbage. And if I save to a text file from Unison, it displays as garbage in TextEdit as well.

Unison bug?

Your previous message--the one with "WTF" showed Mozilla 4.0 as the user agent; I'm confused.

Geoff Welsh replied on :

Michelle Steiner wrote:

In article 2006102123014285877-jollyroger@redacted.invalid, Jolly Roger jollyroger@redacted.invalid wrote:

You apparently do not have Japanese or Chinese fonts installed, or Mozilla/4.0 is not capable of displaying them.

I do have them installed. And this views fine in Firefox from groups.google.com. But in Unison, it displays as garbage. And if I save to a text file from Unison, it displays as garbage in TextEdit as well.

Unison bug?

Your previous message--the one with "WTF" showed Mozilla 4.0 as the user agent; I'm confused.

aren't those usually wrong? I think servers (or whatever detects the info) know like three types and get the rest wrong or just guess they are a Mozilla variant. What does it say I use?

GW

Geoff Welsh replied on :

Geoff Welsh wrote:

Michelle Steiner said to Jolly Roger

Your previous message--the one with "WTF" showed Mozilla 4.0 as the user agent; I'm confused.

aren't those usually wrong?

GW ps, I show JR's user agent as Unison/1.7.7

GW

Michelle Steiner replied on :

In article dEC_g.14714$gU6.7286@redacted.invalid, Geoff Welsh geoffdubya@redacted.invalid wrote:

Your previous message--the one with "WTF" showed Mozilla 4.0 as the user agent; I'm confused.

aren't those usually wrong?

I don't know.

What does it say I use?

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414

Michelle Steiner replied on :

In article MHC_g.14715$gU6.13006@redacted.invalid, Geoff Welsh geoffdubya@redacted.invalid wrote:

ps, I show JR's user agent as Unison/1.7.7

Yes, but look at his message before that one.

Geoff Welsh replied on :

Michelle Steiner wrote:

In article MHC_g.14715$gU6.13006@redacted.invalid, Geoff Welsh geoffdubya@redacted.invalid wrote:

ps, I show JR's user agent as Unison/1.7.7

Yes, but look at his message before that one.

on the post where he wrote "WTF", and the formerly Asian characters where turned into jibber-jabber, I also show his agent as Unison/1.7.7

see below: Path: news-wrt-01.socal.rr.com!news-feed-01.socal.rr.com!news.rr.com!pln-w!lotsanews.com!tethys.csu.net!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.news.pas.earthlink.net.POSTED!1026133b!not-for-mail From: Jolly Roger jollyroger@redacted.invalid Newsgroups: comp.sys.mac.system Message-ID: 2006102122483326712-jollyroger@redacted.invalid References: jollino-9E0640.01444222102006@redacted.invalid 1161487174.237771.225760@redacted.invalid MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: Putting the screen (and only the screen) to sleep User-Agent: Unison/1.7.7 Lines: 14 Date: Sun, 22 Oct 2006 03:48:33 GMT NNTP-Posting-Host: 63.246.179.227 X-Complaints-To: abuse@redacted.invalid X-Trace: newsread1.news.pas.earthlink.net 1161488913 63.246.179.227 (Sat, 21 Oct 2006 20:48:33 PDT) NNTP-Posting-Date: Sat, 21 Oct 2006 20:48:33 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: news-wrt-01.socal.rr.com comp.sys.mac.system:479897

On 2006-10-21 22:19:34 -0500, "hongdell" s-zhon@redacted.invalid said:

+,RdըصR,d"  R 

Jollino +

WTF?

Jollino replied on :

In article 1161487174.237771.225760@redacted.invalid, "hongdell" s-zhon@redacted.invalid wrote:

+,RdըصR,d"R 

Ok, now if only you could please translate that in English, Spanish, Italian, Esperanto, Interlingua, French or Portuguese... I would be able to understand it. Thanks. ;)

Florian Zschocke replied on :

Geoff Welsh geoffdubya@redacted.invalid schrieb:

On 2006-10-21 22:19:34 -0500, "hongdell" s-zhon@redacted.invalid said:

+,RdըصR,d"  R 

Jollino +

How can this be displayed correctly when then content-typ is plain and the charset is ISOLatin-1 (Content-Type: text/plain; charset=ISO-8859-1;)?

Florian

Michelle Steiner replied on :

In article epD_g.14719$gU6.5125@redacted.invalid, Geoff Welsh geoffdubya@redacted.invalid wrote:

on the post where he wrote "WTF", and the formerly Asian characters where turned into jibber-jabber, I also show his agent as Unison/1.7.7

I don't know what happened; I'm sure that I saw what I said that I saw, but obviously, I didn't see it.

Mike Rosenberg replied on :

Michelle Steiner michelle@redacted.invalid wrote:

You apparently do not have Japanese or Chinese fonts installed, or Mozilla/4.0 is not capable of displaying them.

Weird, MacSOUP just displayed a bunch of question marks instead.

Sn!pe replied on :

Mike Rosenberg mikePOST@redacted.invalid wrote:

Michelle Steiner michelle@redacted.invalid wrote:

You apparently do not have Japanese or Chinese fonts installed, or Mozilla/4.0 is not capable of displaying them.

Weird, MacSOUP just displayed a bunch of question marks instead.

Hongdell posted with this mime declaration:-

Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable

-which MacSOUP can't handle, gb2312 being a Chinese charset.

Mike Rosenberg replied on :

Michelle Steiner michelle@redacted.invalid wrote:

I don't know what happened; I'm sure that I saw what I said that I saw, but obviously, I didn't see it.

I see.

Ian Gregory replied on :

On 2006-10-22, Michelle Steiner michelle@redacted.invalid wrote:

I don't know what happened; I'm sure that I saw what I said that I saw, but obviously, I didn't see it.

"I know that you believe that you understood what you think I said, but I am not sure you realize that what you heard is not what I meant."

  • Robert McCloskey, State Department spokesman (attributed)

Ian

Michelle Steiner replied on :

In article 1hnm0zw.f1dfmcvpxk0iN%mikePOST@redacted.invalid, mikePOST@redacted.invalid (Mike Rosenberg) wrote:

I don't know what happened; I'm sure that I saw what I said that I saw, but obviously, I didn't see it.

I see.

"I see", said the blind carpenter to his deaf assistant as he picked up his hammer and saw.

Geoff Welsh replied on :

hongdell wrote:

+,RdըصR,d"R 

F12, translation widget:

"You are good, I also have the similar question, did not know you found the answer not? If found the answer, sends "

Geoff Welsh replied on :

Mike Rosenberg wrote:

Michelle Steiner michelle@redacted.invalid wrote:

I don't know what happened; I'm sure that I saw what I said that I saw, but obviously, I didn't see it.

I see.

...said the blind man to his deaf son over the telephone. GW

John McWilliams replied on :

Ian Gregory wrote:

On 2006-10-22, Michelle Steiner michelle@redacted.invalid wrote:

I don't know what happened; I'm sure that I saw what I said that I saw, but obviously, I didn't see it.

"I know that you believe that you understood what you think I said, but I am not sure you realize that what you heard is not what I meant."

  • Robert McCloskey, State Department spokesman (attributed)

Hmmm. Been using almost verbatim the same:

I know that you believe you understood what you think I said, but I'm not sure you realize that what you heard is not what I meant.

Without a guess as to attribution, tho.

Florian Zschocke replied on :

Florian Zschocke edv@redacted.invalid schrieb:

Geoff Welsh geoffdubya@redacted.invalid schrieb:

On 2006-10-21 22:19:34 -0500, "hongdell" s-zhon@redacted.invalid said:

+,RdըصR,d"  R 

Jollino +

How can this be displayed correctly when then content-typ is plain and the charset is ISOLatin-1 (Content-Type: text/plain; charset=ISO-8859-1;)?

Ahrg, I fooled myself. ISOLatin-1 is my own fallback for a unknown charset.

Sorry - Florian

Heath Raftery replied on :

Jollino jollino@redacted.invalid wrote:

I have a question that's been haunting me for a few days now: is there a way to put the screen, and only the screen, to sleep?

I searched for a way to do this a while ago. Unfortunately I can't find where I published my results. In particular, I wanted to shut off the screen to save power and kill the light, without the computer losing it's ability to run scripts and respond to remote requests.

As far as I can remember, this wasn't quite possible. You can go down the "pmset" path, but defaults and AppleScript I believe result in a dead end.

Paul Sture replied on :

In article 453d6740$0$4666$61c65585@redacted.invalid , Heath Raftery hraftery@redacted.invalid wrote:

Jollino jollino@redacted.invalid wrote:

I have a question that's been haunting me for a few days now: is there a way to put the screen, and only the screen, to sleep?

I searched for a way to do this a while ago. Unfortunately I can't find where I published my results. In particular, I wanted to shut off the screen to save power and kill the light, without the computer losing it's ability to run scripts and respond to remote requests.

As far as I can remember, this wasn't quite possible. You can go down the "pmset" path, but defaults and AppleScript I believe result in a dead end.

Not sure if this is what the OP asked for but...

Fire up > Utilities > Keychain Access.

In the View menu, check "Show Status in Menu Bar", and a padlock will appear in the menu bar.

The first option when clicking the padlock icon is "Lock Screen". Selecting that first invokes the screen saver, then after several minutes the screen goes to sleep.

Jollino replied on :

In article 453d6740$0$4666$61c65585@redacted.invalid , Heath Raftery hraftery@redacted.invalid wrote:

As far as I can remember, this wasn't quite possible. You can go down the "pmset" path, but defaults and AppleScript I believe result in a dead end.

I found this script somewhere in a forum, I am NOT the author but it works:

---8<--- property timer : "Sleep is on original time" property screensaver_timer : ""

on run tell application "Finder" set screensaver_timer to ""

  set Orig_displaysleep_time to do shell script "pmset -g | grep 

displaysleep | awk '{print $2}'" as string

  if timer is "Sleep is on original time" then
     set timer to "Screen Sleep is on 1 minute"
 set displaysleep to do shell script &#34;pmset force -a 

displaysleep 1"

     tell application "Finder"
        activate
        display dialog timer buttons {"OK"} default button 1
     end tell
  else if timer is "Screen Sleep is on 1 minute" then
 set displaysleep to do shell script &#34;pmset force -a 

displaysleep " & Orig_displaysleep_time

     set timer to "Sleep is on original time"
     tell application "Finder"
        activate
        display dialog timer buttons {"OK"} default button 1
     end tell
  end if

end tell

end run --->8---

(Mind the long lines, it should be fairly easy to fix them.)

Basically, it toggles between the original display sleep timeout and a temporary timeout of one minute, which doesn't get written to disk. So you can run it and after a minute the screen will be turned off, and when you reboot the sleep timeout will be set to whatever you had originally set it in System Preferences.

Not instantaneous, but works. :)

Heath Raftery replied on :

In article jollino-40ABBC.11125025102006@redacted.invalid, Jollino jollino@redacted.invalid wrote:

In article 453d6740$0$4666$61c65585@redacted.invalid , Heath Raftery hraftery@redacted.invalid wrote:

As far as I can remember, this wasn't quite possible. You can go down the "pmset" path, but defaults and AppleScript I believe result in a dead end.

I found this script somewhere in a forum, I am NOT the author but it works:

Basically, it toggles between the original display sleep timeout and a temporary timeout of one minute, which doesn't get written to disk. So you can run it and after a minute the screen will be turned off, and when you reboot the sleep timeout will be set to whatever you had originally set it in System Preferences.

Not instantaneous, but works. :)

Ah yes, as I recall this was the kind of solution I settled on. Not ideal because you can't request an immediate display sleep, but may serve the purpose.