Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Mar 2022 16:44:25 +0100
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        Milan Obuch <freebsd-x11@dino.sk>, freebsd-x11@freebsd.org
Subject:   Re: Dynamic multimonitor setup question
Message-ID:  <02533a19-d9c6-f824-afa5-bb62199968f3@FreeBSD.org>
In-Reply-To: <b9a127d4-32f7-d4a1-0959-9704ca9cdac4@FreeBSD.org>
References:  <20220228093951.30914524@zeta.dino.sk> <20220314101646.0042335c@zeta.dino.sk> <Yi/z93X7dZUU7Bay@FreeBSD.org> <665f28bc-42b5-f862-3211-01b90b070fd4@FreeBSD.org> <20220315120121.45db2c3c@zeta.dino.sk> <beb1768f-3cf1-1856-f05d-b6e5732c8186@FreeBSD.org> <20220315140922.3f88c78c@zeta.dino.sk> <b9a127d4-32f7-d4a1-0959-9704ca9cdac4@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?02533a19-d9c6-f824-afa5-bb62199968f3>