Ubuntu – Switching between windows with scroll wheel on Ubuntu Dock

gnome-shellmouse scrollubuntu-dockwindow

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?

Best Answer

Open Terminal and run

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