TECH TIPS

How can I suspend/hibernate from command line?

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....

How to start GUI 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

How to check battery status using terminal?

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:...

Why doesn’t running “sudo shutdown now” shut down?

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...

How to start Ubuntu in Console mode

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...

Boot Ubuntu 16.04 into command line / do not start GUI

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...

We Want to Help

Whatever your project or need,

we are here to serve.