Crazy keyboard on terminal

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
vendramini

Crazy keyboard on terminal

Post by vendramini »

Hi, guys!

A strange thing is happening here. After I tried to change my keyboard layout (System Settings -> Hardware -> Keyboard) my keyboard was completely disorganized. For example:
The letter "q" turned in "/"
"w" in ";"
"s" in "o"
"/" in "z", and so on...

Was impossible to login and type password, so I booted from live usb to edit some files with sudo su and try to solve it.
After editing some files, I "solved" the problem. "Solved", because when Mint starts and shows me the login page, the first time I type my password the keyboard layout is wrong. After first time, it works.

Also, if I do ctrl+alt+f1 to tty1, it's completely wrong too.

But as I said, it's normal now (I'm typing, lol).

I tried to change a lot of file, but nothing works. Some idea?

Thanks.

Forgot: I'm using Mint 16, installed 2 days ago. It's a clean system yet.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
renatov

Re: Crazy keyboard on terminal

Post by renatov »

Which files have you edited and what have you done exactly? What is your hardware (keyboard brand and model, PC/notebook configuration etc)? I hope this isn't another case of demonic possession we've been seeing lately :D
vendramini

Re: Crazy keyboard on terminal

Post by vendramini »

Thanks for reply!

I edited /etc/default/keyboard, here it's:

Code: Select all

# Check /usr/share/doc/keyboard-configuration/README.Debian for
# documentation on what to do after having modified this file.

# The following variables describe your keyboard and can have the same
# values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options
# in /etc/X11/xorg.conf.

#XKBMODEL="pc105" //I commented this line
#XKBLAYOUT="us" //and this
#XKBVARIANT="qwerty" //this
#XKBOPTIONS="terminate:ctrl_alt_bksp" //this

# If you don't want to use the XKB layout on the console, you can
# specify an alternative keymap.  Make sure it will be accessible
# before /usr is mounted.
# KMAP=/etc/console-setup/defkeymap.kmap.gz
KMAP=/usr/share/keymaps/i386/qwerty/us.kmap.gz //added this line
Also /etc/X11/xorg.conf:

Code: Select all

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbRules" "xorg" //added
    Option         "XkbModel" "pc105" //added
    Option         "XkbLayout" "us" //added
    Option         "XkbVariant" "qwerty" //added
EndSection
It's a notebook; the keyboard is this one: http://avell.com.br/media/catalog/produ ... 5g_1_1.jpg

Thanks!
mytux

Re: Crazy keyboard on terminal

Post by mytux »

I have the same problem with my my laptop Asus X301A, with all releases of Linuxmint and Manjaro.
Maybe the problem come when your laptop support the UEFI firmware, I try to install the intel-microcode and make a safe-upgrade with aptitude.

It's a bug ? I hope the problem will solved in Qiana.
Locked

Return to “Hardware Support”