Hot answers tagged shutdown
You can use the following script, #!/bin/bash zenity --question --text="Are you sure, proceed to shutdown?" if [ $? = 0 ]; then dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop else exit fi Usage save the script as shutdown.sh. Give it execution ...
Yes, you can assign a specific, non-used key-combination as a shortcut to shut-down. To assign Ctrl+Alt+Esc (or any other key combination) as the shortcut, go to System settings > Keyboard > Shortcuts > Custom shortcut and then add a new shortcut. The command should be dbus-send --system --print-reply --dest=org.freedesktop.ConsoleKit ...
You can use these options within job A: Stop before depended-upon service stop on stopping B Start after depended-upon service start on started B Reference: http://upstart.ubuntu.com/cookbook/#stop-on
gsettings set org.gnome.settings-daemon.plugins.power button-power shutdown will change your the behaviour of the power button of your system from interactive (default) to immediate normal shutdown. The command is gsettings set org.gnome.settings-daemon.plugins.power button-power <option> Available options are: Blank: does nothing Suspend: makes ...
Only top voted, non community-wiki answers of a minimum length are eligible