[Solved] Ctrl+A / Ctrl+E doesn’t work in the console 19 August 2020, 00:28:42 Whether or not I’m in Wayland or at the console TTY, using the Ctrl+A / Ctrl+E keyboard shortcuts to jump the cursor to the beginning or end of a command string doesn’t work. When pressing the combinations, “^A / ^E” is put onto the command line. Last Edit: 20 August 2020, 21:17:33 by shoober420
Re: Ctrl+A / Ctrl+E don’t work in the console Reply #1 – 19 August 2020, 03:34:45 It works for me with XFCE and X using OpenRc, in XFCE terminal and in another getty login - also the Home and End keys have the same effect.
Re: Ctrl+A / Ctrl+E don’t work in the console Reply #2 – 19 August 2020, 07:02:47 Wrong set keyboard layout?
Re: Ctrl+A / Ctrl+E don’t work in the console Reply #3 – 19 August 2020, 08:09:11 Works here, both in gnome-terminal and TTY console. Probably you need to Code: [Select]setxkbmap us
Re: Ctrl+A / Ctrl+E don’t work in the console Reply #4 – 19 August 2020, 18:21:43 I just followed these instructions on the wiki.https://wiki.artixlinux.org/Main/Installation#Set_the_keyboard_layoutWhen I used “sudo loadkeys us”, this had no effect on my system. I created a “conf.d” directory in the “/etc” directory, and added “keymap=“us”, rebooted, and still have the same issue.Since I don’t use Xorg, the “setxkbmap us” setting has no effect as well.I also tried adding “export KEYMAP=“us” to the “rc.local” file and that didn’t work. I always added “KEYMAP=“us” and “!KEYMAP=“us” to the “s6.conf” file and that didn’t work either. Last Edit: 19 August 2020, 18:36:52 by shoober420
Re: Ctrl+A / Ctrl+E doesn’t work in the console Reply #5 – 20 August 2020, 18:02:27 If it helps any, the Home and End keys only change letters from upper to lowercase.
Re: Ctrl+A / Ctrl+E doesn’t work in the console Reply #6 – 20 August 2020, 19:18:51 Hmm, does anyone know if it works in runit? All my machines are s6 and I also have this same issue. s6's keymap/console stuff is mostly copied over from runit 1 Likes
Re: Ctrl+A / Ctrl+E doesn’t work in the console Reply #7 – 20 August 2020, 19:38:05 Wait nevermind I realized what it is. You're using zsh aren't you? You'll have to configure it to catch those keys. There shouldn't be any problems in bash.Sidenote: You can set keymaps in /etc/vconsole.conf, but us is already the default so you don't need to do anything. 1 Likes
Re: Ctrl+A / Ctrl+E doesn’t work in the console Reply #8 – 20 August 2020, 21:16:53 That was it! Thank you so much! I do use zsh, and for some reason “bindkey -v” was used instead of “bindkey -e” in my “.zshrc” file. Making the change fixed the issue. Last Edit: 20 August 2020, 21:22:30 by shoober420