Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 21 May 2018, 11:29
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Phil's Xenial 7.5
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [18 Posts]   Goto page: Previous 1, 2
Author Message
dustedwax

Joined: 20 Feb 2015
Posts: 17

PostPosted: Sun 14 Jan 2018, 03:50    Post subject: keyboard layout problem
Subject description: Previously added keyboard layout disappears from xorgs.conf
 

There is a problem with the keyboard layout settings, loading on boot. It seems xorgs.conf has been set properly only for the keyboard variant (i use "Phonetic"), but the previously added layout ("Bulgarian") doesn't appear and must be set every time system boots.
Which scripts set the keyboard layout and keyboard layout variants to xorg.conf? I'd like to check out the code.
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 10424
Location: Charleston S.C. USA

PostPosted: Sun 14 Jan 2018, 18:16    Post subject:  

dustedwax,

You need to start your own topic about your problem.
What specific version of Xenialpup 7.5?
32bit or 64 bit?
How is it installed and on what?
The specific details on how you make the setting changes?

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
dustedwax

Joined: 20 Feb 2015
Posts: 17

PostPosted: Sat 20 Jan 2018, 09:20    Post subject:  

bigpup wrote:
dustedwax,

You need to start your own topic about your problem.
What specific version of Xenialpup 7.5?
32bit or 64 bit?
How is it installed and on what?
The specific details on how you make the setting changes?


Xenialpup 7.5, 32bit, Frugal Installation on USB stick.

Here are some thoughts and debugging:
Edit 1: I think the problem appears in keymap-set script. It always seems to set XkbLayout to default "us" value...
Edit 2: Noted that /etc/codepage file doesn't exist on boot and rc.country forces keymap-set --startup --load.
Edit 3: keymap-set worked fine after I disabled with a comment executing the keymap-set --startup --load in rc.country.
Edit 4: It seems the file /etc/codepage doesn't exist at point rc.country runs, so I decided to check out if the file /etc/keymap exists (i.e. is previously set) and here is the fix in rc.country:
Code:

######keyboard section######
if [ "$ASKKMAP" = "no" ];then
# [ ! -f /etc/codepage ] && echo -n "" > /etc/codepage # original code
# keymap-set --startup --load &>/dev/null # original code
 [ ! -f /etc/keymap ] && keymap-set --startup --load &>/dev/null #20180120 fix, runs 'keymap-set --startup -load' if no keymap is previously set
else
 [ ! -e /etc/keymap ] && keymap-set cli > /dev/console
fi
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [18 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0639s ][ Queries: 13 (0.0148s) ][ GZIP on ]