You are not logged in.
Pages: 1
Hello,
I've been trying to figure out how to set up my thinkpad so that it switches to external display only when placed in the dock, or when the video switch I'm using changes to that input. I've gotten pretty close, but it doesn't quite work yet. With the below files and setup/rules, the computer tries to run the script but the overall effect is not achieved. With my older T430s, the only config I needed was an xorg rule that enabled the external display resolution, and my DE (cinnamon) took care of the rest (keeping track of displays, windows etc), but I'm guessing that's because it's older and better supported hardware. Oddly enough, on the 470 manually setting the display settings with ARandR works just fine, and I got the xrandr commands for the below script by saving ARandR's settings to a script and copying the contents thereof.
Without further ado,
/etc/udev/rules.d/81-monitor.rules:
KERNEL=="card0", SUBSYSTEM=="drm", ENV{DISPLAY}=":0", ENV{XAUTHORITY}="/home/ben/.Xauthority", RUN+="/usr/local/bin/hotplug_monitor.sh"/usr/local/bin/hotplug_monitor.sh can be found here.
Running journalctl -xae gives this.
My monitor config (/etc/X11/xorg.conf.d/10-monitor.conf) can be found here.
I've arrived at this (non-functional) solution by primarily following the solutions from this thread by trying the first solution (represented in my files here), and have tried the solution that involves creating a service as well, with effectively the same results.
My BIOS version is 1.28, and for some reason I can't seem to update it (hangs on the installer). I've also seen these reddit threads: 1 2 3.
I would like to stick with Arch linux, so if there is an alternative kernel or DE/DM that would help me fix this issue I'm all ears. But if anyone is aware of another distro that supports this hardware/solves my problem (either out of the box or with an known fix) I'm open to giving that a shot and seeing how it goes.
Thanks!
Offline
Pages: 1