How to turn off monitor?

Hii! Is it possible to turn monitor state into standby mode in Java? Thx.

synu wrote:
Hii! Is it possible to turn monitor state into standby mode in Java? Thx.No.

Similar Messages

  • [SOLVED] How to turn off monitor at CLI

    Hi
        I've been trying to find a way to turn off my monitor, but the solutions I've found were almost all for X environment.
        The best hint I've got was add following lines to /etc/rc.local:
    setterm -blank 1
    setterm -powersave on
    setterm -powerdown 1
    With that, monitor was suppose to blank screen after 1 minute and, after another 1 minute, shutdown. But it only blanks and nothing more. Without the first line: "setterm -blank 1", it just don't do anything.
        Does anybody has idea of what else should I try?
        Thanks in advance.
    Last edited by vinicius (2009-02-27 02:48:43)

    Hi, Nezmer
    Even with aliases, I would have to type von with monitor turned off.
    I've done a script, witch is not a perfect solution, but works fine.
    monitor_off:
    #!/bin/bash
    # Check if X is running or not, turn off monitor, #
    # wait for a key press and turn it on again. #
    grep_result_file=$PWD'/x_running'
    # Check if X is running.
    ps -e | grep -e "\bX\b" > $grep_result_file
    ps -e | grep -e "\bxorg\b" >> $grep_result_file
    ps -e | grep -e "\bxserver\b" >> $grep_result_file
    ## If you want to check result file, uncomment following lines.
    #echo "===== $grep_result_file - begin ====="
    #cat $grep_result_file
    #echo "===== $grep_result_file - end ====="
    if [ ! -s $grep_result_file ] || [[ $(tty) =~ tty ]] || [[ $(tty) =~ vc ]]; then
    echo 'Detected X not runnig or you are at console...'
    if [ $UID -ne 0 ]; then
    echo 'You need super user privileges to run this script at console.'
    echo 'Rerun as super user or start X and run from a terminal.'
    exit 0
    fi
    turn_off='vbetool dpms off'
    turn_on='vbetool dpms on'
    else
    echo 'Detected X running...'
    turn_off='xset dpms force off'
    fi
    echo 'Turning off monitor...'
    $turn_off
    echo 'Waiting for a key press...'
    read -n1 -s
    echo 'Turning on monitor...'
    $turn_on
    rm $grep_result_file
    echo 'Finished: monitor_off'
    It checks if X is running or not because at X environment vbetool was a little slow, at least for me.
    That's it!
    I hope this could be useful for someone else.
    Thank you for helping, guys.
    Vinícius
    P.S.: I'm setting this thread as solved, but any suggestion about the script is welcome.

  • How to turn off screen on Macbook Air when connected to Computer LeD monitor?

    How to turn off screen on Macbook Air when connected to Led monitor screen?

    The only way you can turn it off is to close the lid - so you would need an external wired or wireless keyboard and mouse/trackpad attached.
    Matt

  • MiniDisplay to HDMI : How to turn off the Dual Monitor output when..

    miniDisplay to HDMI : How to turn off the Dual Monitor output when the adapter is attached and the TV is off ? And will keeping the adapter connected even if it is not in use, cause damage to the adapter ?

    I have my external monitor/tv setup of the left. If I leave the adapter attached with the TV off, I am still able to cross the border/boundry of my MBP screen ! As instead of detecting a TV, the MBP is detecting the adapter as a screen. I do not want to damage my thunderbolt/miniDisplay port by plugging and unpluggin the unit each and every time.

  • How to turn off double finder in maverick?

    Now that maverick has given me two finder top menus my applications don't work the same way. I use to stretch menus all over my two monitor. now everytime i do this the app window stay in one finder. and apps that have many menus like photoshop won't let me keep the menus on other monitor. how to turn off this feature?

    You beat me to the answer Barney-15E. I just found it out. after trying all day. must be telepathy.
    thanks for answering so quickly.

  • Bug: Windows 7 DLL call to turn off monitor message crashes LabVIEW 10.0f2

    Hi,
    I wanted to log this bug on the forum. I have already logged this with NI UK Support: CAR# 286873
    I was trying to find a way to turn off a laptop lcd
    monitor during measurements. I was trying to replicate this
    http://codereflect.com/2009/04/03/how-to-programmatically-turn-onoff-your-monitor/
    which uses windows messaging.
    I found the attached Monitor-1.vi somewhere on the forum that seems to do the above.
    However when I run the VI it crashes LabVIEW 10.f2 on Windows 7 32-bit.
    cheers
    David
    Solved!
    Go to Solution.
    Attachments:
    Monitor-1.vi ‏13 KB

    Hi Cosmin,
    That was it! Thank you so much!
    I will let NI UK support that you identified the issue and get them to close the CAR.
    cheers
    David
    Attachments:
    Turn off Monitor.vi ‏12 KB

  • ITunes disables Power Options- Turn Off Monitor

    If I just run iTunes on my Windows XP PC my monitor no longer turns off after the "Control Panel->Power Options->Power Schemes->Turn off monitor" time period has expired. The monitor stays on contiuously. This issue exists even if I exit iTunes. I need to manually go into control panel and reset the "Turn off monitor" setting.
    I suppose there might be a reason iTunes wants to disable this when it's executing but how about putting this energy saving setting back they way it found it when I exit iTunes.
    Is there a way to do this?
    Thanks,
    J

    Hello avalove2003,
    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More. 
    I have read your post on how your monitor is displaying an error message stating: "Power Button  Lockout", and I would be happy to guide you towards a resolution!
    Since you have already performed a factory reset on the monitor, I recommend contacting our technical support at 1-800-474-6836. If you live outside the US/Canada Region please click the link below to get the support number for your region.
    http://www.hp.com/cgi-bin/hpsupport/index.pl
    I hope this helps!
    Have a great weekend!
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • Yoga 2 Pro -- how to turn off switching mode notifications -- e.g. "tent mode", "tablet mode", etc?

    Does anyone know how to turn off the notifications that pop up in the upper right corner telling you that you have just changed from one configuration to another -- e.g. changing from tent mode to tablet mode?
    Solved!
    Go to Solution.

    Just disable it -
    Task manager > Startup > Click "Yoga Picks" > Click "disable"
    Next time you start your computer no more annoying pop ups.  If you want to be annoyed again you can always re-enable it.

  • I simply want to know how to turn off iCloud* without losing my contacts

    Call me old fashioned, but I really do NOT want to use iCloud EXCEPT for ONE THING*: and that's to find my phone, ipad or laptop if it goes missing.
    Having said that, I have figured out how to turn off icloud on my ipad and my iphone (I am not using the phone as a phone, just as a glorified ipod) while keeping the "find my ipad/iphone" function active, BUT
    I can't quite figure out how to do it on my laptop.
    I seem to have done it already for photos, and for the calendar, (I know this from checking iCloud to see what it's got) but just cannot figure out how to turn it off for contacts.
    And YES, I've backed up all of those things at LEAST 3 different ways, I just don't want the Cloud to be one of them.
    So can anyone tell me how to turn off contacts in the cloud without it also magically deleting them in my laptop? (I had it happen on the ipad, that's why I'm worried.)
    Thank you for understanding-I'm older and this stuff just keeps getting more complicated and I'm a simple person. I'll back up my own stuff!

    If you are refering to documents such as Pages and Numbers files....
    The only way around this is to "save as" you icloud documents using the associated app to a local folder on your mac.  Then turn off icloud.
    Of course, when you sign off of icloud, the docs are removed from the mac, but remain in icloud.  In the future when you sign back in, the documents are available to you again.
    Oh, and the icloud documents are also stored locally in ...
    ~/Library/Mobile Documents
    Note that Library in the user's home folder is now hidden, so you'll have to set Finder to view hidden files.
    The Mobile Documents folder has subfolder where copies of the doc/data files are stored.
    You can move these files to another folder to save them.

  • I'm using same icloud and same apple ID on two iphones. Now i get calls from same number on both iphones at the same time. How to turn off that?

    I'm using same icloud and same apple ID on two iphones. Now i get calls from same number on both iphones at the same time. How to turn off that?

    Apple ID's are not device specific, so when you changed it on the iPad 2 it changed it on the iPhone 4 as well, since it's the same account still. What you need to do is create a second Apple ID (so you'll have two accounts, one for iPhone 4 and a seperate one for iPad 2).
    To create a new Apple ID on your iPad 2:
    1) Go into Settings > Store.
    2) If you are already signed in, tap your Apple ID on the screen and you will be given a few options, one of which is to sign out of your account.
    3) After you sign out, now click the "Sign in" button.
    4) Tap "Create New Apple ID" and follow the instructions on-screen.

  • HT4314 Does anyone know how to turn off the pics of your Game Center friends showing on the right side of the screen while playing a game?

    Does anybody know how to turn off the pics of your Game Center friends that show while you're playing a game?

    Swamava,
    Thank you for the link you provided and I am glad I am not the only one with this problem, however beforeI install Adblock is it a free program or is there a fee you
    must pay to download the program? I am some what hesitant to be oblighted to
    a monthly or yearly bill.
    i

  • How to turn off pop-up blocker

    How to turn off pop-up blocker?

    Are you speaking of the one in the Firefox browser or Firefox OS?
    * Desktop Browser: [[Pop-up blocker settings, exceptions and troubleshooting]]

  • How to turn off voice over command in mac book pro 10.6.8

    how to turn off voice over command in mac book pro 10.6.8

    Open Universal Access preferences and disable it there.

  • How to turn off all the layers in one go?

    How to turn off all the layers in one go?
    In case the pdf file contains layers, then how to turn them all off in one go?
    Thank you for the help,
    Best
    Jamal

    able,
    What happens if you select both the grunge and the image and in the Transparency flyout tick Make Opacity Mask? You may try different ticking/unticking and colours.

  • How to turn off screen rotation on itouch 5

    I just upgraded to a 32 bit iTouch 5 and was wanting to know how to turn off the screen rotation when I'm playing music. I have the shake to shuffle off (great feature!) but would like to turn off the screen rotation. I just find that to be annoying (to me anyway)...how do I do this on the 5?

    Pull up the Control Center and lock the screen rotation. Tap the arrowed-circled padlock on the right side to toggle
    If the screen doesn't rotate on your iPhone, iPad, or iPod touch - Apple Support

Maybe you are looking for

  • IWeb not saving changes when published to folder

    Hello, I'm very new to iWeb and to the whole web-design in general. My problem is when working in iWeb, and I save (or publish, if it isn't the same) to a folder, it goes fine the first time. But when I republish (I use republish in order to save my

  • Solution Manager delete option

    Dear friends,    I am working in Solution Manager 4.0. In SOLAR01, under "project documentation" tab, we are having two delete options. They options are: 1. Delete row 2. Delete Assume that, i have uploaded one document in "project documentation' tab

  • Waiting for Authorization

    Hi, I am new to mac and know nothing about it. I just signed up for a jabber account and added my friends from my msn list. But they always shows "waiting for authoriztion". They didn't receive anything from me. How can I fix this? Thanks

  • Sned mail problem

    i written simple code to send mail .. when i run it sometime it send me mail but in most cases i am not able to get email my debug info say following Sending mail to [email protected] DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,

  • Biege G3 Minitower + OS 9--- Sleep Question!

    Hello Everyone, I have a beige G3 running 9.2.2 and it asks for a password at startup, but not from sleep. I want to know if it is possible to required a password to wake it from sleep like in OS X??? Thanks Jer