Ubuntu- How to shutdown when power button pressed.
Ubuntu is a complete Linux operating system, freely available with both community and professional support. Ubuntu is suitable for both desktop and server use. Ubuntu includes more than 1000 pieces of software. Ubuntu is built on Debian's architecture infrastructure, and comprises Linux server, desktop and discontinued phone and tablet operating system versions.
In Ubuntu when you press the power button on your computer you are prompted with a list of option-this is the "interactive" shutdown.
The steps below show how to change this so that the power button automatically run shutdown without using interactive shutdown prompt.
1. Press Ctrl + Alt + T on your keyboard to open terminal.
2. Run the following point
3. gsettings set org.gnome.settings-daemon.plugins.power button-power 'shutdown'
4. Close the terminal
5.The power button will now automatically run the shutdown command.
1. Press Ctrl + Alt + T on your keyboard to open terminal.
2. Run the following point
3. gsettings set org.gnome.settings-daemon.plugins.power button-power 'shutdown'
4. Close the terminal
5.The power button will now automatically run the shutdown command.
EmoticonEmoticon