My keyboard is unable to produce a "|". On XFCE xbindkeys works very well (I mapped it to Alt + z), but I couldn't do the same on the non-graphical tty. How can I do that?
I'm on MX Linux 17.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
You can change the console keyboard VT keymap with
dumpkeys|grep z to see the current setting for the
z character. It is probably:
keycode 44 = z
Then override it for alt with
echo 'alt keycode 44 = bar' | sudo loadkeys -
You might check first whether
bar exists already in some key combination.