GithubHelp home page GithubHelp logo

lomegor / remove-accessibility Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 6.0 21 KB

Gnome Shell extension to remove the Accessibility button

Home Page: https://extensions.gnome.org/extension/112/remove-accessibility/

License: GNU General Public License v3.0

JavaScript 100.00%

remove-accessibility's People

Contributors

lomegor avatar mariospr avatar mengzhuo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

remove-accessibility's Issues

Does not work on Ubuntu 12.04 with Gnome Shell 3.4.1

Here's modified code, that works here:

const Main = imports.ui.main;

function init() {}

function enable() {
    Main.panel._statusArea.a11y.actor.hide();
}

function disable() {
    Main.panel._statusArea.a11y.actor.show();
}

Please update compatibility string to 3.10/3.12

Please update for 3.10 and 3.12. On my high-resolutions screen, I like to have the fonts larger than the assumed DPI. (In fact, I want them set to the actual DPI.) In order to do this, I set the Scaling Factor in gnome-tweak-tool, which apparently enables Accessibility and makes the icon show, even though I don't want to change any of these options once I've set them.

No actual changes appear necessary โ€” just update the versions in metadata.json. Thank you!

Usage of object.actor is deprecated for ATIndicator

Hello,

On Gnome 3.36 the plugin is working fine but there are errors in my gnome-shell logs from this extension that I thought you might want to be aware of.

Related to this change: https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/487

If I'm reading the change correctly it seems like ATIndicator itself is likely a proper actor now, so it shouldn't need to access .actor.

Gnome 3.36 logs
Sep 16 14:44:56 icebox gnome-shell[137796]: Usage of object.actor is deprecated for ATIndicator
                                            get@resource:///org/gnome/shell/ui/environment.js:287:29
                                            _init@/var/home/pobega/.local/share/gnome-shell/extensions/removeaccesibility@lomegor/extension.js:37:9
                                            wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:82:27
                                            _Base.prototype._construct@resource:///org/gnome/gjs/modules/script/_legacy.js:18:10
                                            newClass@resource:///org/gnome/gjs/modules/script/_legacy.js:114:21
                                            enable@/var/home/pobega/.local/share/gnome-shell/extensions/removeaccesibility@lomegor/extension.js:72:19
                                            _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:166:32
                                            _enableAllExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:603:22
                                            _enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:602:37
                                            _sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:630:18
                                            _emit@resource:///org/gnome/gjs/modules/core/_signals.js:133:47
                                            _sync@resource:///org/gnome/shell/ui/sessionMode.js:195:14
                                            popMode@resource:///org/gnome/shell/ui/sessionMode.js:163:14
                                            _continueDeactivate@resource:///org/gnome/shell/ui/screenShield.js:499:30
                                            deactivate/<@resource:///org/gnome/shell/ui/screenShield.js:490:44
                                            finish@resource:///org/gnome/shell/gdm/authPrompt.js:523:13
                                            finish@resource:///org/gnome/shell/ui/unlockDialog.js:871:26
                                            deactivate@resource:///org/gnome/shell/ui/screenShield.js:490:26
                                            ScreenShield/</<@resource:///org/gnome/shell/ui/screenShield.js:109:57
                                            _emit@resource:///org/gnome/gjs/modules/core/_signals.js:133:47
                                            _convertToNativeSignal@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:169:19

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.