Ctrl+key shortcuts are not working in a tty

Posted on

Problem :

I just installed Slackware on my laptop and all Ctrl+key shortcuts are not working in a tty. For example Ctrl+C or Ctrl+L do nothing.

I verified that the Ctrl key worked with the showkey command.

Any ideas?

Solution :

I had to change my keyboard layout to azerty instead of fr.

It can be changed in /etc/rc.d/rc.keymap:

# Load the keyboard map.  More maps are in /usr/share/kbd/keymaps.
if [ -x /usr/bin/loadkeys ]; then
   /usr/bin/loadkeys uk.map

uk.map shows that UK layout is being used here. More keyboard layouts can be found in the directory /usr/share/kbd/keymaps.

NOTE : This setting only applies to the console before you start the X server (GUI).

SlackWare documentation here explains how to set the system-wide keyboard layout ( for Slackware 13.0 , 13.1 , 13.37 and 14 ) and for particular desktop environment.