Re: [dwm] slock: disabling Ctrl+Alt

From: Alex Elide <elide_AT_bk.ru>
Date: Wed, 27 Dec 2006 00:34:26 +0300

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Dec 26, 2006 at 08:38:24PM +0000, brzoza wrote:
> Hello.
>
> Is there a smart way (or maybe a patch) to turn off the Ctl+Alt+* key sequence
> while running slock? The 0.3 version permits (is it intentional?) switching to tty or killing X
> explicitly.
>
> Currently I'm using a little wrapper:
>
> #!/bin/sh
>
> xmodmap -e 'keycode 37=' -e 'keycode 109='
> slock
> xmodmap -e 'keycode 37=Control_L' -e 'keycode 109=Control_R'
>
- ---end quoted text---

You should use DontVTSwitch, DontZap and DontZoom options in your xorg.conf file.
-----BEGIN PGP SIGNATURE-----

iD8DBQFFkZViXdMH9oLAFG8RAoQeAKChOfc5D2f4qDldE6Pzc0LJLbnHUgCgkRxj
Vk7OSW4FYD5mahpzUT2EaeQ=
=vl8f
-----END PGP SIGNATURE-----
Received on Tue Dec 26 2006 - 22:34:27 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:34:08 UTC