0

I installed Ubuntu 20.04 in my ThinkPad E480 and noticed the slash key "/" was not working. Digging a bit, I found this article where the OP has a keyboard layout really close to mine (abnt with slash key close to the arrows keys) Slash ("/") in Thinkpad T420 ABNT keyboard

I followed the proposed solution https://askubuntu.com/a/769358/1193030 and it worked for all the system, but not for the login screen, where the key "/" keep not being recognized.

This is what I have in the /etc/default/keyboard file:

# KEYBOARD CONFIGURATION FILE

Consult the keyboard(5) manual page.

XKBMODEL="thinkpad60" XKBLAYOUT="br" XKBVARIANT="" XKBOPTIONS="lv3:ralt_switch"

BACKSPACE="guess"

Edit: For XKBMODEL, i tried thinkpad60 and thinkpadz60. Both work fine when I'm already logged in, but not in the login screen.

Thanks in advance

muru
  • 207,228

1 Answers1

1

I think I managed to solve the problem.

I had launched gnome-control-center with sudo from a terminal and under Region & Language added in Input Sources the layout Portuguese(Brazil, IBM/Lenovo ThinkPad) and then restarted the computer.

In the login screen, the key / began to work, but after the login, the key didn't work anymore. Then, I repeated the process but without sudo.

The screenshots for the process are given below.

  • Execute gnome-control-center with sudo

  • Added Portuguese(Brazil, IBM/Lenovo ThinkPad) layout

  • Added Portuguese(Brazil, IBM/Lenovo ThinkPad) layout without sudo

muru
  • 207,228