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 Tue 23 Oct 2018, 00:58
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
Keyboard layout variant resets after reboot [work-arounded]
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [13 Posts]  
Author Message
dustedwax

Joined: 20 Feb 2015
Posts: 17

PostPosted: Fri 20 Mar 2015, 08:42    Post subject:  Keyboard layout variant resets after reboot [work-arounded]  

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, 08:28; edited 1 time in total
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 3431
Location: www.eussenheim.de/

PostPosted: Fri 20 Mar 2015, 13:07    Post subject: keyboard layout variant  

Maybe this might help you: Keyboard issues and solutions ?
Back to top
View user's profile Send private message 
dustedwax

Joined: 20 Feb 2015
Posts: 17

PostPosted: Fri 20 Mar 2015, 18:37    Post subject: Re: keyboard layout variant  

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:
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!!!
Back to top
View user's profile Send private message 
bigpup


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

PostPosted: Sat 21 Mar 2015, 01:12    Post subject:  

Quote:
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.

_________________
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 21 Mar 2015, 05:01    Post subject:  

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:
exec /usr/local/apps/XkbConfigurationManager/XkbApplyNow
in a bash script in ~/Startup directory. Now everything works perfectly.
Back to top
View user's profile Send private message 
bigpup


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

PostPosted: Sat 21 Mar 2015, 19:37    Post subject:  

Good to see you fixed it.

I am going to report this in the Tahrpup bug topic for the developer to see.

_________________
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 
666philb


Joined: 07 Feb 2010
Posts: 3200
Location: wales

PostPosted: Mon 30 Mar 2015, 07:32    Post subject:  

thanks dustedwax

i've added your fix to tahrpup

_________________
Tahrpup, built with trusty tahr packages http://murga-linux.com/puppy/viewtopic.php?t=96178
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331
Back to top
View user's profile Send private message 
dustedwax

Joined: 20 Feb 2015
Posts: 17

PostPosted: Tue 31 Mar 2015, 08:27    Post subject:  

666philb wrote:
thanks dustedwax

i've added your fix to tahrpup

Massive thanks, Phil! Smile I've installed the Tahr updates and saw keyboardlayoutfix in "~/Startup" folder. I restarted X and everything works perfectly.
Back to top
View user's profile Send private message 
dustedwax

Joined: 20 Feb 2015
Posts: 17

PostPosted: Wed 08 Apr 2015, 02:05    Post subject:  

Okey, I'm curious... Normally what script reads the xorg.conf during the Puppy boot and applies the keyboard layout settings?
Back to top
View user's profile Send private message 
DuMar

Joined: 28 Jan 2016
Posts: 37
Location: Apeldoorn, Netherlands

PostPosted: Sat 24 Mar 2018, 04:57    Post subject: Same problem wit Xenial  

I have exactely the same problem with my Xenial 32 install on USB. @Phil666 please the same repair for Xenial too?
Back to top
View user's profile Send private message 
bigpup


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

PostPosted: Sat 24 Mar 2018, 08:26    Post subject:  

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?
keyboardlayoutfix.gz
Description 
gz

 Download 
Filename  keyboardlayoutfix.gz 
Filesize  66 Bytes 
Downloaded  119 Time(s) 

_________________
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 
DuMar

Joined: 28 Jan 2016
Posts: 37
Location: Apeldoorn, Netherlands

PostPosted: Sat 24 Mar 2018, 09:08    Post subject:  

That works indeed, thank you bigpup
Back to top
View user's profile Send private message 
DuMar

Joined: 28 Jan 2016
Posts: 37
Location: Apeldoorn, Netherlands

PostPosted: Sat 24 Mar 2018, 11:41    Post subject:  

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.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [13 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Bugs ( Submit bugs )
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.1908s ][ Queries: 15 (0.0728s) ][ GZIP on ]