Disabling swipe to switch workspaces
Environment
- Red Hat Enterprise Linux (RHEL) 8
- Red Hat Enterprise Linux (RHEL) 9
Issue
Swiping up or down with three fingers switches the workspace on a touch screen.
Resolution
You can disable the workspace switching.
Root Cause
The default behavior of the GNOME desktop.
Diagnostic Steps
-
Log into the GNOME desktop session.
-
Install the
gnome-shell-extension-gesture-inhibitor
package:# dnf install gnome-shell-extension-gesture-inhibitor
-
Restart your your desktop session.
-
Enable the
gesture-inhibitor
GNOME Shell extension.On RHEL 9, you can use the following command:
$ gnome-extensions enable gesture-inhibitor@gnome-shell-extensions.gcampax.github.com
-
Restart your desktop session.
-
Disable the workspace switching using the extension:
$ gsettings set org.gnome.shell.extensions.gesture-inhibitor workspace-switch false
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments