You are not logged in.
This seems to be quite a strange issue.
At system startup at the display manager login screen (I use lightdm) the layout of my Logitech K360 keyboard is set to english / qwerty, even though the system locale is hungarian.
This is understandably can be quite problematic upon entering passwords...
The curious thing is that the layout of the laptop's own keyboard remains hungarian, furthermore once I've hit a key on it, the layout of the wireless keyboard also resets to hungarian.
Fortunately I don't experience the issue once I logged in. (However this isn't a case for my work laptop (with the same keyboard), where the problem persists even after login. But I run Manjaro on that computer, so that doesn't belong here.)
toshiba satellite a300-1no, core2duo t5800@2ghz, 3gb ddr2, 120gb ocz vertex 3, 250gb wd scorpio blue, ati radeon hd3470
Offline
Have you read this: https://wiki.archlinux.org/index.php/Ke … on_in_Xorg?
Github (dotfiles etc.)
Offline
Hate to say it, but no. (Not until now.)
However I don't really see any hint toward a solution.
In the wiki it is stated that there is three method to set the layout:
1) setxkbmap - says that changes can be made persistent with ~/.xinitrc, but as I guess that only applies when I log in with my user, and not on the login screen.
2) X configuration files - I already have an auto generated config file here with the right settings.
3) localectl - generates the aforementioned config files.
toshiba satellite a300-1no, core2duo t5800@2ghz, 3gb ddr2, 120gb ocz vertex 3, 250gb wd scorpio blue, ati radeon hd3470
Offline
In /etc/lightdm.conf there is a setting called greeter-setup-script.
Try putting in there setxkbmap -layout etc. as detailed in the wiki.
This runs each time a greeter is started.
Not the cleanest solution, but should work.
Last edited by bluestreak0 (2014-05-31 14:07:43)
Github (dotfiles etc.)
Offline
I've done as you said. I've put the line
greeter-setup-script = setxkbmap -model pc104 -layout hu
into /etc/lightdm/lightdm.conf
Still no good.
toshiba satellite a300-1no, core2duo t5800@2ghz, 3gb ddr2, 120gb ocz vertex 3, 250gb wd scorpio blue, ati radeon hd3470
Offline
Might be of use:
https://forum.manjaro.org/index.php?topic=69.0
Github (dotfiles etc.)
Offline
Might be of use:
https://forum.manjaro.org/index.php?topic=69.0
Tried it. Still no luck.
Also found this (at the bottom) https://wiki.archlinux.org/index.php/Lo … _xorg.conf
Which is what you said to try with lightdm. Except that the greeter script either doesn't work, or doesn't run.
It says that "temporary workaround". I guess (I hope) this implies that eventually it will be fixed.
toshiba satellite a300-1no, core2duo t5800@2ghz, 3gb ddr2, 120gb ocz vertex 3, 250gb wd scorpio blue, ati radeon hd3470
Offline
If you dont think the command is excecuting, you could try writing a simple script in /usr/local/bin
#!/bin/sh
setxkbmap -model pc104 -layout hu
Then do
# chmod +x /usr/local/bin/keyboard.sh
Finally, in lightdm.conf, find the greeter-setup-script setting and put in
greeter-setup-script=/usr/local/bin/keyboard.sh
Github (dotfiles etc.)
Offline