Add or override the brightness slider to change the brightness via an alpha layer (and optionally stop using or cooperate with the exising backlight, if present). Either internal, external or all monitors can be dimmed. See the GitHub page for details. Note that this extension will keep running on the lock screen, as you'd also want the brightness setting to apply to the lock screen as well. Please report on GitHub if this gives you any trouble. This extension is a fork of the original 'Soft brightness' extension, and maintains support for new GNOME releases.
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
EGO-C49-005 error
extensions targeting GNOME 49 must not call Meta.CursorTracker.set_pointer_visible
This extension explicitly targets GNOME Shell 49 but still calls removed `Meta.CursorTracker.set_pointer_visible()`.
extension.js:990
this._cursorTracker.set_pointer_visible(true)
extension.js:1009
this._cursorTracker.set_pointer_visible(false)
EGO-X-004 warning
extensions should avoid synchronous file IO in shell code
Shell code should avoid synchronous file IO APIs like `GLib.file_get_contents()` and `Gio.File.load_contents()`.
utils.js:27
file.load_contents(null)
EGO-L-002 warning
objects created by extension should be destroyed in disable()
Objects assigned in `enable()` are missing matching `.destroy()` calls in `disable()` or its helper methods.
extension.js:844
this._cursorSprite = new Clutter.Actor({ request_mode: Clutter.RequestMode.CONTENT_SIZE })
EGO-L-004 warning
main loop sources should be removed in disable()
Main loop sources assigned in `enable()` are missing matching removals in `disable()` or its helper methods.
extension.js:1234
GLib.timeout_add(GLib.PRIORITY_DEFAULT, 2000, () => {
if (!this._disabled)
this._on_monitors_change();
return GLib.SOURCE_REMOVE;
})
EGO-M-008 warning
extensions using unlock-dialog must document it in disable() comments
Extensions using `unlock-dialog` should document the reason in `disable()` comments.
extension.js:180
disable() {
// In order to maintain the same brightness settings when the device is
// locked and unlocked, "session-modes" includes "unlock-dialog" in
// metadata.json. The extension will remain active while the lock screen
// is shown.
this._logger.log_
| Version | Status |
|---|---|
| 31 | Rejected |
| 30 | Rejected |
| 29 | Rejected |
| 28 | Rejected |
| 27 | Active |
| 26 | Rejected |
| 25 | Active |
| 24 | Rejected |
| 23 | Active |
| 22 | Active |
| 21 | Active |
| 20 | Rejected |
| 19 | Active |
| 18 | Active |
| 17 | Rejected |
| 16 | Active |
| 15 | Inactive |
| 14 | Active |
| 13 | Inactive |
| 12 | Rejected |
| 11 | Active |
| 10 | Rejected |
| 9 | Rejected |
| 8 | Rejected |
| 7 | Rejected |
| 6 | Rejected |
| 5 | Active |
| 4 | Rejected |
| 3 | Rejected |
| 2 | Rejected |
| 1 | Inactive |