Traditionally ubuntu supported a fairly blunt method of suspend and hibernate. Neither would integrate well with other apps and sometimes not even work on some machines. The new method doesn’t require root and notifies all applications listening for power events. Systemd Method Starting with Ubuntu 16.04, systemctl call must be used (See Suspend command in Ubuntu 16.04) systemctl … Read moreHow can I suspend/hibernate from command line?
If you tried the command startx, but the error command not found was returned, then to install a graphical desktop, in case it is not installed, you would type this: sudo apt-get install ubuntu-desktop
The below command outputs a lot status and statistical information about the battery. The /org/…path can be found with the command upower -e (–enumerate). upower -i /org/freedesktop/UPower/devices/battery_BAT0 Example output: native-path: /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 vendor: NOTEBOOK model: BAT serial: 0001 power supply: yes updated: Thu Feb 9 18:42:15 2012 (1 seconds ago) has history: yes has statistics: yes battery present: yes … Read moreHow to check battery status using terminal?
Traditionally, the command sudo shutdown now will take you to the runlevel 1 (recovery mode); this will happen for both Upstart and SysV init. To get what you want, i.e., to shut down the computer properly, you need to give the -h switch to shutdown. One thing to note here is that halt will close all the processes, turn off the CPUs … Read moreWhy doesn’t running “sudo shutdown now” shut down?
As described here (ubuntuhandbook.org – Boot into text console ubuntu) you need to edit /etc/default/grub to have the next boot end up in text mode. In summary you will set these parameters: GRUB_CMDLINE_LINUX_DEFAULT=”text” GRUB_TERMINAL=console After saving changes you need to run: sudo update-grub sudo systemctl set-default multi-user.target Undoing text-mode To undo sudo systemctl set-default multi-user.target simply type sudo systemctl … Read moreHow to start Ubuntu in Console mode
You could disable the display manager service with systemctl for example if your display manager is lightdm the run sudo systemctl disable lightdm.service. This will prevent the service from starting at boot. I forgot to mention how to start the GUI, Its as simple as starting the service sudo systemctl start lightdm.service
The advantages of text modes as compared to graphics modes include lower memory consumption and faster screen manipulation. Text mode or console mode or command line mode saves a lot of RAM uses so most of the time it is very beneficial to boot desktop in text mode. This post is a simple explanation to how … Read more5 Steps Start Ubuntu 16.04, 17.04 in Text Mode
Many of us are not familiar with the exact difference between the various power saving modes in a Windows computer like Sleep, Hibernation or Hybrid Sleep. In this article, we will see the difference between these terms. Sleep is a power-saving state that allows a computer to quickly resume full-power operation (typically within several seconds) when you want to start … Read moreDifference between Sleep, Hybrid Sleep & Hibernation in Windows 10/8/7
Generally the F2 key is used to enter the Lenovo’s notebook’s BIOS Setup, but some new models have a special button called Novo to replace Lenovo BIOS Key. If your Lenovo uses F1 or F2 key you can access to your BIOS by start pressing on to your key a few times to your BIOS setup key just … Read moreLenovo BIOS Key