Contents

Things I Do On Focal Fossa

Ubuntu 20.04 was released on 2020 and it brings plenty of new features. In this article, i will share some of Focal Fossa configuration for personal use.

Hide The User Login List

Hiding this feature is good choice if you want to increase security on the login screen. I always do this since Ubuntu 14.04. According to the tipsonubuntu.com, this is the only way to hide the user list in login screen of Focal Fossa which is different to the older version of Ubuntu.

  1. Hiding the User List The main instruction is to disable-user-list in gnome.login-screen. In short, just copy the command below in your Terminal
1
2
3
4
5
sudo -i
xhost +SI:localuser:gdm
su gdm -l -s /bin/bash
export DISPLAY=:0
gsettings set org.gnome.login-screen disable-user-list true
  1. Restore to the default changes
1
2
3
4
5
sudo -i
xhost +SI:localuser:gdm
su gdm -l -s /bin/bash
export DISPLAY=:0
gsettings reset org.gnome.login-screen disable-user-list

Hide GRUB Menu Selection

This is the most important for me if you are using dual boot in your PC. In my opinion, boot selection in every boot will cost time about 10-30s at the boot time. This can be done by disabling OS Prober in /etc/default/grub with GRUB_DISABLE_OS_PROBER. According to the ubuntu community, this entry is used to prevent GRUB from adding the results of os-prober to the menu. A value of “true” disables the os-prober check of other partitions for operating systems, including Windows, Linux, OSX and Hurd, during execution of the update-grub command.

  1. First of all you need to open Terminal then follow this command below
1
sudo -H gedit /etc/default/grub
  1. Then add this flag below on any line, after that save the file & exit
1
GRUB_DISABLE_OS_PROBER=true
  1. Back to the Terminal, then update the grub setting
1
sudo update-grub

Windows Like “click-action”

This config is good if you want Ubuntu docks looks like Windows. You can set it manually from Terminal then type this command below.

1
gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'minimize-or-overview'

You can revert to the default option by running this command below.

1
gsettings reset org.gnome.shell.extensions.dash-to-dock click-action

Hide Home Folder & Trash Icons from Desktop

In Ubuntu 20.04, the home folder and trash icon are displayed on the desktop by default. For those who like to see a clean desktop from these two icons, do the steps below in Terminal.

  1. This command below will hide home folder icon from the desktop
1
gsettings set org.gnome.shell.extensions.desktop-icons show-home false
  1. This command below will hide trash icon from the desktop
1
gsettings set org.gnome.shell.extensions.desktop-icons show-trash false

You can revert to the default option by running this commands below.

1
2
gsettings reset org.gnome.shell.extensions.desktop-icons show-home
gsettings reset org.gnome.shell.extensions.desktop-icons show-trash

References