unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
To: Adam Kandur <rndd@tuta.io>
Cc: Help Guix <help-guix@gnu.org>
Subject: Re: keyboard layout
Date: Tue, 7 Apr 2020 12:54:17 +0200	[thread overview]
Message-ID: <20200407105417.mg36brc3xjurfp5b@pelzflorian.localdomain> (raw)
In-Reply-To: <M2mqXO4--3-2@tuta.io>

On Thu, Mar 19, 2020 at 01:52:28PM +0100, Adam Kandur via wrote:
> 
> Hi guixers! i have a question. Sometimes i need to switch keyboard layout for writing messages. Currently i'm using this command 
> setxkbmap -layout 'us,ru' -option 'grp:alt_shift_toggle,grp_led:scroll'
> 
> How i can do something similar with config.scm definition?
> 

Ludo fixed support for such layouts last week with commit
2729cb406d9f3e9eb22cc660f887138134edb3a8.  He added an example to the
manual:

;; Arabic layout with "Alt-Shift" to switch to US layout.
(keyboard-layout "ar,us" #:options '("grp:alt_shift_toggle"))

Regards,
Florian

  parent reply	other threads:[~2020-04-07 10:54 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
2020-03-20 14:10   ` John Soo
2020-04-07 10:54 ` pelzflorian (Florian Pelz) [this message]
  -- 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=20200407105417.mg36brc3xjurfp5b@pelzflorian.localdomain \
    --to=pelzflorian@pelzflorian.de \
    --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).