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
If you get following error, when you try to start nginx… [emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use) Then it means nginx or some other process is already using port 80. You can kill it using: sudo fuser -k 80/tcp And then try restarting nginx again: service nginx start
Looking for laptop overheating solutions in Linux? Trust me, you are the not the only one facing laptop overheating issue in Linux. As the mercury rises in the summer season, the fan speed of the computer goes nuts. If you are using a laptop, it becomes unbearable to use it in your lap for its bottom is too … Read moreMost Effective Ways To Reduce Laptop Overheating In Linux
https://techtips.easycloudsolutions.com/2018/08/05/ubuntu-18-04-getting-nvidia-to-work-on-hp-8440p/ https://techtips.easycloudsolutions.com/2018/08/04/ubuntu-18-04-after-logging-in-black-or-blank-screen/ https://techtips.easycloudsolutions.com/2018/07/14/ubuntu-failed-to-start-nvidia-persistence-daemon/ https://techtips.easycloudsolutions.com/2018/04/19/how-to-install-latest-nvidia-drivers-in-ubuntu/