Keyboard layout variant resets after reboot [work-arounded]

Please post any bugs you have found
Post Reply
Message
Author
dustedwax
Posts: 17
Joined: Fri 20 Feb 2015, 17:35

Keyboard layout variant resets after reboot [work-arounded]

#1 Post by dustedwax »

This problem occurs in all Puppy distros I've tried.

Description:
1. I got fresh Puppy frugal installation (in this case Tahr 6.0)
2. Open XKB Configuration Manager
3. Add Bulgarian layout (it adds Bulgarian BDS layout variant as default)
4. Change layout variant to phonetic (instead of default BDS)
5. Setup alt+shift keyboard shortcut to switch groups
6. Everything works perfectly
7. Shutdown, saving to a pup-save file.

After the system boots I got again Bulgarian BDS layout variant instead of Bulgarian phonetic I picked and saved last time.

Work-around:
After system boots, I go to XKB Configuration Manager and hit the layout variants button (it says the current layout variant is "phonetic bg: Phonetic", but actually it's the default Bulgarian BDS). I remove the phonetic layout variant, then add it again and everything runs properly.
Last edited by dustedwax on Tue 31 Mar 2015, 12:28, edited 1 time in total.

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

keyboard layout variant

#2 Post by L18L »

Maybe this might help you: Keyboard issues and solutions ?

dustedwax
Posts: 17
Joined: Fri 20 Feb 2015, 17:35

Re: keyboard layout variant

#3 Post by dustedwax »

L18L wrote:Maybe this might help you: Keyboard issues and solutions ?
I already tried to work it around with xorg.conf, but unfortunately, it didn't help. After rebooting the system or restarting the X, xorg.conf keeps the settings (see below), but the Bulgarian phonetic variant is not activated.

Code: Select all

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option      "XkbRules" "xorg"
	Option      "XkbModel" "pc102" #xkbmodel0
	Option      "XkbLayout" "us,bg" #xkeymap0
	#Option      "XkbVariant" ",phonetic" #xkbvariant0
	Option      "XkbOptions"   "grp:alt_shift_toggle"
EndSection
So I decided to make an experiment: I started XKB Configuration Manager, made no changes, but just pressed "Apply" button and everything ran perfectly!! Oh, guys! I think we do have a friggin' bug here!!!

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#4 Post by bigpup »

I got fresh Puppy frugal installation (in this case Tahr 6.0)
Have you done the Tahrpup update?
Quickpet->Info->Tahrpup updates

Is this a frugal install on a partition Windows also uses?
If yes, this can cause the save file to be fragmented and it will have problems.

Defrag using Windows defrag program.

Make a new save file.
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 :shock:
YaPI(any iso installer)

dustedwax
Posts: 17
Joined: Fri 20 Feb 2015, 17:35

#5 Post by dustedwax »

bigpup wrote: Have you done the Tahrpup update?
Quickpet->Info->Tahrpup updates

Is this a frugal install on a partition Windows also uses?
If yes, this can cause the save file to be fragmented and it will have problems.

Defrag using Windows defrag program.

Make a new save file.
Puppy installed on the primary ext2 partition (only for Puppy Tahr), all bugfixes installed + Tahr 6.0 to Tahr 6.0.2 service pack. This problem occurs in all Puppy distros I've tried (Slacko Puppy, Precise Puppy). Same happens if I install Puppy on a flash stick, so I guess it's kind of bug.

Whatever... I made a work-around, adding following line:

Code: Select all

exec /usr/local/apps/XkbConfigurationManager/XkbApplyNow
in a bash script in ~/Startup directory. Now everything works perfectly.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#6 Post by bigpup »

Good to see you fixed it.

I am going to report this in the Tahrpup bug topic for the developer to see.
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 :shock:
YaPI(any iso installer)

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#7 Post by 666philb »

thanks dustedwax

i've added your fix to tahrpup
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

dustedwax
Posts: 17
Joined: Fri 20 Feb 2015, 17:35

#8 Post by dustedwax »

666philb wrote:thanks dustedwax

i've added your fix to tahrpup
Massive thanks, Phil! :) I've installed the Tahr updates and saw keyboardlayoutfix in "~/Startup" folder. I restarted X and everything works perfectly.

dustedwax
Posts: 17
Joined: Fri 20 Feb 2015, 17:35

#9 Post by dustedwax »

Okey, I'm curious... Normally what script reads the xorg.conf during the Puppy boot and applies the keyboard layout settings?

DuMar
Posts: 79
Joined: Thu 28 Jan 2016, 15:18
Location: Apeldoorn, Netherlands

Same problem wit Xenial

#10 Post by DuMar »

I have exactely the same problem with my Xenial 32 install on USB. @Phil666 please the same repair for Xenial too?

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#11 Post by bigpup »

Here is the script file from Tahrpup.

Remove the .gz from the name
(had to add that to the name to get it to post in the forum)
Place it in /root/startup

Reboot

Does it work for you?
Attachments
keyboardlayoutfix.gz
(66 Bytes) Downloaded 350 times
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 :shock:
YaPI(any iso installer)

DuMar
Posts: 79
Joined: Thu 28 Jan 2016, 15:18
Location: Apeldoorn, Netherlands

#12 Post by DuMar »

That works indeed, thank you bigpup

DuMar
Posts: 79
Joined: Thu 28 Jan 2016, 15:18
Location: Apeldoorn, Netherlands

#13 Post by DuMar »

I just found that the script is already included but in the folder disabled in the folder /startup. Just drag it out there and done.

Post Reply