Code Monkey home page Code Monkey logo

gnome-disable-gestures's Introduction

gnome-disable-gestures

A GNOME extension that disable all GNOME built-in gestures. Useful for kiosks and touchscreen apps.

The original implementation of Disable Gestures extension by mattbell87 doesn't work when single-finger drag down from top of the screen. katastrophal had provided an implementation at reddit and osoplex also provided another implementation at reddit too. Unfortunately none of these implementations were published to extensions.gnome.org.

This repo is created for the purpose to publish the extension using katastrophal's implementation.

Development resources

Appendix

Original implementation by mattbell87:

global.stage.get_actions().forEach(a => a.enabled = false);

katastrophal's implementation at reddit:

let disableUnfullscreenGesture = () => {
  global.stage.get_actions().forEach(a => { if (a != this) a.enabled = false;});
}
global.display.connect('notify::focus-window', disableUnfullscreenGesture);
global.display.connect('in-fullscreen-changed', disableUnfullscreenGesture);

osoplex's implementation at reddit:

global.stage.get_actions().forEach(a => global.stage.remove_action(a));

gnome-disable-gestures's People

Contributors

alesya-h avatar pedrolcl avatar verycrazydog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gnome-disable-gestures's Issues

update for gnome 46?

hello!

been using your extension for a long time, thank you for the updates through the years.

will you be updating to gnome 46 since ubuntu 24.04 lts is underway?

thanks!

gnome42 not working

trying to disable gestures on ubuntu22.04, but 22.04 is using gnome 42, and the gnome 41 version doesn't make gestures disabled, how could i do it on 22.04?

Gnome Shell 43-45 compatibility

Hi,
could you check compatibility with Gnome Shell 43, 44 and 45 and update the extension's info?

From a quick skim, 43 and 44 shouldn't be a problem, however 45 introduces breaking changes to extension.js that might be an issue here.

I'm mostly interested in Gnome 43 as that's what Debian 12 ships with, so I'll try verifying compatibility with this one myself.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.