Re: Dynamic multimonitor setup question
- In reply to: Mateusz Piotrowski : "Re: Dynamic multimonitor setup question"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 15 Mar 2022 15:44:25 UTC
Hey, On 15/03/2022 14:41, Mateusz Piotrowski wrote: > On 15/03/2022 14:09, Milan Obuch wrote: >> On Tue, 15 Mar 2022 12:46:45 +0100 >> Mateusz Piotrowski <0mp@FreeBSD.org> wrote: >>> On 15/03/2022 12:01, Milan Obuch wrote: >> [ snip ] >> >>>> The main problem, however, still remains - action is done not when >>>> cable is being plugged/unplugged, but xrandr or arandr must be >>>> called manually, then intended action occurs. [snip] > > I'd say that you are looking for something like this project: > > https://github.com/phillipberndt/autorandr FYI, I've just committed autorandr to the ports tree: https://www.freshports.org/x11/autorandr/ With autorandr you can first create a couple of profiles as described in the project's readme and then start the autorandr-launcher daemon to have the daemon watch for display connect/disconnect events. The daemon switchs between defined profiles when triggered by an event. Best, Mateusz Piotrowski