Is there a way to have the same behavior from Unity, where if you had multiple windows from the same application open, when you click on the icon in the Dock (Launcher in Unity), it will open the last used window.

The new GNOME on Ubuntu 17.10 repeatedly gives you a popup to choose which window you want? Is there a way to revert to the Unity behavior?

See screenshot below:

enter image description here


It seems that the behavior of the click action can be changed with:

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

cycle-windows is the closest behavior to unity.

You can list other values with:

gsettings range org.gnome.shell.extensions.dash-to-dock click-action

If anyone is looking for even more Unity-like behaviour, ie open last window on a particular monitor, just set the following

gsettings set org.gnome.shell.extensions.dash-to-dock isolate-monitors true

If you have multiple monitors, this will cause a window to open on the monitor which you click the dock icon on.

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.