GNOME Bugzilla – Bug 784117
Visible screen brightness regulation when using desktop with only external monitor.
Last modified: 2019-03-20 11:44:49 UTC
I'm using Gnome on desktop. I do not have internal monitor. But in system tray, there is still brightness regulation visible, which do nothing, it just take space. Shouldn't it be hidden, just like battery info?
(In reply to Paweł Faderewski from comment #0) > there is still brightness regulation visible, which do nothing [...] > Shouldn't it be hidden? Yes, on systems where controlling the backlight isn't supported, the slider should be hidden. What is the output of: $ gdbus call --session --dest org.gnome.SettingsDaemon.Power \ --object-path /org/gnome/SettingsDaemon/Power \ --method org.freedesktop.DBus.Properties.Get \ 'org.gnome.SettingsDaemon.Power.Screen' 'Brightness'
I run it on X and Wayland session, the output is the same: $ gdbus call --session --dest org.gnome.SettingsDaemon.Power \ --object-path /org/gnome/SettingsDaemon/Power \ --method org.freedesktop.DBus.Properties.Get \ 'org.gnome.SettingsDaemon.Power.Screen' 'Brightness' (<0>,) Additional info $ uname -a Linux arch-pc 4.11.6-1-ck-skylake #1 SMP PREEMPT Tue Jun 20 08:19:11 EDT 2017 x86_64 GNU/Linux $ gnome-shell --version GNOME Shell 3.24.2
Created attachment 354288 [details] Brightness regulation visible when running on desktop, Fedora 25 live-cd
(In reply to Paweł Faderewski from comment #3) > Created attachment 354288 [details] > Brightness regulation visible when running on desktop, Fedora 25 live-cd When running Fedora 25 Live the problem is the same. [liveuser@localhost-live ~]$ uname -r 4.8.6-300.fc25.x86_64 [liveuser@localhost-live ~]$ gnome-shell --version GNOME Shell 3.22.1 [liveuser@localhost-live ~]$ gdbus call --session --dest org.gnome.SettingsDaemon.Power \ > --object-path /org/gnome/SettingsDaemon/Power \ > --method org.freedesktop.DBus.Properties.Get \ > 'org.gnome.SettingsDaemon.Power.Screen' 'Brightness' (<100>,) The output value changes as I change brightness slider in tray.
Mmh, so looks like according to gnome-settings-daemon's power plugin, brightness is supported? What's the output of $ /usr/libexec/gsd-backlight-helper --get-brightness
$ /usr/lib/gnome-settings-daemon/gsd-backlight-helper --get-brightness gives number between 0 and 100, according to slider position.
Then gnome-settings-daemon thinks that brightness control is supported on your system, moving there.
(In reply to Florian Müllner from comment #7) > Then gnome-settings-daemon thinks that brightness control is supported on > your system, moving there. Can I provide any other useful info? Using ddcutil, the result: # ddcutil detect Display not found # ddcutil capabilities Display not found
I found that I have /sys/class/backlight/acpi_video0 directory. $ ls /sys/class/backlight/acpi_video0 actual_brightness bl_power brightness device max_brightness power subsystem type uevent $ cat /sys/class/backlight/acpi_video0/brightness $ cat /sys/class/backlight/acpi_video0/actual_brightness both, changes accordingly to brightness slider in Gnome menu.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-settings-daemon/issues/342.