|
How to ? -
Linux
|
|
Tuesday, 29 March 2011 21:42 |
This tutorial explains how to turn off the laptop monitor using a keyboard-shortcut. From the terminal run
{code} # gconf-editor {/code}
If gocnf-editor is not installed, install it with apt-get.
Then browse to apps->metacity->global_keybindings. There you can find Name and value columns. Some are filled. Unfilled ones have "value" set as "disabled". Select anyone of them and set the desired key. For me it was "run_command_1" in "Name" field. Set any key you want. For me it is "F8". You could set it by double clicking on the value field.
Now you have to assign the command to be invoked. For that move to the next option "keybinding_commands" (apps->metacity->keybinding_commands). Corresponding to the Name-Value pair set earlier set the command to be invoked. Here it is set as "xset dpms force off"
Now you could turn off the monitor using the F8 key or any key of your choice depending on which gloal_keybinding you set.
Add this page to your favorite Social Bookmarking websites
|
|
Last Updated on Tuesday, 12 July 2011 06:56 |