* switching layout in tty
@ 2025-01-04 20:14 Roman Riabenko via
2025-01-07 20:11 ` pelzflorian (Florian Pelz)
0 siblings, 1 reply; 3+ messages in thread
From: Roman Riabenko via @ 2025-01-04 20:14 UTC (permalink / raw)
To: help-guix
Hello
I am trying to navigate my home directory on a tty console, for example
after pressing Ctrl+Alt+F3, on a Guix System with GNOME desktop. This
requires utilising Latin and Cyrillic characters.
I used the graphical install for the system installation and initially
left the default Alt+Shift to switch the layout. This worked fine
during the installation.
However, now I have to press it multiple times to switch from English
to another language. Finally, after switching, I cannot switch back to
English. Instead, when pressing the shortcut, the console occasionally
gets into a state where it does not show any input until the layout is
switched back to non-Latin. Enter key and other shortcuts stop working
entirely.
I tried to set a different shortcut, such as both Shifts pressed
simultaneously. The option for this is grp:shifts_toggle per man
xkeyboard-config. This stops Alt+Shift from working. But the new
combination also does nothing.
For comparison, under the graphical interface, the Alt+Shift is not
managed by the GNOME shell considering that it is not listed in the
shortcuts and even conflicts with one of the default GNOME shortcuts.
So, I guess that it should be set the same way. However, the shortcut's
behaviour in the desktop environment is different. When pressed, it
cycles through two instances of Latin and one Cyrillic. I couldn't
identify the difference between the Latin instances. I only have the
English (US) layout configured in the guix system configuration and the
GNOME Settings.
Changing the shortcut to both Shifts in guix system configuration did
not affect the shortcut in GNOME at all.
How do I change or disable this Alt+Shift shortcut properly? How do I
configure a shortcut to switch the layouts on the tty?
$ grep locale /etc/config.scm -B 1 -A 3
(operating-system
(locale "uk_UA.utf8")
(timezone "Europe/Kyiv")
(keyboard-layout (keyboard-layout "us,ua"
#:options '("grp:shifts_toggle")))
$ localectl status
System Locale: n/a
VC Keymap: n/a
X11 Layout: us,ua
X11 Options: grp:shifts_toggle
$ guix describe
Generation 13 04 січ 2025 20:47:51 (current)
guix b8858d8
repository URL: https://git.savannah.gnu.org/git/guix.git
вітка: master
коміт: b8858d8b1344525d0d7ac78d8fb9dc1a577b85d3
Roman
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: switching layout in tty
2025-01-04 20:14 switching layout in tty Roman Riabenko via
@ 2025-01-07 20:11 ` pelzflorian (Florian Pelz)
2025-01-08 14:26 ` Felix Lechner via
0 siblings, 1 reply; 3+ messages in thread
From: pelzflorian (Florian Pelz) @ 2025-01-07 20:11 UTC (permalink / raw)
To: Roman Riabenko; +Cc: help-guix
Hello Roman.
> I used the graphical install for the system installation and initially
> left the default Alt+Shift to switch the layout. This worked fine
> during the installation.
>
> However, now I have to press it multiple times to switch from English
> to another language. Finally, after switching, I cannot switch back to
> English. Instead, when pressing the shortcut, the console occasionally
> gets into a state where it does not show any input until the layout is
> switched back to non-Latin. Enter key and other shortcuts stop working
> entirely.
(keyboard-layout (keyboard-layout "us,ua"
#:options '("grp:alt_shift_toggle")))
does work for me, although grp:shifts_toggle does not. Possibly
grp:shifts_toggle would only work on some keyboards?
If your stuck console state is a real bug and not due to xoff/xon flow
control (i.e. Ctrl-S was pressed), then this is a bug with some software
used by Guix, maybe the Linux kernel, or with console-setup. Though I
cannot reproduce it with grp:alt_shift_toggle.
GNOME has its own settings that are configurable inside the GNOME
Keyboard Settings.
Regards,
Florian
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: switching layout in tty
2025-01-07 20:11 ` pelzflorian (Florian Pelz)
@ 2025-01-08 14:26 ` Felix Lechner via
0 siblings, 0 replies; 3+ messages in thread
From: Felix Lechner via @ 2025-01-08 14:26 UTC (permalink / raw)
To: pelzflorian (Florian Pelz); +Cc: Roman Riabenko, help-guix
Hi,
On Tue, Jan 07 2025, pelzflorian (Florian Pelz) wrote:
> this is a bug with some software used by Guix, maybe the Linux kernel,
After core-updates, I had USB-related problems on multiple pieces of
equipment that went away when I unplugged all Bluetooth and wireless
dongles. Maybe you can try that?
Unfortunately, I was unable to isolate my issues, which may be
unrelated, because the master branch has not built locally for several
weeks.
Kind regards
Felix
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-01-08 14:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-04 20:14 switching layout in tty Roman Riabenko via
2025-01-07 20:11 ` pelzflorian (Florian Pelz)
2025-01-08 14:26 ` Felix Lechner via
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).