help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: keyboard layout


From: Pierre Neidhardt
Subject: Re: keyboard layout
Date: Fri, 20 Mar 2020 09:51:34 +0100

Hi!

If you want to set the keyboard layout system-wide, see
"System Configuration -> Keyboard Layout".

For a user session, you can use your desktop manager tools or setxkbmap.

If you want a shepherd user service, I use this one:

(define setxkbmap
  (make <service>
    #:docstring "Set keymap for X."
    #:provides '(setxkbmap)
    #:start (make-system-constructor
             (string-join '("setxkbmap"
                            "-layout" "us"
                            "-variant" "altgr-intl"
                            "-option" "ctrl:swapcaps,nodeadkeys,nbsp:level3")))
    #:one-shot? #t))

Cheers!

-- 
Pierre Neidhardt
https://ambrevar.xyz/

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]