Re: Dynamic multimonitor setup question

From: Alexey Dokuchaev <danfe_at_freebsd.org>
Date: Tue, 15 Mar 2022 02:03:35 UTC
On Mon, Mar 14, 2022 at 10:16:46AM +0100, Milan Obuch wrote:
> I did some searching, googling and similar... a found two ports already
> in FreeBSD's port collection, x11/arandr and x11/srandrd. The former is
> just a graphical interface to xrandr, easy to understand and intuitive
> (similar to the way Windows and MacOS X does multimonitor setup). The
> latter should do what I am after, but it did not work for me :(
> 
> Per 'man srandrd', if started with 'srandrd -v -n some_script', it
> should output some debug data (-v), stay in foreground (-n) and invoke
> some_script when monitor is being plugged or unplugged. It does not
> work for me. Something happens just when I invoke 'xrandr' in another
> terminal - I see some debug output, but the script is not invoked.
> 
> Is anybody here using x11/srandrd? I can debug the script invocation,
> but if the event is not detected without external intervention, it is
> not really usable for me. And I have no experience with debugging the
> issue in graphics stack...

Asking the port maintainer could be a good start (CC'ed).

./danfe