Sometime output designations change in xrandr
. Particular when using a docking station (e.g., a Lenovo Thunderbolt 4 Dock).
In those cases scripts that use output names to configure a display setup fail.
This script provides function to use a screens.ini
file (see example) with EDIDs rather than output names.
# get EDIDs for output names
bash screens.sh map
# configure displays according to `config.ini`
bash screens.sh set
Things to try:
- Try to plug in your docking station on another USB-C port.
- Suspend and wake up with the docking station attached.
- allow to switch between configs
- auto config
- fix that annyoing black screen bug (sometimes screens just stay black)