48

I would like to switch between windows using the scroll wheel of the mouse over each app icon in Ubuntu dock, as we could do in Unity, but apparently this doesn't work in Ubuntu 17.10.

Is there a way to enable it?

enter image description here


Related: How do I enable 'minimize on click' on Ubuntu dock in 17.10 and later?

0
92

Open Terminal and run

gsettings set org.gnome.shell.extensions.dash-to-dock scroll-action 'cycle-windows'
15
  • 1
    Yes, it still works after reboot. – user246185 Oct 21 '17 at 21:12
  • Why there is no GUI support! not even by tweaks tool. – Amir Karimi Jan 28 '18 at 22:55
  • 1
    Tested on Ubuntu 19.10 (Eoan Ermine) and worked. – Mahdi Mar 20 '20 at 2:31
  • 3
    Tested it on Ubuntu 20.04 and works like a charm. – Ethunxxx May 24 '20 at 21:01
  • 1
    @Milan Try the detailed Solution 1 part from this answer posted to a similar question. – pomsky Jan 14 at 6:13
0

For those who get the message (pop_os 20.04):

No such schema “org.gnome.shell.extensions.dash-to-dock”

The solution is a longer:

gsettings --schemadir ~/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/schemas/ set org.gnome.shell.extensions.dash-to-dock scroll-action 'cycle-windows'

Explanations:

I've manually installed my dash-to-dock directly in the ~/.local/share/gnome-shell/extensions, which is where the schemas directory is located. It has to be specified explicitly.

Usage of gsettings:

gsettings [--schemadir SCHEMADIR] set SCHEMA[:PATH] KEY VALUE

Set the value of KEY to VALUE with Arguments:

  SCHEMADIR A directory to search for additional schemas
  SCHEMA    The name of the schema
  PATH      The path, for relocatable schemas
  KEY       The key within the schema
  VALUE     The value to set

To list the current KEYs and their VALUEs:

gsettings --schemadir ~/.local/share/gnome-shell/extensions/dash-to-dock@micxgx.gmail.com/schemas/ list-recursively org.gnome.shell.extensions.dash-to-dock

Source of inspiration

2
  • 2
    You'll get the No such schema “org.gnome.shell.extensions.dash-to-dock” in pop_os, but it's highly unlikely in a standard Ubuntu 20.04 installation. Ubuntu comes with the 'Ubuntu Dock' extension (fork of dash-to-dock) by default, hence the schema is present. On the other hand pop_os doesn't come with any such extension. In this aspect pop_os and Ubuntu are very much not the same. – pomsky May 7 at 18:53
  • You are correct, the schema was only for pop_os, edited to reflect your remark. And I had installed the extension manually. – calocedrus May 17 at 3:39

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.