Re: Dynamic multimonitor setup question
Mateusz Piotrowski <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.x11 |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> 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