From: Alexei Drozdov <alexei.drozdov@smddev.com>
To: Kurshakov Dmitriy <kurshakov-d@yandex.ru>
Cc: help-guix@gnu.org
Subject: Re: Two keyboard layouts with toggle in console
Date: Fri, 10 Jan 2020 15:50:45 +0300 [thread overview]
Message-ID: <CAL0OLYgjcHxGrOGQpVzvj30Gxct5UEcpDR=y-P4v30tSRnaBXA@mail.gmail.com> (raw)
In-Reply-To: <4331671578249966@vla5-c5051da8689e.qloud-c.yandex.net>
Manual proposes to do it at runtime:
We’ve discussed how to specify the default keyboard layout of your system
when it starts, but you can also adjust it at run time:
If you’re using GNOME, its settings panel has a “Region & Language” entry
where you can select one or more keyboard layouts.
Under Xorg, the setxkbmap command (from the same-named package) allows you
to change the current layout. For example, this is how you would change the
layout to US Dvorak:
setxkbmap us dvorak
The loadkeys command changes the keyboard layout in effect in the Linux
console. However, note that loadkeys does not use the XKB keyboard layout
categorization described above. The command below loads the French bépo
layout:
loadkeys fr-bepo
https://guix.gnu.org/manual/en/guix.html#Keyboard-Layout
вс, 5 янв. 2020 г. в 22:02, Kurshakov Dmitriy <kurshakov-d@yandex.ru>:
> Hi.
>
> Is it possible to write an operating system configuration having two
> different keyboard layouts (in my case -- "us" and "ru") with toggle
> (preferely by Caps Lock) for console?
> For now, I have /etc/config.scm with: (keyboard-layout (keyboard-layout
> "us" "altgr-intl")) under "operating-system" declaration. Every time after
> logging into shell, I need to run "loadkeys ruwin_cplk-UTF-8" command.
> After that, I have two different layouts and can swith between tem by Caps
> Lock. When I changed keyboard-layout to "ru" in config.scm there was no
> english layout at all.
> How can I solve the problen in "right" (or "reproducible") way?
>
> WBR, Dmitry.
>
>
next prev parent reply other threads:[~2020-01-10 12:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-05 18:46 Two keyboard layouts with toggle in console Kurshakov Dmitriy
2020-01-10 12:50 ` Alexei Drozdov [this message]
2020-01-11 9:50 ` Wiktor Żelazny
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAL0OLYgjcHxGrOGQpVzvj30Gxct5UEcpDR=y-P4v30tSRnaBXA@mail.gmail.com' \
--to=alexei.drozdov@smddev.com \
--cc=help-guix@gnu.org \
--cc=kurshakov-d@yandex.ru \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.