Showing a black screen


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Showing a black screen
# 1  
Old 06-06-2014
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 turn off the monitor, but neither of those do exactly what I want. The hardware I'm working with must remain on -- it's a pain, but it's a requirement.

If anyone could help me out, I'd appreciate it.

Thanks,
Zel2008
# 2  
Old 06-06-2014
It might help to know what your system actually is...
# 3  
Old 06-06-2014
OK. It's an Ubuntu system, 13.04 I believe. I don't know the monitor specifications, is that necessary?
# 4  
Old 06-06-2014
This describes the timeout settings in more detail:

display - Ubuntu 12.10 "Turn screen off when inactive for: Never" still turns off - Ask Ubuntu

And to force it off yourself, you can do sleep 1; xset dpms force off It should wake on interacted with.
# 5  
Old 06-06-2014
I don't think this is quite what I'm looking for. I want the screen to show a black screen, but I don't want the monitor to turn off. From what I understand after doing some research, the command you gave me will turn off the monitor completely, not create a black screen.
# 6  
Old 06-06-2014
Maybe you do understand. Really well. But the requirements writer did not.

The tty device for the monitor is still there when it is asleep. What your requirement really is: somebody likes the way you can have monitors "sleep" in windows and wants you to emulate it in ubuntu. It is a security feature as well as a power saver.

And the person creating the requirement does not know what having monitors "sleep" means exactly. If the monitor were "off" then hitting the keyboard would have no effect whatsoever. The monitor would stay black.
# 7  
Old 06-06-2014
100% right Jim, that's exactly what I need to do. Basically, we're rewriting a Windows application to run on Linux, so I'm supposed to emulate that functionality of being able to go idle and then wake up.

A little more detail -- the way I'm required to do this is through a web page connected to the computer via a tablet, so somehow I need to figure out how to make the computer go idle, and be able to wake it up from idle. The only way I can think of to do this is to call a command line script from PHP,

But, that brings us back to square one -- there are a million commands to turn off the monitor, but nothing to go idle. I don't care if I have to write a complicated script (as long as I can get a good idea of where to start, which I still don't have), but I don't really have a choice here in reinventing the wheel, do I?
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

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

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

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

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

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

7. Shell Programming and Scripting

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... (2 Replies)
Discussion started by: c_d
2 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
Login or Register to Ask a Question