Ubuntu Corner

sudo apt-get update -y
sudo apt-get install -y libminizip-dev
Please go to this file using Terminal
sudo gedit /etc/gdm3/custom.conf
Uncomment this line(Remove # from the line)
WaylandEnable=false
Reboot your system🔖
Issue: When you try to log in to Ubuntu after starting up, you get taken right back around to the same login screen, and the process repeats indefinitely.
Solution:
Step 1: Press Ctrl + Alt+F3/F4
Step 2: Enter Username and Password
Step 3:
sudo nano /etc/gdm3/custom.conf
Step 4:
Uncomment this line(Remove # from the line)
AutomaticLoginEnable= true
AutomaticLogin=user1(Computername)
Step 5: Ctrl+S to save ,Ctrl+X to exit the file
Step 6: reboot
The command to use as a super user on Ubuntu system
sudo nautilus
Guest Removal Ubuntu 16.04
sudo mkdir /etc/lightdm/lightdm.conf.d
sudo sh -c 'printf "[SeatDefaults]\nallow-guest=false\n" > /etc/lightdm/lightdm.conf.d/50-no-guest.conf'
restart system
📶
How can I create launchers on my Ubuntu desktop
cd usr/share/applications/anydesk.desktop ~/Desktop
chmod +x ~/Desktop/anydesk.desktop
Important apt Commands
apt Command
Function of the command
apt install
Installs a package
apt remove
Removes a package
apt purge
Removes package with configuration
apt update
Refreshes repository index
apt upgrade
Upgrade all upgradable packages
apt autoremove
Removes unwanted packages
apt search
Searches for the program
USEFUL LINUX COMMANDS 😁
system information
command
Description
date
show the current date and time
uname -a
show kernel information
cat /proc/cpuinfo
cpu information
cat /proc/meminfo
memory information
man command
show the manual for command
UBUNTU SHORTCUTS 😎
Shortcut
Usage
Ctrl+C
halts the current command
Ctrl+Z
stops the current command
Ctrl+D
log out of current session, similar to exit
Ctrl+W
erases one word in the current line
Ctrl+U
erases the whole line
Ctrl+R
type to bring up a recent command
!!
repeats the last command
exit
log out of current session
How to Know if Your System Uses MBR or GPT Partitioning on Linux
sudo parted -l
BOOT KEY
BIOS KEY
Last updated