Standy by mode/ resume screen

Last update on December 22, 2008 11:18 AM by aakai1056
Published by aakai1056

Standy by mode






This tip will show you how to go to stand by and resume screen using a command line :

Allow access for X session


From the manual or automatic X session, run the following command:
xhost +

This command disables all access controls

Specifying the display manager


Your console is not attached to the X session, it must be state the display to act on:
export DISPLAY =: 0


xset dpms standby force / / passing the monitor in standby

Stand by mode


xset dpms standby force // put le monitor on standby mode

Activation


xset dpms force on // wake up screen
xset s reset // Resume screen

Case Study


In this tips, we will show how to set the standby mode/resume in a specific time.



# cat manageDisplay0.sh
#!/bin/sh

export DISPLAY=:0

case "$1" in
stop)
xset dpms force standby
;;

start)
xset dpms force on
xset s reset
;;
  • )

echo "Usage: $0 {start|stop}"
exit 1
esac
exit 0
# crontab -l
00 21 * * 1-5 /root/scripts/manageDisplay0.sh stop >/dev/null 2>&1
00 07 * * 1-5 /root/scripts/manageDisplay0.sh start >/dev/null 2>&1
Best answers for « Standy by mode/ resume screen » in :
ERROR CAPI_WORKER module with Sony-Ericsson PC Suite ShowERROR CAPI_WORKER module with Sony-Ericsson PC Suite After installation of Sony-Ericsson PC Suite, the following error appears on your screen at every Windows startup: "CAPI_Worker module has encountered a problem and needs to...
Screen ShowScreen Intro Opening a screen session Seperating a screen session Return to a screen session Closing a screen session Seperating a window into several parts Splitting the terminal Switch to the new window Open a new terminal Managing...
MSIMN caused an invalid page fault DS module Directdb.dll ShowMSIMN caused an invalid page fault DS module Directdb.dll File Error Folders.dbx Solution Error file Messages.ods Solution During the launch of Outlook Express, the following error message appears on your screen: MSIMN caused an...
Download Theme Maker ShowTo obtain good results, it is necessary to work in the best conditions and in a customized work environment. Theme Maker is a program which allows to customize, create or of change your cursors, your icons and bottom of screen. Modify and customize...
Download Animated Screensaver Maker ShowIf you have pictures of visual qualities and of high resolutions which you would definitely like to use as screen of wakefulness, without making them therefore march in diaporama. This tool is made for you. Animated Screensaver Maker is as his name...
Computer screen or monitor ShowIntroduction to computer monitors A monitor (or screen) is a computer display unit. There are generally said to be two families of monitors: Cathode-ray tube monitors (or CRT for short), which are used with most desktop computers. They are...
Data transmission - Transmission modes ShowTransmission modes A given transmission on a communications channel between two machines can occur in several different ways. The transmission is characterised by: the direction of the exchanges the transmission mode: the number of bits sent...
Creating a WiFi network in infrastructure mode ShowPresentation of the WiFi infrastructure network The set-up of a Wi-Fi network in infrastructure mode is very similar to that of a computer-to-computer Wi-Fi network except for the following differences: A Wi-Fi network in infrastructure mode...