2

I'm running a kiosk touchscreen through Chromium. I've got it setup so that a Chromium application is running with the --kiosk flag, which prevents access to the OS.

The problem I have is with the multi-touch gestures. The gestures I would like to disable for GNOME are listed here and are 3 and 4 touch gestures. These gestures allow users to exit the Chromium kiosk application, which is obviously not what a user should be able to do.

My question is, how do I disable these multi-touch gestures?

If possible I would like to enable/disable these multi-touch gestures from the command line as part of my startup script.

Edit: I've recorded a video demonstration of the multi-touch gesture if the Ubuntu multi-touch document wasn't clear.

3
  • See bugs.launchpad.net/ubuntu/+source/unity/+bug/1589520 → you should have a look in gsettings (e.g. gsettings list-keys com.canonical.Unity.Gestures).
    – ponsfrilus
    Aug 16, 2018 at 11:06
  • @ponsfrilus 18.04 doesn't use Unity; GNOME is used instead. Is there something under org.gnome.*?
    – Enijar
    Aug 16, 2018 at 15:00
  • 1
    these settings are available in Ubuntu 18.04 running GNOME. You can check the full list with gsettings list-schemas. You can also search if it's feasible with xinput...
    – ponsfrilus
    Aug 16, 2018 at 15:47

1 Answer 1

3

It seems these gestures cannot be disabled with gsettings.

However, the Gnome Shell Extension "Disable Gestures" worked perfectly for me.

Automated Installation

I recently added an installation command to gnome-shell-extension-tool. This is not merged into upstream yet. But the whole tool is just a single Python 3 script. So you can simply download and use my patched version of the file and run the following to install and enable [email protected]:

# Download extension
wget "https://extensions.gnome.org/extension-data/disable-gestures%40mattbell.com.au.v2.shell-extension.zip"

# Install extension
gnome-shell-extension-tool -i [email protected].*.zip

# Enable extension
gnome-shell-extension-tool -e [email protected]
7
  • I have seen this, but is there a way to automate the installation of this extension as part of my provisioning script?
    – Enijar
    Oct 2, 2018 at 14:06
  • @Enijar I added installation instructions.
    – raphinesse
    Oct 5, 2018 at 21:48
  • I'm getting gnome-shell-extension-tool: error: no such option: -i Mar 3, 2020 at 21:28
  • @JonathanTuzman Did you use my patched version of gnome-shell-extension-tool? My changes were never merged into the upstream version, so the -i option is not available there.
    – raphinesse
    Mar 3, 2020 at 22:59
  • Hi, I'm facing the same problem OP was, but I'm not able to get rid of this behavior. I'm running Ubuntu 18.04 with this disable-gestures extension but nothing has changed. I'm getting increasingly frustrated with this. @Enijar did you finally manage to get rid of it? Could you please walk again thru the steps in case I missed something? Thanks a lot
    – drakorg
    Jun 19, 2021 at 2:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .