LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-12-2010, 07:21 AM   #1
njb
Member
 
Registered: Apr 2010
Location: Behind the Gateway
Distribution: Slackware 13.1
Posts: 167
Blog Entries: 4

Rep: Reputation: 16
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 /
 
Old 08-12-2010, 08:56 AM   #2
spoovy
Member
 
Registered: Feb 2010
Location: London, UK
Distribution: Scientific, Ubuntu, Fedora
Posts: 373

Rep: Reputation: 43
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 &
 
Old 08-12-2010, 10:39 AM   #3
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
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.
 
Old 08-12-2010, 11:25 AM   #4
rfernandez
Member
 
Registered: Mar 2010
Location: Brazil
Distribution: Slackware64
Posts: 264

Rep: Reputation: 41
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.

Last edited by rfernandez; 08-12-2010 at 11:28 AM.
 
1 members found this post helpful.
Old 08-12-2010, 02:56 PM   #5
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,160
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
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.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gdm is qwerty and should be azerty as everywhere else benjalien Linux - Desktop 2 08-13-2008 05:20 AM
Qwerty and Dvorak pyrobob Linux - Newbie 4 08-09-2008 08:30 AM
simultaneous dvorak / qwerty Dranorter Linux - Hardware 2 04-17-2008 10:42 AM
qwerty to Dvorak blitzen Linux - Hardware 5 03-23-2004 12:37 PM
non-qwerty Keboard with sarge yelo Debian 1 11-18-2003 07:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration