phillipberndt / autorandr

Auto-detect the connected display hardware and load the appropriate X11 setup using xrandr
2.45k stars 121 forks source link

Prevent profile change with screen lock #377

Open tekahDev opened 6 months ago

tekahDev commented 6 months ago

I'm running Debian 12 with i3 and autorandr works fine. When I lock the screen (i3lock), the screens turn off after 60 sec. When I unlock the screen, the laptop only profile is active and the external screen doesn't turn on, therefore the profile with the external screen is not triggered. So always when I unlock my screen, I manually need to activate the proper profile.

Is there a way to prevent the profile change when locking the screen?

Any help would be appreciated.

tekahDev commented 6 months ago

Update: It works, when I manually turn on my external screen and then unlock. So this is probably not related to autorandr but the wake behaviour of the monitor