FS#44581 - [gnome-session] Xorg custom configuration is ignored
Attached to Project:
Arch Linux
Opened by Todo ays (entodoays) - Tuesday, 14 April 2015, 14:37 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 26 October 2016, 14:23 GMT
Opened by Todo ays (entodoays) - Tuesday, 14 April 2015, 14:37 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 26 October 2016, 14:23 GMT
|
Details
Description:
To be able to control the brightness of my Toshiba laptop after wakeup from sleep I need a custom config file with the following content: Section "Device" Identifier "card0" Driver "intel" Option "Backlight" "intel_backlight" BusID "PCI:0:2:0" EndSection without this, the brightness controls use the "/sys/class/backlight/toshiba" device instead of the "/sys/class/backlight/intel_backlight" which fails to control the actual brightness of the screen after wakeup from sleep. Until the update to Gnome 3.16, this was working fine. Now, this conf file is not being respected. Steps to reproduce: Before sleep: cat /sys/class/backlight/intel_backlight/actual_brightness and cat /sys/class/backlight/toshiba/actual_brightness Values change when changing brightness. After sleep: The value of /sys/class/backlight/intel_backlight/actual_brightness does not change when changing brightness but /sys/class/backlight/toshiba/actual_brightness does but the brightness level does not change. What I tried: Setting kernel parameters (acpi_backlight=vendor, video.use_native_backlight=1, video.use_native_backlight=0). The first of these three has no effect. The use of the other two added a third device in /sys/class/backlight called acpi_video0 which has a value identical to "toshiba". Removing these kernel paramaters did not remove the acpi_video0 device. |
This task depends upon
Closed by Jan de Groot (JGC)
Wednesday, 26 October 2016, 14:23 GMT
Reason for closing: Not a bug
Additional comments about closing: GNOME doesn't use X backlight configuration anymore.
Wednesday, 26 October 2016, 14:23 GMT
Reason for closing: Not a bug
Additional comments about closing: GNOME doesn't use X backlight configuration anymore.
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "Backlight" "intel_backlight" # use your backlight that works here
EndSection
Next I tried masking the systemd service (systemd-backlight@backlight:toshiba.service) hoping Gnome would use the other service (intel_backlight) but again this did not have any effect.
sudo tee /sys/class/backlight/intel_backlight/brightness <<< 700