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 0F002138334 for ; Thu, 11 Jul 2019 21:11:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3A125E07FA; Thu, 11 Jul 2019 21:10:57 +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 70E91E079E for ; Thu, 11 Jul 2019 21:10:56 +0000 (UTC) X-ASG-Debug-ID: 1562879454-103c12dac96673c0001-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 FeC2QXcTAD8j0xab (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Thu, 11 Jul 2019 14:10:54 -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 14:10:54 -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 14:10:54 -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/wA Date: Thu, 11 Jul 2019 21:10:54 +0000 Message-ID: <2e7820e8c6ef5aaa4e0b7852a66b873ad1915452.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> In-Reply-To: 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="=-b0oD88C25dn/7KrG0wzm" 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: 1562879454 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: 2128 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.73835 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Archives-Salt: f215e720-0b8d-462f-b2e3-58b0edb4728e X-Archives-Hash: bbf8bdd631b6833fec0729e0bc8c2037 --=-b0oD88C25dn/7KrG0wzm Content-Type: text/plain; charset="UTF-7" Content-Transfer-Encoding: quoted-printable You could also leave DontVTSwitch on all the time and set a keyboard shortcut to run chvt (man 1 chvt) with appropriate permissions and parameters instead. Keyboard shortcuts shouldn't get processed if the screen is locked. LMP On Thu, 2019-07-11 at 21:01 +-0000, artur.tamm.85+AEA-gmail.com wrote: +AD4 I tried to google if it is possible to change xorg serverflags in +AD4 runtime, =20 +AD4 but was unable to find anything. I think that would be a cleaner +AD4 solution =20 +AD4 (changing the DontVTSwitch option before locking and then restoring +AD4 later). +AD4=20 +AD4 Artur +AD4=20 +AD4 Ian Zimmerman writes: +AD4=20 +AD4 +AD4 On 2019-07-11 09:57, Ian Zimmerman wrote: +AD4 +AD4=20 +AD4 +AD4 +AD4 +AD4 setxkbmap -option srvrkeys:none +AD4 +AD4 +AD4 +AD4 i3lock -c 003355 -n +AD4 +AD4 +AD4 +AD4 setxkbmap -option '' +AD4 +AD4 +AD4=20 +AD4 +AD4 +AD4 Thanks for the idea+ACE It won't work as is for me because = I +AD4 +AD4 +AD4 already use +AD4 +AD4 +AD4 some non-default xkb options. But it is closer than anythin= g +AD4 +AD4 +AD4 that has +AD4 +AD4 +AD4 come up yet. I'll get there. +AD4 +AD4=20 +AD4 +AD4 Okay, I got it to work in a brute force way: I just added another +AD4 +AD4 setxkbmap command to set my normal options, the same ones as in m= y +AD4 +AD4 xorg.conf. +AD4 +AD4=20 +AD4 +AD4 But something weird happens when I try the fancy way: saving the +AD4 +AD4 options +AD4 +AD4 with +ACI-setxkbmap -print +AD4-FILE+ACI and then restoring them = with +ACI-xkbcomp +AD4 +AD4 FILE+ACI. It seems that the change I make with +ACI-setxkbmap -o= ption +AD4 +AD4 FOO+ACI is +AD4 +AD4 never reflected in the output of +ACI-setxkbmap -print+ACI. +AD4 +AD4=20 +AD4 +AD4 Looks like another place with multiple +ACI-levels+ACI of configu= ration +AD4 +AD4 stepping over each other. +AD4 +AD4=20 +AD4 +AD4 -- +AD4 +AD4 Please don't Cc: me privately on mailing lists and Usenet, +AD4 +AD4 if you also post the followup to the list or newsgroup. +AD4 +AD4 To reply privately +AF8-only+AF8 on Usenet and on broken lists +AD4 +AD4 which rewrite From, fetch the TXT record for no-use.mooo.com. +AD4 +AD4=20 --=-b0oD88C25dn/7KrG0wzm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iHUEABEIAB0WIQSJMFtVWjTvlmlnS5zOrKaPTRW0wQUCXSel2gAKCRDOrKaPTRW0 wbCSAP9trBdgXBTs5vY5Inseevq0zHmFu85VtL/AOZgivgq63gD/XEa3Ge1tdv46 F2BTQkrw/N3UnejoB3muT+s+901DYsY= =4bQ3 -----END PGP SIGNATURE----- --=-b0oD88C25dn/7KrG0wzm--