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

From: <reg_AT_sent.as>
Date: Tue, 06 Sep 2022 16:36:09 +0500

Hi,
The setxkbmap changing the keyboard layouts settings, better to use the xkb-switch program and run the slock as follows:
         
       slock xkb-switch -s us

-- 
  reg_AT_sent.as
Пн, 05.09.2022 в 12:00 ssd писал(а):
> 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 Tue Sep 06 2022 - 13:36:09 CEST

This archive was generated by hypermail 2.3.0 : Tue Sep 06 2022 - 14:24:07 CEST