The conversation on this page has been archived and is no longer active.

Putting the screen (and only the screen) to sleep

Message #1 - Posted 2006/10/22 - Jollino

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! :)

Jollino

Message #2 - Posted 2006/10/21 - hongdell

=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

Message #3 - Posted 2006/10/22 - Jolly Roger

On 2006-10-21 22:19:34 -0500, hongdell said:

ƒ„∫√,Œ““≤”–Õ¨—˘µƒŒ Ã‚,≤ª÷™ µ¿ƒ„’“µΩ¥∞∏√ª”–—Ω£ø»Áπ˚’ “µΩ¥∞∏¡À£¨∑¢µÁ◊”” º˛∏¯Œ“ °£ –ª–ª£°

Jollino –¥µ¿£∫

WTF?

JR

Message #4 - Posted 2006/10/21 - Michelle Steiner

Previously, Jolly Roger wrote:

üìÜà,ë≥≥æ≤≠’®ãòµüë†√í,晘Šµøüìπ≥µá•ïÉΩà™≤≠ãᣯª¡ºöπ ≥µá•ïÉΩ°¿£®Ö¢µ¡◊≤≤†∫úΩØë≥ ∞£ ≠™≠™£∞

Jollino ≠•µø£Ü

WTF?

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

Stop Mad Cowboy Disease: Impeach the son of a Bush.

Message #5 - Posted 2006/10/22 - Jolly Roger

On 2006-10-21 22:50:07 -0500, Michelle Steiner said:

Previously, Jolly Roger wrote:

üìÜà,ë≥≥æ≤≠’®ãòµüë†√í,晘Šµøüìπ≥µá•ïÉΩà™≤≠ãᣯª¡ºöπ ≥µá•ïÉΩ°¿£®Ö¢µ¡◊≤≤†∫úΩØë≥ ∞£ ≠™≠™£∞

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?

JR

Message #6 - Posted 2006/10/21 - Michelle Steiner

Previously, Jolly Roger 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.

Stop Mad Cowboy Disease: Impeach the son of a Bush.

Message #7 - Posted 2006/10/22 - Geoff Welsh

Michelle Steiner wrote:

Previously, Jolly Roger 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

Message #8 - Posted 2006/10/22 - Geoff Welsh

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

Message #9 - Posted 2006/10/21 - Michelle Steiner

Previously, Geoff Welsh 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

Stop Mad Cowboy Disease: Impeach the son of a Bush.

Message #10 - Posted 2006/10/21 - Michelle Steiner

Previously, Geoff Welsh wrote:

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

Yes, but look at his message before that one.

Stop Mad Cowboy Disease: Impeach the son of a Bush.

Message #11 - Posted 2006/10/22 - Geoff Welsh

Michelle Steiner wrote:

Previously, Geoff Welsh 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@null.org>
Newsgroups: comp.sys.mac.system
Message-ID: <2006102122483326712-jollyroger@nullorg> References: <jollino-9E0640.01444222102006@news.tin.it> <1161487174.237771.225760@i42g2000cwa.googlegroups.com> 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@earthlink.net
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 said:

ƒ„∫√,Œ““≤”–Õ¨—˘µƒŒ Ã‚,≤ª÷™ µ¿ƒ„’“µΩ¥∞∏√ª”–—Ω£ø»Áπ˚’ “µΩ¥∞∏¡À£¨∑¢µÁ◊”” º˛∏¯Œ“ °£ –ª–ª£°

Jollino –¥µ¿£∫

WTF?

GW

Message #12 - Posted 2006/10/22 - Jollino

Previously, hongdell wrote:

ƒ„∫√,Œ““≤”–Õ¨—˘µƒŒ Ã‚,≤ª÷™µ¿ƒ„’“µΩ¥∞∏√ª”–—Ω£ø»Áπ˚’“µΩ¥∞∏¡À£¨∑¢µÁ◊”” º˛∏¯Œ“°£ –ª–ª£°

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. ;)

Jollino

Message #13 - Posted 2006/10/22 - Florian Zschocke

Geoff Welsh <geoffdubya@some.rr.com> schrieb:

On 2006-10-21 22:19:34 -0500, hongdell said:

