From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9C636138334 for ; Fri, 12 Jul 2019 01:17:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CC8D0E07F6; Fri, 12 Jul 2019 01:17:48 +0000 (UTC) Received: from barracuda.pco-inc.com (barracuda.pco-inc.com [160.20.210.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5314BE0636 for ; Fri, 12 Jul 2019 01:17:48 +0000 (UTC) X-ASG-Debug-ID: 1562894266-103c12224b1716f0001-LfjuLa Received: from OE-Exch2K16-1.pcopen.net (oe-exch2k16-1.pcopen.net [10.0.0.61]) by barracuda.pco-inc.com with ESMTP id DDAQENsxv65q92gE (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Thu, 11 Jul 2019 18:17:46 -0700 (PDT) X-Barracuda-Envelope-From: lperkins@openeye.net Received: from OE-Exch2K16-1.pcopen.net (2620:2:2000:a1::61) by OE-Exch2K16-1.pcopen.net (2620:2:2000:a1::61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 11 Jul 2019 18:17:45 -0700 Received: from OE-Exch2K16-1.pcopen.net ([fe80::c97a:6f6f:622a:47ae]) by OE-Exch2K16-1.pcopen.net ([fe80::c97a:6f6f:622a:47ae%2]) with mapi id 15.01.1713.004; Thu, 11 Jul 2019 18:17:45 -0700 X-Barracuda-Effective-Source-IP: oe-exch2k16-1.pcopen.net[2620:2:2000:a1::61] X-Barracuda-Apparent-Source-IP: 2620:2:2000:a1::61 From: Laurence Perkins To: "gentoo-user@lists.gentoo.org" Subject: Re: [gentoo-user] Re: escape from i3lock Thread-Topic: [gentoo-user] Re: escape from i3lock X-ASG-Orig-Subj: Re: [gentoo-user] Re: escape from i3lock Thread-Index: AQHVN3mzDHTxPQzsZUWFBtMsok5SWKbGGdyAgABAIYD//46nW4AAd/wAgAAygICAABJ2gA== Date: Fri, 12 Jul 2019 01:17:45 +0000 Message-ID: <61326d4f3fecf8ba2efcdb662cdc83e8713b37dd.camel@openeye.net> References: <20190710170342.se2klmfd52dvq6j6@matica.foolinux.mooo.com> <151b19fd-9f07-c9b7-171a-a3925d14cac4@yahoo.fr> <20190710224832.oel5exzte4bayry2@matica.foolinux.mooo.com> <20190711165733.l2x2wdo5qzxklfio@matica.foolinux.mooo.com> <20190711204705.mephdbucjn7rmptp@matica.foolinux.mooo.com> <2e7820e8c6ef5aaa4e0b7852a66b873ad1915452.camel@openeye.net> <20190712001135.g7ziilwhkxoo7slx@grusum.endjinn.de> In-Reply-To: <20190712001135.g7ziilwhkxoo7slx@grusum.endjinn.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: user-agent: Evolution 3.30.5 x-originating-ip: [10.0.20.200] Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="=-Zf+qmrEHDw5DQcXA0J5/" Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 X-Barracuda-Connect: oe-exch2k16-1.pcopen.net[10.0.0.61] X-Barracuda-Start-Time: 1562894266 X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256 X-Barracuda-URL: https://barracuda.pco-inc.com:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at pco-inc.com X-Barracuda-Scan-Msg-Size: 1024 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=5.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.73843 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Archives-Salt: 57191a47-9558-42da-8024-abb4fd4b3d0d X-Archives-Hash: 5a731a0d046e48d17a70e841786218c3 --=-Zf+qmrEHDw5DQcXA0J5/ Content-Type: text/plain; charset="UTF-7" Content-Transfer-Encoding: quoted-printable +AD4 So the solution is to just use +ACI-xscreensaver+ACI by jwz. Which can= be +AD4 configured to just blank the screen etc. as wanted by the op. See +AD4 also +AD4 the FAQ: https://www.jwz.org/xscreensaver/faq.html +AD4=20 +AD4 HTH, +AD4 -dnh +AD4=20 Except I use xscreensaver myself and it in no way prevents VT switch, which is what the OP was hoping to find a way to do if and only if the screen is locked. Programs that grab input still don't get to block combos that are processed by the X server before they even get to the program's input queue any more than grabbing input will block the alt- sysrq kernel-level interrupt keys. Disabling VT switch by the X server and then setting up some other way to trigger a switch that will be blocked by whatever screen locking program the OP wishes to use is the best solution I can think of. chvt would be the program to call. Whether he wants it to be a keyboard shortcut handled by his DE or some other trigger method is a matter of taste. LMP --=-Zf+qmrEHDw5DQcXA0J5/ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iHUEABEIAB0WIQSJMFtVWjTvlmlnS5zOrKaPTRW0wQUCXSffswAKCRDOrKaPTRW0 wYj0AP97pMk/zqeA4vQpEoVA1MoxFNEgB2VKVsDprE51jQNgdQD/UBNv+9CcNvHj NU7PhetAdgan8LrrkFATtph6Ak8iMao= =eqTG -----END PGP SIGNATURE----- --=-Zf+qmrEHDw5DQcXA0J5/--