LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-14-2014, 10:53 PM   #1
Xiano
LQ Newbie
 
Registered: Jul 2014
Posts: 12

Rep: Reputation: Disabled
How to change keyboard layout for kdm login screen?


I just found out what runlevel 4 means, and that you can set it after booting in inittab. Nice to see graphical login screen, but i use an azerty keyboard and it took me some trying to find the correct password with the default qwerty layout. Is there a way to change the keyboard layout during kdm login? Or up front?

Thanks.

Last edited by Xiano; 08-14-2014 at 11:02 PM.
 
Old 08-14-2014, 11:13 PM   #2
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 634
Blog Entries: 20

Rep: Reputation: 81
Check layout in /etc/X11/*
Code:
grep -R XkbLayout /etc/X11/*
and check if it conflicts anywhere with the layout you want.
If that fails try putting something like
Code:
/usr/bin/loadkeys us.map
with the right layout for your keyboard
in rc.4 before kdm (or whatever you use for grafical login) is started.
 
Old 08-14-2014, 11:19 PM   #3
Xiano
LQ Newbie
 
Registered: Jul 2014
Posts: 12

Original Poster
Rep: Reputation: Disabled
Found one solution.

I created a file called /etc/X11/xorg.conf.d/90-keytable.conf which contains:

Section "InputClass"
Identifier "LocalKeyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "be"
Option "XkbVariant" "nodeadkeys"
EndSection

... and now my default keyboard layout in the kdm login screen is correct.

Found suggestion on another forum.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: How to Change GDM/Login Screen Background Image in Ubuntu Lucid, Maverick LXer Syndicated Linux News 0 01-04-2011 08:00 PM
How to change keyboard to write in english on login screen mazen97 Linux - Newbie 2 07-08-2009 03:49 AM
Fonts too big, login screen ugly, and kdm <-> gdm change. andrew22 Linux - Laptop and Netbook 1 03-01-2009 08:48 AM
Can't change keyboard layout in Ubuntu 8.04 login screen Anonymous1993 Linux - Newbie 3 04-26-2008 08:31 AM
KDE login screen keyboard layout Julkku Linux - Software 0 03-28-2005 05:21 AM

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

All times are GMT -5. The time now is 03:14 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