12

If you have multiple windows of the same application open and click on the application icon in the dock or the sidebar, then a small preview window is shown.

screenshot of window preview

That is annoying and I would rather like to switch to the application immediately. I think that was possible in previous Ubuntu GNOME versions.

How can I disable this small preview window in the dock?

3
  • @pomsky you replaced "sidebar" with "dock" in the question, so users that don't know that this is called "dock" (like me) won't be able to find this question with the answer. Maybe it is enough to mention GNOME sidebar here? :-) – klausi Sep 28 '18 at 18:45
  • 1
    Good idea! Edited and put sidebar in parentheses (brackets) too. :-) – pomsky Sep 28 '18 at 18:47
  • Also if you remember correctly this dock is not exactly the same thing from older Ubuntu GNOME releases (unless you also have been using the "Dash to Dock" extension). The "GNOME sidebar" (called dash) used to appear only in "Activities" overview, not always on your desktop. This dock is an extension shipped with Ubuntu 18.04 (a fork of Dash to Dock extension actually). – pomsky Sep 28 '18 at 18:59
15

On your Terminal run:

gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'skip'

Or you can try(This will allow you to cycle through the open windows by clicking on the icon):

gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'cycle-windows'

To revert the action:

gsettings set org.gnome.shell.extensions.dash-to-dock click-action 'previews'
1
  • 2
    Thanks a lot! The 'cycle-windows' option is exactly what I was looking for. – klausi Sep 27 '18 at 17:21
3

A perhaps more novice-friendly approach, that also allows you to see the other options that exist for this setting, would be using the Dash-to-Dock extension, which is actually what Ubuntu uses for its dock, albeit with less configuration options.

First, you need to be able to install GNOME Shell extensions, so make sure that you have chrome-gnome-shell and gnome-tweaks installed by running the following command in a terminal:

sudo apt install chrome-gnome-shell gnome-tweaks

Also, install the GNOME Shell integration extension for Chrome or for Firefox, depending on the browser of your choice.

Then, install Dash-to-Dock from the GNOME Shell extension website by turning the switch to ON and clicking Install.

After this, open Tweaks and go to ExtensionsDash to Dockclick the gear iconBehavior and select the Click action option that you wish.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.