Problem with changing locale (solved)

New to Puppy and have questions? Start here

Moderator: Forum moderators

Post Reply
Zedward
Posts: 67
Joined: Fri Sep 09, 2022 10:47 am
Has thanked: 13 times
Been thanked: 1 time

Problem with changing locale (solved)

Post 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?

Last edited by bigpup on Sun Sep 25, 2022 6:11 pm, edited 1 time in total.
Reason: added solved to show fix was found
User avatar
bigpup
Moderator
Posts: 6241
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 723 times
Been thanked: 1283 times

Re: Problem with changing locale

Post 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

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

Zedward
Posts: 67
Joined: Fri Sep 09, 2022 10:47 am
Has thanked: 13 times
Been thanked: 1 time

Re: Problem with changing locale

Post 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.

Zedward
Posts: 67
Joined: Fri Sep 09, 2022 10:47 am
Has thanked: 13 times
Been thanked: 1 time

Re: Problem with changing locale

Post by Zedward »

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

User avatar
rockedge
Site Admin
Posts: 5701
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 1982 times
Been thanked: 2092 times
Contact:

Re: Problem with changing locale (solved)

Post 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

Post Reply

Return to “Beginners Help”