Visit Our UNIX and Linux User Community


Get Black Screen for 10secs


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Get Black Screen for 10secs
# 1  
Old 02-25-2009
Get Black Screen for 10secs

I was thinking if there is a way that i can go about making my screen go black automatically for about 10seconds, (with a message like "take a break" printed on the screen) and after 10seconds everything comes back to normal....
is there any way that i can do this...???

to further clarify the question...

suppose now the time is 10:00am
i start my "take-a-break.sh" or "take-a-break.o"(yes, c program idea is also welcome) program...

at 10:10:00am the computer screen should go black(or Locked),with a message -"take a 10sec break"(optional) and at 10:10:10am the screen where i was working should come back(or UnLocked) automatically...

again at 10:20:10am the process would repeat , then again at 10:30:20am....and so on...

this is for my eyes...i keep forgetting the i should be taking 10sec break and see into a distance every 10mins for about 10secs to relax my eyes...(everyone else,working on a pc, should also do this...)

any ideas?
# 2  
Old 02-25-2009
Quote:
Originally Posted by c_d
I was thinking if there is a way that i can go about making my screen go black automatically for about 10seconds, (with a message like "take a break" printed on the screen) and after 10seconds everything comes back to normal....
is there any way that i can do this...???

Configure your screensaver to do it. It's not a scripting problem.
# 3  
Old 02-25-2009
Quote:
Originally Posted by cfajohnson

Configure your screensaver to do it. It's not a scripting problem.
well,yes,i could configure my screensaver to lock-up my screen every 10mins...but how would i be able to make the screensaver go away automatically after 10seconds?

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Showing a black screen

Hi all, Is there a way, on the command line, to show a black screen WITHOUT turning off the monitor? Also, is there a way to make the computer show the last screen before the black screen as soon as the user interacts with it? I know that there are various ways to turn off the computer, or... (8 Replies)
Discussion started by: Zel2008
8 Replies

2. HP-UX

HP-UX server boots to black graphical screen

hello all, please can you help me crack this.... i have an hp-ux server which when after booting it does not completely boot to graphical. it stops aa black screen with only an hour glass showing. at this stage only the mouse responds but the keyboard does not respond. any idea to find... (5 Replies)
Discussion started by: steveGH
5 Replies

3. Linux

Cannot boot as usuall , turn to black screen & ask for loging in ???? Help me????

Hey guys..... Im new user for linux fedora 20.... i really need help ....... i have no idea why suddently when i turn on my laptop fedora turn to be black screen and ask me loging in , when i loging then nothing happen , it stay at the same screen... then i try to go to "with linux secure...,"... (12 Replies)
Discussion started by: asianfootball
12 Replies

4. UNIX Desktop Questions & Answers

Boot problem after updates, Ubuntu, black screen and cursor

I hope this is the correct forum, please forgive a newbie. Hi all, New to linux, ubuntu, and this forum. I have enjoyed ubuntu for the past few months, but after my last update installation ubuntu would boot to a black screen and blinking cursor. If I let it sit for a while it would give the... (0 Replies)
Discussion started by: nutoubuntu
0 Replies

5. UNIX for Dummies Questions & Answers

Screen Goes Black When Run startx

Have - HP G4p DL360 SCSI version (*see below of pdf of server basics if needed) Scientific Linux live-cd.iso Issue - When it boots off the LiveCD, all starts swell, but if I install the OS normal it goes to a black monitor.... If I install text only, it works and when done I am at the... (4 Replies)
Discussion started by: sas
4 Replies

6. Hardware

qosmio f50-freeze when trying to update bios-black screen

Hi! I own a Qosmio f50 laptop and today i download the file from toshiba to update my bios. Everything went well until installer reaches block 16 when system freezes. I left it half an hour and then tried to power-off the pc with the button, but it dont. I unplug the ac-adaptor and the battery and... (0 Replies)
Discussion started by: giampoul
0 Replies

7. Red Hat

Black Screen

I am using Intel HD 400 Graphics on a laptop. When I logout, I get a black screen with no cursor or anything. I have to hard reboot the system to get into linux again. Working on RHEL 6 (gnome) (1 Reply)
Discussion started by: sunveer
1 Replies

8. SCO

Black Screen SCO Real. 5 (intel platform)

Hi everyone, I am new in here. I have to work on a system where nothing is showing up on the screen. I am suspecting an hardware issue, can anyone help me with this? Thanks for your input BB (4 Replies)
Discussion started by: labcc
4 Replies

Featured Tech Videos