

Xrandr -output eDP-1 -brightness $PERCENTĭon't forget to do a chmod a+x /etc/acpi/xps-brightness.

# Where the backlight brightness is storedīR_DIR="/sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight/"Įxport XAUTHORITY=/home/user/.Xauthority # CHANGE "user" TO YOUR USERĮcho "xrandr -output eDP-1 -brightness $PERCENT" > /tmp/xps-brightness.log Nuber two is /etc/acpi/events/xps-brightness-down: event=video/brightnessdown BRTDN 00000087Īnd then the main script /etc/acpi/xps-brightness.sh: #!/bin/sh The first one is /etc/acpi/events/xps-brightness-up: event=video/brightnessup BRTUP 00000086 If you don't see the 'Screen Brightness' slider at the bottom of the Power Options window, you'll need to restore it before. Dragging it left will reduce your laptop's screen brightness, while dragging it right will increase the brightness. This slider is at the bottom of the window. This is what the modified solution looks like for the XPS 15, using similar three files. Click and drag the 'Screen Brightness' slider left or right. The only thing I had to change was to subtract/add 6000 instead of the 71 in the script. Ivo's ( ) solution at Lenovo ThinkPad X1 Yoga OLED Brightness for a Yoga laptop also works for the Dell XPS 15-9570.
