Sponsored Content
Full Discussion: Get Black Screen for 10secs
Top Forums Shell Programming and Scripting Get Black Screen for 10secs Post 302291309 by c_d on Wednesday 25th of February 2009 11:05:23 AM
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?
 

8 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

8. 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
XEYES(1)						      General Commands Manual							  XEYES(1)

NAME
xeyes - a follow the mouse X demo SYNOPSIS
xeyes [-option ...] DESCRIPTION
Xeyes watches what you do and reports to the Boss. OPTIONS
-fg foreground color choose a different color for the pupil of the eyes. -bg background color choose a different color for the background. -outline outline color choose a different color for the outline of the eyes. -center center color choose a different color for the center of the eyes. -backing { WhenMapped Always NotUseful } selects an appropriate level of backing store. -geometry geometry define the initial window geometry; see X(7). -display display specify the display to use; see X(7). -bd border color choose a different color for the window border. -bw border width choose a different width for the window border. -shape uses the SHAPE extension to shape the window. This is the default. +shape disables use of the SHAPE extension to shape the window. -render uses Xrender to draw anti-aliased eyes. This is the default if xeyes has been compiled with Xrender support. +render disables Xrender and draws traditional eyes. -distance uses an alternative mapping, as if the eyes were set back from the screen, thus following the mouse more precisely. SEE ALSO
X(7), X Toolkit documentation See X(7) for a full statement of rights and permissions. AUTHOR
Keith Packard, MIT X Consortium Copied from the NeWS version written (apparently) by Jeremy Huxtable as seen at SIGGRAPH '88 X Version 11 xeyes 1.1.1 XEYES(1)
All times are GMT -4. The time now is 04:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy