f-i-f / soft-brightness Goto Github PK
View Code? Open in Web Editor NEWGnome-shell extension to manage your display brightness via an alpha overlay (instead of the backlight).
License: GNU General Public License v3.0
Gnome-shell extension to manage your display brightness via an alpha overlay (instead of the backlight).
License: GNU General Public License v3.0
Perhaps it would make sense to allow the slider to only affect the monitor it's on.
I would love to have this brightness manager available on KDE Plasma and/or as a standalone CLI. Would this be possible? Is it in the roadmap?
Hello and thank you for this great extension.
Could you please provide schema to it?
This way particular brightness settings could be easily bound to keyboard shortcuts with e.g:
gsettings set org.gnome.shell.extensions.soft-brightness current-brightness 0.6
All the Best.
Maybe it's possible to define a brightness level that adjusts based on the time of the day? Or one that adjusts to Gnomes NightLight Time Settings?
After the first login into Gnome, the Cursor are not visible. I have to change the Brightness in the Extension, then the Cursor shows up.
It would be nice if there was an option to give, say, the upper 50% of the slider to setting the laptop's brightness, with the lower 50% controlling the alpha overlay.
This would be far better for controlling the brightness than having two brightness controls, one being the usual slider for the overlay, and the other being Fn+F? for the panel's brightness.
I tried implementing this myself, but I didn't have an idea as to where to start.
The way this would be implemented might be something like this (pseudocode):
if (brighness slider > 50%) {
setDisplayBrightness(full_brightness);
setOverlayBrightness(brightness slider / 2);
} else {
setDisplayBrightness(brightness slider / 2);
setOverlayBrightness(0);
Thanks in advance!
Are there any plans for Gnoem 43 support ? :)
Thanks a lot for the great extension first of all!
I tried to port the extension manually to Gnome 42 (on Fedora 36) for testing but it seems to cause some wild flickering of the cursor
and the screen.
I don't have the knowledge to debug it but I'd be happy to provide debug logs etc
Recent update from Gnome Extensions causes the mouse to disappear when the overlay is activated by decreasing the brightness. Installed manually from git, same issue. I assume it's because the overlay is now covering the mouse where previously it was under the mouse.
Gnome 3.32.1
The cursor becomes size set by scale 100% when using an HDPI display even if the scale is set to a larger value, like 200%. This makes the cursor much smaller and undoes the setting of the scale. The workaround is to disable the "mouse brightness control setting".
Cursor scaling does not work correctly on a 4k display when mouse cursor brightness control is on.
Disabling "Use backlight control" option is great if one wants to be able to control backlight brightness and overlay opacity separately. Though it also changes the behavior of Gnome's brightness slider so that it controls overlay opacity instead of backlight brightness, which forces to use hotkeys to change the backlight brightness. I would like the slider behavior to remain unchanged, would it be possible to add a second slider that controls overlay opacity?
sorry i accidentally closed this issue (#45). The problem persists:
After the first login into Gnome, the Cursor are not visible. I have to change the Brightness in the Extension, then the Cursor shows up.
I am well aware that the extension does not currently support GNOME 41, but I did try to do a manual install and it seems the build process fails at the meson install
command. Here's the output of the build:
ninja: Entering directory `build'
[0/1] Installing files.
Installing gschemas.compiled to /home/nilanjan/.local/share/gnome-shell/extensions/[email protected]/schemas
Installing /tmp/soft-brightness/schemas/org.gnome.shell.extensions.soft-brightness.gschema.xml to /home/nilanjan/.local/share/gnome-shell/extensions/[email protected]/schemas
Installing /tmp/soft-brightness/src/extension.js to /home/nilanjan/.local/share/gnome-shell/extensions/[email protected]
Installing /tmp/soft-brightness/src/prefs.js to /home/nilanjan/.local/share/gnome-shell/extensions/[email protected]
Installing /tmp/soft-brightness/src/utils.js to /home/nilanjan/.local/share/gnome-shell/extensions/[email protected]
Installing /tmp/soft-brightness/build/metadata.json to /home/nilanjan/.local/share/gnome-shell/extensions/[email protected]
Installing /tmp/soft-brightness/meson-gse/lib/convenience.js to /home/nilanjan/.local/share/gnome-shell/extensions/[email protected]
Installing /tmp/soft-brightness/meson-gse/lib/logger.js to /home/nilanjan/.local/share/gnome-shell/extensions/[email protected]
Installing /tmp/soft-brightness/dbus-interfaces/org.gnome.Mutter.DisplayConfig.xml to /home/nilanjan/.local/share/gnome-shell/extensions/[email protected]/dbus-interfaces
Running custom install script '/tmp/soft-brightness/meson-gse/meson-scripts/install-po soft-brightness /home/nilanjan/.local/share/gnome-shell/extensions/[email protected]/locale'
--- stdout ---
Unknown subcommand.
--- stderr ---
FAILED: install script '/tmp/soft-brightness/meson-gse/meson-scripts/install-po soft-brightness /home/nilanjan/.local/share/gnome-shell/extensions/[email protected]/locale' exit code 1, stopped
FAILED: meson-install
/usr/bin/meson install --no-rebuild
ninja: build stopped: subcommand failed.
PS: appreciate the awesome work that you do and I love this extension. It is also only way I have to control my laptop's screen brightness, so please add 41 support as soon as possible.
Hello. I like this extension.
But i guess its feature to use screen dimming and backlight control isnt ideal.
Currently it does use whole slider to set both values.
My idea is to set backlight brightness in first stage (50% - 100% range), and dimming in 2nd stage (0% - 50%). (as optional feature)
0% - minimum backlight value, screeen dimmed by sw
50% - minimum backlight value, screen not dimmed by sw
100% - maximum backlight value, screen not dimmed.
50% can be configurable to any percentage needed.
im using this extension to lower my minimal possible screen brightnes, but now it seems that when i dont set brighness to 0%, i have bright backlight even its dimmed.
Thanx.
The overlay seems to still exist even when the brightness slider is all the way up. Since this extension uses around 10-20% of my CPU I have to disable the extension completely. Fixing this should be as simple as turning off the overlay code when brightness is at 100%.
This is an enhancement request, I'd love if this extension had keyboard shortcuts I could use to change the brightness.
During normal usage, a static mouse cursor will be displayed at the top left of the screen at random. It does not interfere with the usage of the normal cursor, however; it makes it so that there's 2 cursor on screen. I tried to take screenshot, but it disappears when my screen capture is turned on.
I've tried to collect the log as mentioned in the extension site, but I don't think there's anything of value here.
Edit*: I just realized I forgot to turn on debug. Will post the log once the bug surfaces.
Hello!
I found out this interesting applet for adjusting the brightness.
This applet has option to use xrandr gamma brightnes, which is helpfull, but the actuall brightness of monitor does not change.
The ddcutil offers configuration of the monitor settings, that you would normally have to set via monitor keys. https://www.ddcutil.com/
The ddcui is GUI that also enables setting the monitor brightness via slider.
It would be great if this applet would be able to control actual monitor brightness (via ddcutil)
Ubuntu 18.04 does include ddcutil (cli) which can adjust brightness.
Here is blogpost how to use ddcutil: https://blog.tcharles.fr/ddc-ci-screen-control-on-linux/
(note: I have radeon graphics card with open source driver. I don't know how well it works on intel/nvidia)
When I enable soft-brightness
in 3.38.1 the mouse cursor disappears.
Arch 5.4
Thanks
Steps to reproduce:
The 100% brightness for the gnome is not 100% any more.
I mentioned that, because switching to mate or creating another user and login to gnome has the expected brightness.
disabling or even removing, reinstalling the extension didn't help at all.
i help myself buy increasing the brightness with xrandr using sth. like
xrandr --output DVI-D-0 --brightness 2.5
But this is 100% incorrect, because making a screenshot of the monitor shows the problem clear.
I guess another value is somewhere changed, that i cant find. i investigated all values in dconf-editor without any success.
I hope anybody has an idea how to solve this problem.
Thanks in advance
Extension version: 18
Gnome-shell version: 3.35.91
Mutter version: 3.35.91-1ubuntu1
on Ubuntu 20.04
I tried installing the latest version of the program in 3 different ways:
Through the Gnome extensions wab application
By downloading the latest release (v18) from the gitHub repository and placing it in ~/.local/share/gnome-shell
and by cloning the repository with git git clone https://github.com/F-i-f/soft-brightness.git ~/.local/share/gnome-shell/extensions/[email protected]
In none of the cases the icon is displayed in the tray bar, the extension is not listed in Extensions of Ubuntu. The application is listed in gnome tweaks but it's not possible to toggle it on, also accessing to the configuration panel is impossible.
Hi,
This extensions performs as described and softens the brightness. However, this is done via both 'backlight' and 'alpha' tuning. Since the major reason a person would dim their screen is to preserve battery, it would be helpful to add a note to clarify how this combination can be interpreted in terms of battery life.
For example, after installing this and enabling backlight control, I am able to set my brightness bar is at approx half. The screen is dimmer than before at very low brightness, but I am not sure if I am using more or less battery than I was before due to the alpha/backlight interaction.
Greetings,
Let me preface this by mentioning that I love this plugin, it is the only thing that let's me use wayland without hurting my eyes. Thanks for all your effort.
I'm on Ubuntu 22.04 and for some reason when using this plugin, particularly when I'm watching something in my second monitor it spikes and all content starts stuttering.
I only have this extension installed, and when disabled this problem no longer appears.
Please let me know how can I debug this.
This is one of the most important extensions I use, include clipboard indicator, and shutdown timer.
Kindly make soft-brightness work with gnome 40 (fedora 34). Thanks.
Whenever I lower the brightness with soft-brightness overlay, clicking in any application window won't work, no matter what the application. Gnome shell is still responsive on the other hand. Moreover mouse clicks are dysfunctional after suspend, no matter the brightness setting for the extension. It took me 2 days to realize that this extension is responsible, after uninstall all is fine again.
Fedora 31 Gnome 3.34.4
When enabling this extension all applications become unresponsive to mouse events. Gnome Shell itself is working, that means I can log out or open new applications, but I cannot interact with any application using the mouse. Keyboard inputs still work. That's how I deactivate all extensions by issuing gsettings set org.gnome.shell disable-user-extensions true
.
Output of journalctl -f
:
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: version 14 / git v14-1-g7214544
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: enable(), session mode = user
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _enable()
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _enableCloningMouse()
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _enableCloningMouse(): using Gnome Shell 3.32 method
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _swapMenu(): Replacing brightness menu item at index 1
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _enableMonitor2ing()
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _enableSettingsMonitoring()
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _enableScreenshotPatch()
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: Extension enabled
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _sync()
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _getBrightnessLevel() by proxy = 0.6 <- 60
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _on_brightness_change: current-brightness=0.6, min-brightness=0.05000000000000002
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _startCloningMouse()
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _showOverlays(0.6, false)
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _showOverlays(): enabledMonitors="built-in"
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _showOverlays(): skipping run as _monitorNames hasn't been set yet.
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _stopCloningShowMouse()
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _stopCloningMouse()
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _getBrightnessLevel() by proxy = 0.6 <- 60
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: setSliderValue(0.6) [GS 3.33.90+]
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _sliderChanged(slide, 0.6)
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _storeBrightnessLevel(0.6) by proxy -> 61
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: newDisplayConfig() callback
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _on_monitors_change()
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _on_monitors_change(): monitor="eDP-1", connector="eDP-1", index=0
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _getBrightnessLevel() by proxy = 0.61 <- 61
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _on_brightness_change: current-brightness=0.61, min-brightness=0.05000000000000002
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _startCloningMouse()
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _showOverlays(0.61, true)
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _showOverlays(): enabledMonitors="built-in"
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _showOverlays(): builtinMonitorName="eDP-1"
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _preventUnredirect(): disabling unredirects, prevent-unredirect=always
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: Create overlay #0: 2560x1440@0,0
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _showOverlay(): set opacity 99.45 on overlay #0
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _sync()
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _getBrightnessLevel() by proxy = 0.6 <- 60
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _on_brightness_change: current-brightness=0.6, min-brightness=0.05000000000000002
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _startCloningMouse()
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _showOverlays(0.6, false)
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _showOverlay(): set opacity 102 on overlay #0
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _getBrightnessLevel() by proxy = 0.6 <- 60
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Soft-Brightness: setSliderValue(0.6) [GS 3.33.90+]
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b).
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d).
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
Sep 23 20:45:16 thinkpadx1 gnome-shell[1152]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
Sep 23 20:45:23 thinkpadx1 gnome-shell[1152]: Soft-Brightness: disable(), session mode = user
Sep 23 20:45:23 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _disable()
Sep 23 20:45:23 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _swapMenu(): Replacing brightness menu item at index 1
Sep 23 20:45:23 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _disableMonitor2ing()
Sep 23 20:45:23 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _disableSettingsMonitoring()
Sep 23 20:45:23 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _hideOverlays(): drop overlays, count=1
Sep 23 20:45:23 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _allowUnredirect(): enabling unredirects, prevent-unredirect=always
Sep 23 20:45:23 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _stopCloningShowMouse()
Sep 23 20:45:23 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _stopCloningMouse()
Sep 23 20:45:23 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _disableCloningMouse()
Sep 23 20:45:23 thinkpadx1 gnome-shell[1152]: Soft-Brightness: _disableScreenshotPatch()
Sep 23 20:45:23 thinkpadx1 gnome-shell[1152]: Soft-Brightness: Extension disabled
` ``
I've been using this extension for a few months now and I find it very convenient, thanks to @F-i-f and the others dev who work on it!
I was just having a doubt, as far as my eyes and eye strain are concerned, is using this extension the same as actually lowering the screen brightness?
Instinctively I'd say no, however by setting the real screen brightness to maximum, and minimum with extension, it doesn't seem like the screen is emitting annoying light (I am using an IPS screen and an old LCD screen).
What do you think about it?
By using the computer for many hours a day, I would like to avoid over-straining my eyes. ๐
I'm using arch with gnome 3.38.1 and I had to remove this extension since it was rendering the mouse with an offset.
from my journal
Oct 24 13:13:10 gnome-shell[684]: JS ERROR: TypeError: this._cursorSprite.set_anchor_point is not a function
_updateMouseSprite@/home/andrea/.local/share/gnome-shell/extensions/[email protected]/extension.js:795:21
When I was clicking with the right or middle button of the mouse I could see two cursors.
The first was the one processed by the extension and showed a dimmed color while the second was brighter.
The bright one was correctly positioned and disappeared as soon as I moved the mouse.
Hi there. Thanks a lot for this great extension.
Just am having a small issue as the clones cursor is tiny. Its size won't change even if I try to make it bigger in the settings.
My question was simply how to disable the mouse cloning altogether? I don't mind working with a bright cursor. I saw some references to disabling the cloning in the extension.js file but am unsure which way would be cleanest.
Thanks in advance.
when i turn on the mouse cursor option its not smooth and it flickers horribly
I have installed soft-brightness in another computer - I have it already installed in another one, thanks for the app. However, this time it is not working. It seems correctly installed. I could install and run it from the gnome shell extension, but when I set it the on mode, nothing happens. I have tracked the logs, but it hasn't helped much.
gnome logs:
jan 21 19:51:48 marlon-Nitro-AN515-51 dbus-daemon[1557]: [session uid=1000 pid=1557] Activating service name='org.gnome.ChromeGnomeShell' requested by ':1.213' (uid=1000 pid=6501 comm="/usr/bin/python3 /usr/bin/chrome-gnome-shell chrom" label="unconfined")
soft-brightness logs:
jan 21 19:37:12 marlon-Nitro-AN515-51 gnome-shell-ext[4575]: JS LOG: Extension [email protected] already installed in /home/marlon/.local/share/gnome-shell/extensions/[email protected]. /home/marlon/.local/share/gnome-shell/extensions/[email protected] will not be loaded
Ubuntu 18.04 and GNOME Shell 3.28.4.
Thanks you so much!
I'm on Ubuntu 20.04. I'm using a laptop with an external LG display via HDMI. Only the external active. Everything is updated and when I change the brightness the mouse starts to lag. Feels like the FPS drops down to 10-15.
Added Brazilian Portuguese translation
The extension already appears to be working, with some minor changes required to the settings menu.
I've just changed the meta data to "40.0" and it's working just fine.
Hi,
On my HP x360 using your extension has some weird effect:
On debug mode I get the following lines:
Dez 13 12:53:01 schlepptop gnome-shell[789]: Soft-Brightness: _storeBrightnessLevel(0.32) by proxy -> 33
Dez 13 12:53:01 schlepptop gnome-shell[789]: Soft-Brightness: _sliderChanged(slide, 0.32)
Dez 13 12:53:01 schlepptop gnome-shell[789]: Soft-Brightness: setSliderValue(0.32) [GS 3.33.90+]
Dez 13 12:53:01 schlepptop gnome-shell[789]: Soft-Brightness: _getBrightnessLevel() by proxy = 0.32 <- 32
Dez 13 12:53:01 schlepptop gnome-shell[789]: Soft-Brightness: _showOverlay(): set opacity 173.39999999999998 on overlay #0
Dez 13 12:53:01 schlepptop gnome-shell[789]: Soft-Brightness: _showOverlays(0.32, false)
Dez 13 12:53:01 schlepptop gnome-shell[789]: Soft-Brightness: _startCloningMouse()
Dez 13 12:53:01 schlepptop gnome-shell[789]: Soft-Brightness: _on_brightness_change: current-brightness=0.32, min-brightness=0.14999999999999997
Dez 13 12:53:01 schlepptop gnome-shell[789]: Soft-Brightness: _getBrightnessLevel() by proxy = 0.32 <- 32
Dez 13 12:53:01 schlepptop gnome-shell[789]: Soft-Brightness: _sync()
Dez 13 12:53:01 schlepptop pkexec[8332]: ente: Executing command [USER=root] [TTY=unknown] [CWD=/home/ente] [COMMAND=/usr/lib/gsd-backlight-helper /sys/devices/pci0000:00/0000:00:02.0
It looks like in the last step, you want to store a brightness of 0,32 but you actually store 0,33; this triggers a change on the input value and restarts the process. If I put the slider to 80% I see 21 times the full stack of log lines as above. The last set of log lines is:
Dez 13 13:04:40 schlepptop gnome-shell[789]: Soft-Brightness: setSliderValue(1) [GS 3.33.90+]
Dez 13 13:04:40 schlepptop gnome-shell[789]: Soft-Brightness: _getBrightnessLevel() by proxy = 1 <- 100
Dez 13 13:04:40 schlepptop gnome-shell[789]: Soft-Brightness: _stopCloningShowMouse(), restoring cursor visibility to true
Dez 13 13:04:40 schlepptop gnome-shell[789]: Soft-Brightness: _on_brightness_change: current-brightness=1, min-brightness=0.14999999999999997
Dez 13 13:04:40 schlepptop gnome-shell[789]: Soft-Brightness: _getBrightnessLevel() by proxy = 1 <- 100
Dez 13 13:04:40 schlepptop gnome-shell[789]: Soft-Brightness: _sync()
Dez 13 13:04:40 schlepptop pkexec[10946]: ente: Executing command [USER=root] [TTY=unknown] [CWD=/home/ente] [COMMAND=/usr/lib/gsd-backlight-helper /sys/devices/pci0000:00/0000:00:02.>
The cursor seems to get stuck on a certain type in non-gnome applications. For examples, in Chrome and Firefox, the cursor won't change to a pointer on links. Or it will and then gets stuck as a pointer for a bit. Another, the pointer won't change to text selector when hovering over the search bar in Spotify. The cursor functions as expected despite its appearance.
The pointer changes to appropriate types in native gnome applications like the file browser, Tweaks, etc.
Using gnome 3.32.2 (arch)
Side note of thanks: just installed the FHD mod for my x230 thinkpad. To adjust brightness with this mod, a kernel or bios patch is needed. Beyond my means, so this extension is an eye-saver. Thanks!
For users with a non-60Hz monitor, when the brightness is not 100% (thus the extension is actively being used) the screen will act as though it is running at 60Hz, presumably from the VSync. This is unexpected and unintended behaviour, so I have opened up an issue for it.
HRR standing for High Refresh Rate.
Please add a way to control this brightness with keyboard and/or commands. I need a way to add this to my KDE connect so that I can adujst brightness with my phone while watching a movie. Right now, I am using xrandr for that, but it doesn't work with your extension, which is otherwise excellent.
Thank you
This extension was working great until I tried to install the most recent update from the Gnome Extensions Page this morning.
After I tried to install it, I got an error. Hoping this was an installation problem and not a problem with the extension (I love this extension as the built-in brightness control doesn't work), I tried to install it myself using the instructions on the Github page but I got the following error:
The settings of extension [email protected] had an error:
Error: Schema org.gnome.shell.extensions.soft-brightness could not be found for extension [email protected]. Please check your installation.
Stack trace:
getSettings@/home/nilanjan/.local/share/gnome-shell/extensions/[email protected]/convenience.js:88:15
setup@/home/nilanjan/.local/share/gnome-shell/extensions/[email protected]/prefs.js:43:31
buildPrefsWidget@/home/nilanjan/.local/share/gnome-shell/extensions/[email protected]/prefs.js:240:12
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:207:40
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:132:13
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:175:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
run@resource:///org/gnome/gjs/modules/script/package.js:222:19
start@resource:///org/gnome/gjs/modules/script/package.js:206:5
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17
When brightness is turned down via Soft Brightness and thus the soft brightness overlay is enabled, I can't drag windows from one workspace to another in the overview. Functionality returns to normal when Soft Brightness is disabled.
Gnome 3.32
Soft Brightness 10
Hello,
There's a weird issue with Gnome 3.38 (tested on Fedora 33 / Gnome 20.10).
When the extension's option "Mouse cursor brightness control." is activated the mouse cursor zone which is used to know where you click is slightly shifted to 10~15px on the top-left.
Here a video showing the issue
Log that after having recorded the video, the issue really appears in the way that you will see, in the first part of the video when the option is activated, the mouse cursor duplicated - and where the real cursor is the one which is right-bottom shifted.
Deactivating the option fix this issue; and the extension works as expected, so it's not critical at all, but I still wanted to mention it. And maybe this issue is not specific to this extension, probably a more general issue somewhere in system library... I don't know.
Thanks.
I'm requesting you to port this great extension to Gnome 42. Or let me know if there is any workaround I can do (as a user) to make this extension work on Gnome 42.
Hello,
First thanks for making this amazing extension, i'm very grateful,
but i found bug where the mouse cursor doesn't change depend on what it's being hovered, after i use it for quite some time, but it solve after i restart it, and happen again after being use for quite some time,
for example when i type this issues:
see, the cursor doesn't change when i hover it into text,
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
hope that you can fix it :), thanks
problem found in gnome wayland but not in X
seems this extension have a solution.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.