LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   qwerty when I boot with slack 13.1 (https://www.linuxquestions.org/questions/slackware-14/qwerty-when-i-boot-with-slack-13-1-a-825767/)

njb 08-12-2010 07:21 AM

qwerty when I boot with slack 13.1
 
Hello,

My default keyboard is azerty.
When I first boot the boot windows that asks user and pass consider my keyboard as qwerty the first time.
After the session is opened,
when the screen saver starts and I want to log again, as a pass is required, the keyboard is azerty again.

;-/ NjB /

spoovy 08-12-2010 08:56 AM

I had/have a similar problem - no matter how many times I set the keyboard map to GB, it always reverts to USA layout on each boot.

I get round it my putting a little script in ~/.kde/autostart -

Code:

#!/bin/bash
setxkbmap gb &


Richard Cranium 08-12-2010 10:39 AM

You would normally configure that in your /etc/X11/xorg.conf file.

"man xorg.conf" and read up on input devices, then "man 4 kbd" to see how to set up your keyboard.

rfernandez 08-12-2010 11:25 AM

Or create a "rc.keymap" in your /etc/rc.d/ directory with the default keymap, like:

Code:

#!/bin/sh
# Load the keyboard map.  More maps are in /usr/share/kbd/keymaps.
if [ -x /usr/bin/loadkeys ]; then
 /usr/bin/loadkeys br-abnt2.map
fi

(This is my rc.keymap script).

This rc.keymap script is loaded by rc.M script uppon system init.

gegechris99 08-12-2010 02:56 PM

From file CHANGES_AND_HINTS.TXT:

Quote:

If you need to use a non-US keyboard layout, then copy the file located at
/usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi to /etc/hal/fdi/policy
and edit it to suit your needs. Have a look at the contents of that file
for an example and more information. If you prefer to do this the "old" way
using /etc/X11/xorg.conf, then you can use "X -configure" or "xorgsetup" to
generate an xorg.conf, then add the following lines to the "ServerFlags"
section to disable input device hotplugging via HAL:
Option "AllowEmptyInput" "false"
Option "AutoAddDevices" "false"
Option "AutoEnableDevices" "false"
This is also relevant if you prefer to disable HAL completely for whatever
reason.
So if you didn't tinker with defaults, QWERTY would be the default keyboard layout when you start X and get to the login screen the first time.

Then I would assume that you put the correct keyboard information in the keyboard settings of your desktop (KDE or XFCE). That would explain why you reverted to AZERTY to unlock your screensaver.


All times are GMT -5. The time now is 07:15 PM.