unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Pierre Neidhardt <mail@ambrevar.xyz>
To: Adam Kandur <rndd@tuta.io>, Help Guix <help-guix@gnu.org>
Subject: Re: keyboard layout
Date: Fri, 20 Mar 2020 09:51:34 +0100	[thread overview]
Message-ID: <87imizqui1.fsf@ambrevar.xyz> (raw)
In-Reply-To: <M2mqXO4--3-2@tuta.io>

[-- Attachment #1: Type: text/plain, Size: 684 bytes --]

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

  reply	other threads:[~2020-03-20  8:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-19 12:52 keyboard layout Adam Kandur via
2020-03-20  8:51 ` Pierre Neidhardt [this message]
2020-03-20 14:10   ` John Soo
2020-04-07 10:54 ` pelzflorian (Florian Pelz)
  -- strict thread matches above, loose matches on Subject: below --
2016-04-10 14:38 Keyboard layout Thierry Micoud
2016-04-10 20:01 ` Alex Kost

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87imizqui1.fsf@ambrevar.xyz \
    --to=mail@ambrevar.xyz \
    --cc=help-guix@gnu.org \
    --cc=rndd@tuta.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).