Is there a way to move the dock to the top of the screen in GNOME? I wanted to test the new GNOME but not being able to set the dock to the top of the screen in previous GNOME versions was a deal-breaker so I have been running Mint for years.
1 Answers
In Ubuntu, you can move the dock to the top with a shell command (variation of the command provided here):
gsettings set org.gnome.shell.extensions.dash-to-dock dock-position TOP
Although this fully answers your question, you may run into other issues: the option is not exposed in the settings dialog. Therefore, placing the dock to the top will cover your top bar. Following are some options:
Shrink the dock so it is centered
You could shrink the dock so that it only covers the center of your top bar:
gsettings set org.gnome.shell.extensions.dash-to-dock extend-height false
Still, that will cover your clock, so you could move it right using an extension (Frippery move clock).
Moving top bar to the bottom
With the dock above, you could move the top bar to the bottom with the extension BottomPanel.
Autohiding the top bar
Instead, you could hide the top bar using the extension Hide Top Bar.
Combining dash and top bar
You could merge top bar and dock. The extension defaults to placing the panel on the bottom, but it can be moved to the top.
gsettings set org.gnome.shell.extensions.dash-to-dock autohide true
Any gsettings command can be easily reverted by issuing the same command, but leving out the actual setting and changing set by reset, e.g.:
gsettings reset org.gnome.shell.extensions.dash-to-dock autohide
- 97,564