![]() Since hibernate is normally disabled by default in Ubuntu systems, you can enable this by checking this answer. ![]() (This is due to Ubuntu's shift in using systemd instead of Upstart) systemctl poweroff Hibernate: (if enabled on your system) /usr/bin/dbus-send -system -print-reply -dest="" /org/freedesktop/UPower Suspend: /usr/bin/dbus-send -system -print-reply -dest="" /org/freedesktop/UPower In the menu that appears, select the Restart. RELATED: How to Shut Down Your Mac Using Terminal. First, select the Apple icon at the top-left corner of the computer’s interface. Restart: /usr/bin/dbus-send -system -print-reply -dest="" /org/freedesktop/ConsoleKit/Manager .RestartĬonsolekit should of course be installed your system. The quickest (and easiest) way to restart your Mac is by using the power options from the Apple menu on the desktop. Shutdown: /usr/bin/dbus-send -system -print-reply -dest="" /org/freedesktop/ConsoleKit/Manager .Stop A safe way to do this without using sudo and without tinkering with the system, is by executing these one-liner commands: For Ubuntu 14.10 or earlier:
0 Comments
Leave a Reply. |