Hiding the sidebar in Ubuntu

I have two questions :

First, I wanted to hide Ubuntu’s side-bar, so I set the settings in appearance to 'autohide'. The side bar did indeed disappear but when I roll over the left side, the side bar don't appear again. So, I am using a virtual box. Can it explain the fact that this bar doesn't show again when it is set to autohide.

Second, assuming I wouldn't be able to come over the problem, I pined to the dock every element of the sidebar, except the dash home. Is it possible either to pin it in the dock or to launch it from the terminal ?


Solution 1:

Auto-Hide of side bar (or Ubuntu dock in 17.10 and later) in Ubuntu desktop can be easily done as following:

  1. Go to System Settings.
  2. Then go to Appearance (Dock in Ubuntu 18.04).
  3. Click on Behavior.
  4. Turn on the Auto Hide Launcher (Auto-hide the Dock in Ubuntu 18.04). By default it is off.

Solution 2:

Above solutions don't work for Ubuntu 17.10+,

for Ubuntu 17.10 GNOME Desktop,

goto Settings>Dock>Auto-hide the Dock and toggle it to hide automatically.

also, you can customize the position of sidebar and icon-sizes.