Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-06-2021, 11:42 PM
|
#1
|
LQ Newbie
Registered: Feb 2021
Location: Sacramento, CA
Distribution: Kali Linux, Manjaro
Posts: 2
Rep: 
|
Keyboard backspace behavior at boot-time decryption passphrase
Quote:
OS: Kali Linux 2020.4
System: Acer Predator 17 (G9-791) w/ German keyboard.
** firmware-linux_20201218-3_all.deb (Debian Sid [testing]) installed
Encrypted layout:
LVM on LUKS2: / /home swap
Non-encrypted: /boot /boot/efi
|
At the passphrase prompt, the backspace key adds a masked character to the passphrase entry box. Behavior should be deletion of previous character.
My attempted solution: - Default boot into Kali
Code:
# dpkg-reconfigure keyboard-configuration
.
Code:
Generic 105-key PC (intl.)
English (US) - English (US, euro on 5)
AltGr: Default for the keyboard layout
Compose: No compose key
Ctl+Atl+Backspace to terminate X = Yes
On reboot, backspace behavior is as initially described.
- Afterward:
Code:
sudo nano /etc/initramfs-tools/initramfs.conf
,
- modify,
,
to,
.
Code:
$ sudo update-initramfs -uv
.
On reboot, backspace behavior is as initially described.
The backspace works as it should once the OS is operational.
Tips or suggestions on solving or troubleshooting the issue are appreciated.
Last edited by SporadicThought; 02-07-2021 at 03:35 AM.
Reason: clarifications
|
|
|
02-07-2021, 01:35 AM
|
#2
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
What key are you talking about.
After booting into GUI, launch
and use the key in question - what does it say?
Are you sure the intiramfs takes over keyboard settings from dpkg-reconfigure? I think the console keymap mentioned in its man page is something else?
|
|
1 members found this post helpful.
|
02-07-2021, 03:30 AM
|
#3
|
LQ Newbie
Registered: Feb 2021
Location: Sacramento, CA
Distribution: Kali Linux, Manjaro
Posts: 2
Original Poster
Rep: 
|
Quote:
Originally Posted by ondoho
What key are you talking about.
After booting into GUI, launch
and use the key in question - what does it say?
|
Code:
$ xev
KeyRelease event, serial 37, synthetic NO, window 0x5a00001,
root 0x944, subw 0x0, time 1834238, (64,-12), root:(927,591),
state 0x10, keycode 22 (keysym 0xff08, BackSpace), same_screen YES,
XLookupString gives 1 bytes: (08) "
XFilterEvent returns: False
Quote:
Are you sure the intiramfs takes over keyboard settings from dpkg-reconfigure? I think the console keymap mentioned in its man page is something else?
|
It didn't occur to me to look in the man for initramfs or keyboard-configuration. I will give that a try.
I'm hoping someone with applied experience will save me from making a mistake.
Thank you for the hint!
|
|
|
02-09-2021, 12:44 PM
|
#4
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
OK, so it really is the backspace key.
Sorry, I had to make sure, maybe not everybody knows the difference between Backspace and Delete key.
I have never heard of a keyboard layout that uses this key differently.
Is everything else working normally? You can still enter that passphrase and start the system?
Is that a graphical password entering thingy, or console?
If you don't go to graphical login, but TUI only (console, tty etc.), or maybe recovery - does it show the same behaviour?
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 04:47 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|