Re: Dynamic multimonitor setup question

Mateusz Piotrowski <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]>
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.
>> Unfortunately, I don't have a solution at hand for this use case.
>>> What hardware do you have?
>> I'm also using i915kms.ko, but I don't think it is a kernel module
>> issue. To me what you are describing sounds like something that could
>> be configured with a mix of xorg.conf and devd(8) (although even
>> devd(8) could be an overkill here).
>>
> Any idea? I did a verbose boot, and nothing is output to console on
> external monitor cable plugging in/out. I think there is no event
> generated. It looks I am forced to use manual reconfiguration... not
> that nice :(

I'd say that you are looking for something like this project:

https://github.com/phillipberndt/autorandr

Apparently, a Wayland counterpart is already in ports:

https://www.freshports.org/x11/kanshi/


Best,

Mateusz Piotrowski
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.