Ubuntu – Only show Unity launcher when left cmd/win key is pressed

11.1064-bitunity-2d

Ive seen plenty of guides on how to prevent the launcher/sidebar from ever auto-hiding, but how would I prevent it from ever showing except when I press the left cmd/win key?

Best Answer

For Unity

You can try CCSM Install ccsm to autohide the launcher.

To do that, install CCSM by clicking the link. After installing it, open CCSM and go to 'Ubuntu Unity Plugin' under Desktop.

Choose 'Autohide' option in the dropdown list next to 'Hide Launcher'. Now, the launcher will show if you move your cursor to the left side or you press the Meta key.

So, in order to prevent the launcher from appearing when you move your cursor to the left side, go to 'Reveal mode' in the same option page and unselect all the selected corners. If your dialog box looks like the picture below, your launcher won't appear even if you move your mouse to the left side.

enter image description here


For Unity-2d

You can try using dconf-tools Install dconf-tools.

Enter these commands in a terminal:

dconf write /com/canonical/unity-2d/launcher/hide-mode 1
dconf write /com/canonical/unity-2d/launcher/use-strut false

Alternatively, you can use the GUI of dconf-tools.

Go to com -> canonical -> unity-2d -> launcher and change hide-mode to 1 and untick the option in use-strut.

Note: For Unity-2d, editing the reveal mode for launcher is currently not available and hence, you can't prevent it from showing when you move your cursor to the left side.

enter image description here