by ray | Sep 27, 2018 | Linux / Ubuntu
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:...
by ray | Sep 27, 2018 | Linux / Ubuntu
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...
by ray | Sep 27, 2018 | Linux / Ubuntu
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”...
by ray | Sep 27, 2018 | Linux / Ubuntu
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...
by ray | Sep 27, 2018 | Linux / Ubuntu
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....