TillmannBerg / Ubuntu-Dell-XPS-15-2019

How to install Ubuntu on a Dell XPS 15 2019
111 stars 28 forks source link

Display name #4

Closed lrkwz closed 4 years ago

lrkwz commented 4 years ago

You can query for the display name sing

xrandr --listmonitors | awk '$1 == "0:" {print $4}'

https://github.com/TillmannBerg/Ubuntu-Dell-XPS-15-2019/blob/85c988bdc6df1df23f1df801bd98e21b3c555674/dell-brightness.sh#L4

KenEucker commented 4 years ago

On a new XPS 15 7590:

When I run the command xrandr --listmonitors | awk '$1 == "0:" {print $4}'

I get the result

eDP-1-1

Changing this in the commands on the README worked, and this command does reduce the brightness

xrandr --output eDP-1-1 --brightness 0.6

However, the brightness buttons do not change the brightness. The path to the device is still card0eDP-1, but the dell-brightness.sh file does not work for me.

lrkwz commented 4 years ago

Did you create /etc/acpi/events/dell-brightness-up and /etc/acpi/events/dell-brightness-down to handle the key events as described in README?

KenEucker commented 4 years ago

@lrkwz Yes I did. I followed every step in the README.

lrkwz commented 4 years ago

sorry, maybe @TillmannBerg can be of more help.