ƒ„∫√,Œ““≤”–Õ¨—˘µƒŒ Ã‚,≤ª÷™ µ¿ƒ„’“µΩ¥∞∏√ª”–—Ω£ø»Áπ˚’ “µΩ¥∞∏¡À£¨∑¢µÁ◊”” º˛∏¯Œ“ °£ –ª–ª£°

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

Message #14 - Posted 2006/10/22 - Michelle Steiner

Previously, Geoff Welsh 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.

Stop Mad Cowboy Disease: Impeach the son of a Bush.

Message #15 - Posted 2006/10/22 - Mike Rosenberg

Michelle Steiner 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.

<http://designsbymike.biz/macconsultshop.shtml> Mac-themed T-shirts <http://designsbymike.biz/musings.shtml> Mostly muckraking T-shirts <http://designsbymike.biz/prius.shtml> Prius shirts & bumper stickers <http://cafepress.com/comedancing> Ballroom dance-themed shirts & gift

Message #16 - Posted 2006/10/22 - Sn!pe

Mike Rosenberg wrote:

Michelle Steiner 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.

^œ^

Message #17 - Posted 2006/10/22 - Mike Rosenberg

Michelle Steiner 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.

<http://designsbymike.biz/macconsultshop.shtml> Mac-themed T-shirts <http://designsbymike.biz/musings.shtml> Mostly muckraking T-shirts <http://designsbymike.biz/prius.shtml> Prius shirts & bumper stickers <http://cafepress.com/comedancing> Ballroom dance-themed shirts & gift

Message #18 - Posted 2006/10/22 - Ian Gregory

On 2006-10-22, Michelle Steiner 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

Message #19 - Posted 2006/10/22 - Michelle Steiner

Previously, 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.

Stop Mad Cowboy Disease: Impeach the son of a Bush.

Message #20 - Posted 2006/10/23 - Geoff Welsh

hongdell wrote:

ƒ„∫√,Œ““≤”–Õ¨—˘µƒŒ Ã‚,≤ª÷™µ¿ƒ„’“µΩ¥∞∏√ª”–—Ω£ø»Áπ˚’“µΩ¥∞∏¡À£¨∑¢µÁ◊”” º˛∏¯Œ“°£ –ª–ª£°

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 "

Message #21 - Posted 2006/10/23 - Geoff Welsh

Mike Rosenberg wrote:

Michelle Steiner 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

Message #22 - Posted 2006/10/22 - John McWilliams

Ian Gregory wrote:

On 2006-10-22, Michelle Steiner 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.

John McWilliams

Message #23 - Posted 2006/10/23 - Florian Zschocke

Florian Zschocke <edv@zschocke-berlin.de> schrieb:

Geoff Welsh <geoffdubya@some.rr.com> schrieb:

On 2006-10-21 22:19:34 -0500, hongdell said:

ƒ„∫√,Œ““≤”–Õ¨—˘µƒŒ Ã‚,≤ª÷™ µ¿ƒ„’“µΩ¥∞∏√ª”–—Ω£ø»Áπ˚’ “µΩ¥∞∏¡À£¨∑¢µÁ◊”” º˛∏¯Œ“ °£ –ª–ª£°

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

Message #24 - Posted 2006/10/24 - Heath Raftery

Jollino 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.

-- *--------------------------------------------------------*

^Nothing is foolproof to a sufficiently talented fool^ | Heath Raftery, HRSoftWorks _\|/_ |

*______________________________________m_('.')_m_________*
Message #25 - Posted 2006/10/24 - Paul Sture

Previously ,
Heath Raftery wrote:

Jollino 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.

Paul Sture

Message #26 - Posted 2006/10/25 - Jollino

Previously ,
Heath Raftery 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 "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 "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. :)

Jollino

Message #27 - Posted 2006/10/27 - Heath Raftery

Previously, Jollino wrote:

Previously ,
Heath Raftery 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:

<SNIP>

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.

--
Heath ________________________________________________________

*Nothing is foolproof to a sufficiently talented fool* | _\|/_ |
________________________________________m(. .)m_________|

Need Help? Have a Question?

Looking for more help, comments, and answers?

Ask your questions on Ask Different. Ask Different is a community of Apple users ready to help.