unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Two keyboard layouts with toggle in console
@ 2020-01-05 18:46 Kurshakov Dmitriy
  2020-01-10 12:50 ` Alexei Drozdov
  0 siblings, 1 reply; 3+ messages in thread
From: Kurshakov Dmitriy @ 2020-01-05 18:46 UTC (permalink / raw)
  To: help-guix

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-11  9:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-05 18:46 Two keyboard layouts with toggle in console Kurshakov Dmitriy
2020-01-10 12:50 ` Alexei Drozdov
2020-01-11  9:50   ` Wiktor Żelazny

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).