how to hide the top bar in ubuntu code example
Example 1: ubuntu top bar hide
sudo apt install gnome-shell-extension-autohidetopbar
For Ubuntu 20.04
Alt + F
Type "r" and press Enter to reload gnome shell
Example 2: hide top bar ubuntu 20.04
sudo apt install gnome-shell-extension-autohidetopbar