Control with terminal
In setttings i find the current-brightness settings:
settings --schemadir ~/.local/share/gnome-shell/extensions/[email protected]/schemas list-recursively
org.gnome.shell.extensions.soft-brightness-plus builtin-monitor ''
org.gnome.shell.extensions.soft-brightness-plus clone-mouse true
org.gnome.shell.extensions.soft-brightness-plus current-brightness 1.0
org.gnome.shell.extensions.soft-brightness-plus debug false
org.gnome.shell.extensions.soft-brightness-plus min-brightness 0.10000000000000001
org.gnome.shell.extensions.soft-brightness-plus monitors 'all'
org.gnome.shell.extensions.soft-brightness-plus prevent-unredirect 'when-correcting'
org.gnome.shell.extensions.soft-brightness-plus use-backlight false
Changing the current-brightness has no effect:
gsettings --schemadir ~/.local/share/gnome-shell/extensions/[email protected]/schemas set org.gnome.shell.extensions.soft-brightness-plus current-brightness 0.2
How to control brightness from terminal? This is useful for running command for custom keyboard shortcut.
This could be very usefull to remap keybind in gnome to send command to up and down brightness
Hey @cdalexndr and @TheNexter , With these 2 shell scripts put into ~/.local/bin/, you can control the extension from the terminal... I even set shortcuts Ctrl + Alt + ↑ and Ctrl + Alt + ↓ and it works like a charm!
- sbp-inc.sh — for increasing brightness.
- sbp-dec.sh — for decreasing brightness.
Please remove the .sh on the files. I added 'em cz I couldn't upload the files without a file type... I liked them that way cz I could simply run sbp-inc and it'd increase the brightness.
Hey @cdalexndr and @TheNexter , With these 2 shell scripts put into
~/.local/bin/, you can control the extension from the terminal... I even set shortcutsCtrl + Alt + ↑andCtrl + Alt + ↓and it works like a charm!
- sbp-inc.sh — for increasing brightness.
- sbp-dec.sh — for decreasing brightness.
Please remove the
.shon the files. I added 'em cz I couldn't upload the files without a file type... I liked them that way cz I could simply runsbp-incand it'd increase the brightness.
The extension is controllable from the terminal. You can see the hole behaviour described in the schema file but gsettings won't let you have it. You gotta use dconf as it's the one that can actually read the schema file. gsettings reads global ones only... I hope this helps 😄 .