From nobody Tue Mar 15 02:03:35 2022 X-Original-To: freebsd-x11@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 703321A27FA8 for ; Tue, 15 Mar 2022 02:03:35 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KHcBv21v3z4lSk; Tue, 15 Mar 2022 02:03:35 +0000 (UTC) (envelope-from danfe@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647309815; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WZk6liExst0NkfAfg9Ype++bBtyAqMh9gjvp/Knl2uA=; b=WJuUkuho0vhysc9L5yhPF6hvt7/ObNup10+5szc88+oRVFqYgabokNxUJz7wbtrskLgA9I vidugvm2PjONMcYhXA/AKFZ/UgOlskUG92wGnqx41vZVagLXdJRlm4qhAZgj5t+0E7VPV5 eYgbpE/xfjvMWF+0v0bb69MasKjhmU8qYvSVt4iYHoc2pgMT5sR/AF/Tu1ZVWVu9h7YVCF d2zXonKCbFwUD2jE2ef7TETUbc8v5xNWX7Xuj+S1Ztxw5z4uizXIRv6h3ZEfqBrZxt6/oT 9ny1ZV3TGkY1tj39IdeNqNwY7uUmgBz3Efu4Sil9pqatYqqgJpmtMNZLlvSZAw== Received: by freefall.freebsd.org (Postfix, from userid 1033) id 23771C5D; Tue, 15 Mar 2022 02:03:35 +0000 (UTC) Date: Tue, 15 Mar 2022 02:03:35 +0000 From: Alexey Dokuchaev To: Milan Obuch Cc: 0mp@freebsd.org, freebsd-x11@freebsd.org Subject: Re: Dynamic multimonitor setup question Message-ID: References: <20220228093951.30914524@zeta.dino.sk> <20220314101646.0042335c@zeta.dino.sk> List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220314101646.0042335c@zeta.dino.sk> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647309815; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=WZk6liExst0NkfAfg9Ype++bBtyAqMh9gjvp/Knl2uA=; b=Nw496nXUzjp4ZCzsLRVSfkbSp7VnEQiW7fXg8CVHIIN+rlZhXPdegOwMMxE9F+jFTxBMRa dxs/rAHB34cChAZ1jHIWB8KQv2m43/uHITg0u1VtnTCrAvD28Fzs/hkV0AHvxOnlcSV2x/ 0+8RE5Pcnui7J/dbCESMQl7xkZ+a6hHE8UPyB/pvXju1aKPiZ+yR4nel//No3RXh9SraO2 Af+YhrABo6evQgzTU282t1PF8MO3XqF8kxSRBoxDCLKwpQA2q8JhcFG0x5bMvTvPFuWzI7 ubiTYZRKVRKE4Pj/RKyAXMfglU569T3uBsZLP+Ly6yZ87MLxKtCaPk+WJGjs/A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647309815; a=rsa-sha256; cv=none; b=yLU3GabXlraDTJCXZ9tOxviGx82nGAJr24dWS0tVP5frU8YFFOX7XHCoVjBRXJuR1TVt6A FkBj28B4EQM4cU3jgeqC6hoHH2Mj+5hengecA4t5DKuHV0OFEStJKI9DEG57e6jFTl2nYC gvGPQpyHQXPzW+JZHjGEk33PqV01Eq9MsHM7IIamAo5IU6HR5/Q2rQH7tjM4PDDI7PjUQo /LDVLjSp9MK3NLmekXQLCfnH1Y2eGNQlS7FAFDVUC/B6gcWxNX2kkq+8SCWverfNXwbkuJ 1pWEpxlMMQbRo+ePFnIrMyiqyxhREH4ptOivqcGv3Y35Me0NnGqsuPARIgoIdA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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