Page 1 of 1

Problem with changing locale (solved)

Posted: Sat Sep 24, 2022 10:51 pm
by Zedward

I've installed Puppy Bionicle 32bit frugal, installed the applications and set up the system (it works on pupmode=13). Suddenly I discovered that I had chosen the wrong locale at the very beginning (ru_UA.UTF-8 instead of ru_RU.UTF-8. This resulted to a font display issue in Wine). I changed the locale with locale-gen and then after reboot all icons and wallpapers of the ROX desktop disappeared (all programs and settings are all OK). I put icons and wallpapers on the desktop, saved the session, but after reboot everything disappears again. Same behavior in pupmode=12.
How to overcome this problem?
Or how to change the locale without such painful consequences?


Re: Problem with changing locale

Posted: Sun Sep 25, 2022 7:49 am
by bigpup

This is the first report of it doing this I have ever seen.

To get back to normal.

Try this to replace file:
Find this file
/root/choices/rox-filer/PuppyPin
You will see file PuppyPin and PuppyPin.bak
Delete PuppyPin
Rename PuppyPin.bak to PuppyPin
Reboot computer.

May have to replace PuppyPin with same file from the Bionicpup32 iso.
File will be in the puppy_upupbb_19.03.sfs


Re: Problem with changing locale

Posted: Sun Sep 25, 2022 8:50 am
by Zedward

It did not help. I replaced the file with one from ISO, added a wallpaper and an icon, but after reboot everything was gone again.
Changes are saved only if I manually edit the file
/var/local/sss/root/Choices/ROX-Filler/PuppyPin

It appears that after changing the locale, Puppy doesn't save the changes to savefile or fails to load the correct file etc.
Maybe I should change the locale in some other way?

When I change locale back in Settings/Country, all works correct again :evil:
I changed locale to en_US.utf-8 and ROX desktop works correct. But when I change locale to ru_RU.utf-8 back, I get read-only desktop again.


Re: Problem with changing locale

Posted: Sun Sep 25, 2022 10:08 am
by Zedward

What a strange glitch... I added locale folder from usr/lib/locales to savefile manually BEFORE reboot and now all working fine :|


Re: Problem with changing locale (solved)

Posted: Sun Sep 25, 2022 10:04 pm
by rockedge

This problem sounds like locale-gen is causing the disappearance of /root/choices/rox-filer/PuppyPin some how. It's hard to pinpoint most of the time why the PuppyPin sometimes is gone suddenly.

Probably should be an emergency restore mechanism added to Puppy Linux. Happens rarely but it does happen