udifuchs / icc-brightness

Control OLED display brightness by applying ICC color profiles.
MIT License
172 stars 25 forks source link

Permission Denied issues #14

Open Davidnet opened 5 years ago

Davidnet commented 5 years ago

Hi!

First of all: Amazing tool!

I'm encountering the following logs from journalctl, is something that I can do to help to debug a permission denied?

Oct 21 00:01:30 localhost.localdomain pkexec[3987]: dgromov: Executing command [USER=root] [TTY=unknown] [CWD=/home/dgromov] [COMMAND=/usr/libexec/gsd-backlight-helper /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight 14496]
Oct 21 00:01:30 localhost.localdomain gsd-color[2244]: failed to set screen _ICC_PROFILE: Failed to open file “/home/dgromov/.local/share/icc/brightness_14496_24000.icc”: Permission denied
Oct 21 00:01:30 localhost.localdomain gsd-color[2244]: failed to set xrandr-eDP-1-1 gamma tables: failed to generate vcgt
Oct 21 00:01:30 localhost.localdomain gsd-color[2244]: failed to set screen _ICC_PROFILE: Failed to open file “/home/dgromov/.local/share/icc/brightness_14496_24000.icc”: Permission denied
Oct 21 00:01:30 localhost.localdomain gsd-color[2244]: failed to set xrandr-eDP-1-1 gamma tables: failed to generate vcgt
Oct 21 00:01:30 localhost.localdomain gsd-color[2244]: failed to set screen _ICC_PROFILE: Failed to open file “/home/dgromov/.local/share/icc/brightness_7368_24000.icc”: Permission denied
Oct 21 00:01:30 localhost.localdomain gsd-color[2244]: failed to set xrandr-eDP-1-1 gamma tables: failed to generate vcgt
Oct 21 00:01:30 localhost.localdomain gsd-color[2244]: failed to set screen _ICC_PROFILE: Failed to open file “/home/dgromov/.local/share/icc/brightness_14496_24000.icc”: Permission denied
Oct 21 00:01:30 localhost.localdomain gsd-color[2244]: failed to set xrandr-eDP-1-1 gamma tables: failed to generate vcgt

These seem related to the profiles created, any idea?

Thanks