View Issue Details

IDProjectCategoryView StatusLast Update
0007462Kali LinuxGeneral Bugpublic2022-02-20 16:32
Reporterkzb Assigned Todaniruiz  
PriorityimmediateSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2021.3 
Fixed in Version2022.1 
Summary0007462: Changing language only with a few "Hacks" possible
Description

Hi,

the default language is changeable only for loggedin users but in the login screen you need to use a lot more hacks (e.g. crontab with @reboot + setlang settings and /etc/locales stuff)

I am opening a feature request to automate that stuff with a little script (like /bin/setlang)

Also keyboard preference gets overwritten (login screen) with English - to be clear.. that sucks!

Steps To Reproduce

Change your lang (e.g. de_DE and keyboard German nodeadkeys) and logout.. try to login
... same when reboot

Wrong key mapping:
Z=Y and and Y=Z

Attached Files

Relationships

related to 0007463 resolveddaniruiz Automation Script for Keyboard settings 

Activities

re4son

re4son

2021-11-30 07:13

manager   ~0015454

Have you tried defining your keyboard layout in "/etc/lightdm/lightdm.conf"?
Adding the following in the "[Seat:*]" section will do the trick:

display-setup-script=setxkbmap de

re4son

re4son

2021-11-30 07:21

manager   ~0015455

Alternatively, you can add the keyboard selector to your lightdm panel. That'll allow you to change the language on the fly

kzb

kzb

2021-11-30 23:11

reporter   ~0015459

idk, haven't tried it - someone would like to?

but still, it's easier to have a script. One Code for everything.... so you don't have to switch everything (just the default lang) :-)

Greetz

daniruiz

daniruiz

2022-02-17 14:34

manager   ~0015762

Since Kali 2022.1 the keyboard layout selector is placed in the top-bar of the login screen.

To change the system keyboard setting you need to run (and then reboot):
sudo dpkg-reconfigure keyboard-configuration

Issue History

Date Modified Username Field Change
2021-11-30 06:21 kzb New Issue
2021-11-30 07:13 re4son Note Added: 0015454
2021-11-30 07:21 re4son File Added: VirtualBox_Kali-btrfs_30_11_2021_18_20_32.png
2021-11-30 07:21 re4son Note Added: 0015455
2021-11-30 13:01 g0tmi1k Assigned To => daniruiz
2021-11-30 13:01 g0tmi1k Status new => assigned
2021-11-30 23:11 kzb Note Added: 0015459
2022-02-17 14:34 daniruiz File Added: Captura de pantalla de 2022-02-17 15-31-22.png
2022-02-17 14:34 daniruiz File Added: Captura de pantalla de 2022-02-17 15-31-32.png
2022-02-17 14:34 daniruiz Note Added: 0015762
2022-02-17 14:35 daniruiz Status assigned => resolved
2022-02-17 14:35 daniruiz Resolution open => fixed
2022-02-17 14:35 daniruiz Fixed in Version => 2022.1
2022-02-17 15:38 daniruiz Relationship added related to 0007463