Hi everyone, i3 newbie here!
I’m using i3wm on my laptop with a second monitor attached to it. When I unplug the second monitor the ARandR config I created stays the same, as if the second monitor was still plugged in. Is there a way to switch config when I unplug it?
Shjim
August 7, 2022, 8:19pm
2
Take a look here . it may be what you look for
" https://github.com/phillipberndt/autorandr "
EDit ( How to use ) is on page also (scroll down)
3 Likes
WOW! That’s exacly what I was looking for!
Thank you for the quick response! I’m loving EndeavourOs community!
2 Likes
I also use autorandr, this tool is great. I have a setup at home and at work, and at both places save my settings. Short version…
I use i3wm, my preferred options is to use autorandr:
autorandr --save screen1
autorandr --save screen2
Which save both configurations. You can then add the following to your config to load automatically
autorandr --change
If you are on logged in your session and want to swap lets say from screen 1 to 2 configuration you could open terminal and autorandr screen2
Edit: I switch frequently different monitor config between home and work. One thing I learned is to logout of the session t…
system
Closed
August 9, 2022, 9:02pm
5
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.