Re: [dev] Keyboard language/layout used with slock
Hi,
* 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
>janky.
slock man page says
SYNOPSIS
slock [-v] [cmd [arg ...]]
DESCRIPTION
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.
cheers
--s
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