Re: [dev] Keyboard language/layout used with slock

From: ssd <>
Date: Mon, 5 Sep 2022 09:00:08 +0200


* Benjamin Chausse 2022-09-04 23:39
>Is there an existing elegant way to force slock to only use a certaint
>layout? My current best idea would be to used the failure-command patch
>to switch my layout after 1 incorrect password but this feels somewhat

slock man page says

             slock [-v] [cmd [arg ...]]

             slock is a simple X screen locker. If provided, cmd [arg ...] is executed after the screen has been locked.
so, you probably can do something like

        slock setxkbmap -layout "us" -variant "intl-unicode"

And I should probably do so, too, and remove some mental load. Thanks for
making me think about it.

Received on Mon Sep 05 2022 - 09:00:08 CEST

This archive was generated by hypermail 2.3.0 : Mon Sep 05 2022 - 09:36:08 CEST