@Sofiya that looks like different version than the included in rc1 (that I once shared, with 'Replaces" and "Conflict" options, a bit experimental, I'd say), is that right ?
KLV-Airedale-rc1 the Release Candidate 1 is Available!
Moderator: Forum moderators
- fredx181
- Posts: 3085
- Joined: Tue Dec 03, 2019 1:49 pm
- Location: holland
- Has thanked: 376 times
- Been thanked: 1315 times
- Contact:
- Sofiya
- Posts: 2286
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1477 times
- Been thanked: 1536 times
Re: KLV-Airedale-rc1 the Release Candidate 1 is Available!
yes, that's why I'm a little confused
everything works packages are assembled
- Attachments
-
- Снимок экрана_2022-12-09_20-16-38.png (12.32 KiB) Viewed 1495 times
-
- xclip-0.13_2.x86_64.xbps
- (14.4 KiB) Downloaded 47 times
-
- trans-tray-1.2.0_1.x86_64.xbps
- depends on xclip
- (66.73 KiB) Downloaded 59 times
KL
PUPPY LINUX Simple fast free
- Sofiya
- Posts: 2286
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1477 times
- Been thanked: 1536 times
Re: KLV-Airedale-rc1 the Release Candidate 1 is Available!
.
- Attachments
-
- out.jpg (4.32 KiB) Viewed 1144 times
-
- poorercputemp-transparent-0.1_1.x86_64.xbps
- (13.66 KiB) Downloaded 45 times
-
- poorercputemp-0.2_1.x86_64.xbps
- (13.94 KiB) Downloaded 68 times
KL
PUPPY LINUX Simple fast free
- fredx181
- Posts: 3085
- Joined: Tue Dec 03, 2019 1:49 pm
- Location: holland
- Has thanked: 376 times
- Been thanked: 1315 times
- Contact:
Re: KLV-Airedale-rc1 the Release Candidate 1 is Available!
@rockedge The env variable LANG is not set, this can lead to problems, for example try pasting this:
echo "поклонникам Г.О.Егора Летова радио онлайн"
in a xterm window, it becomes:
echo "########### #.#.##### ###### ##### ######"
When doing first LANG=en_US.UTF-8 xterm
and paste it in, it's OK.
Not sure if it's the right way for Void, but uncommenting LANG=en_US.UTF-8 in /etc/environment (tested by logout and login again) fixes it (mentioned earlier by I think @Sofiya )
- rockedge
- Site Admin
- Posts: 6551
- Joined: Mon Dec 02, 2019 1:38 am
- Location: Connecticut,U.S.A.
- Has thanked: 2757 times
- Been thanked: 2628 times
- Contact:
Re: KLV-Airedale-rc1 the Release Candidate 1 is Available!
@fredx181 Totally correct solution. I thought I had set that a long time ago. It seems during the development it returned to default. I will fix it for KLV-Airedale-rc2 which should be ready in a few hours.
Way back while making the early FirstRib-Void distro's with the JWM + Rox desktop I first encountered that the environment variable ishould be set during the distro build. Void Linux has chapter on it in their manual on the recommended method to use.
I will use what you did first though since I trust your judgment on the matter.
This is what /etc/environment looks like now:
Code: Select all
#
# This file is parsed by pam_env module
#
# Syntax: simple "KEY=VAL" pairs on separate lines
#
#LC_ALL=en_US.UTF-8
#LANG=en_US.UTF-8
And this is what it looks like now (as soon as I generate the new rootfs):
Code: Select all
#
# This file is parsed by pam_env module
#
# Syntax: simple "KEY=VAL" pairs on separate lines
#
#LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8
- fredx181
- Posts: 3085
- Joined: Tue Dec 03, 2019 1:49 pm
- Location: holland
- Has thanked: 376 times
- Been thanked: 1315 times
- Contact:
Re: KLV-Airedale-rc1 the Release Candidate 1 is Available!
rockedge wrote:I will use what you did first though since I trust your judgment on the matter.
Better don't as I don't know much about Void.
But your second /etc/environment code uncommented to LANG=en_US.UTF-8
works for me to solve the missing LANG env variable.
- rockedge
- Site Admin
- Posts: 6551
- Joined: Mon Dec 02, 2019 1:38 am
- Location: Connecticut,U.S.A.
- Has thanked: 2757 times
- Been thanked: 2628 times
- Contact:
Re: KLV-Airedale-rc1 the Release Candidate 1 is Available!
@fredx181 This is what I use in the PLUG that builds the KLV base.
Code: Select all
# Set locale to en_US.UTF-8
sed -i 's/#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/default/libc-locales
xbps-reconfigure -f glibc-locales
I will test this in a terminal.
- fredx181
- Posts: 3085
- Joined: Tue Dec 03, 2019 1:49 pm
- Location: holland
- Has thanked: 376 times
- Been thanked: 1315 times
- Contact:
Re: KLV-Airedale-rc1 the Release Candidate 1 is Available!
rockedge wrote: ↑Sun Dec 11, 2022 7:04 pm@fredx181 This is what I use in the PLUG that builds the KLV base.
Code: Select all
# Set locale to en_US.UTF-8 sed -i 's/#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/default/libc-locales xbps-reconfigure -f glibc-locales
I will test this in a terminal.
Mmm... running above doesnt work setting the locale (tested after re-login with echo $LANG
, and it's showing empty. Should be in the right direction (official way). On Debian it's similar thing but running dpkg-reconfigure locales on Debian asks you also which to make default, that should be next step to make it work on Void too, I guess.
It does btw uncomment en_US.UTF-8 UTF-8 in /etc/default/libc-locales, so the sed -i ... part works.
edit:
The Void Handbook says to put it in /etc/locale.conf, I tried LANG=en_US.UTF-8 in locale.conf but doesn't work for me.
Also I read somewhere about problems setting the locale in void.
So I'd say put it in /etc/environment in the rootfs and be happy (and put this info in the KLV Handbook )
(most people want UTF8, I guess)
- rockedge
- Site Admin
- Posts: 6551
- Joined: Mon Dec 02, 2019 1:38 am
- Location: Connecticut,U.S.A.
- Has thanked: 2757 times
- Been thanked: 2628 times
- Contact:
Re: KLV-Airedale-rc1 the Release Candidate 1 is Available!
@fredx181 You made me remember why I put uxterm
into KLV!
If you run uxterm and do the line echo "поклонникам Г.О.Егора Летова радио онлайн"
it works fine. So both xterm
and uxterm
are installed and work.
I wonder now with the localization set I could remove uxterm......
- fredx181
- Posts: 3085
- Joined: Tue Dec 03, 2019 1:49 pm
- Location: holland
- Has thanked: 376 times
- Been thanked: 1315 times
- Contact:
Re: KLV-Airedale-rc1 the Release Candidate 1 is Available!
rockedge wrote: ↑Sun Dec 11, 2022 10:39 pm@fredx181 You made me remember why I put
uxterm
into KLV!If you run uxterm and do the line
echo "поклонникам Г.О.Егора Летова радио онлайн"
it works fine. So bothxterm
anduxterm
are installed and work.I wonder now with the localization set I could remove uxterm......
Yes, uxterm works with UTF-8, but if you e.g. click on a script that needs it, it doesn't work ok as it doesnt run in uxterm.
I think too, if locale is properly set to UTF8, no need for uxterm.
- Sofiya
- Posts: 2286
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1477 times
- Been thanked: 1536 times
Re: KLV-Airedale-rc1 the Release Candidate 1 is Available!
I have translated the OS into my language, though there is one caveat, the programs installed out of the box have my locale, and third-party script programs are not translated into my language even if I throw the file хххх .mо
into
/usr/share/locale/ru/LC_MESSAGES/
even if I force my language to be selected for the program.
It certainly doesn't bother me, but I would like to understand the reason for this behavior
- Attachments
-
- Screenshot.png (160.32 KiB) Viewed 2021 times
KL
PUPPY LINUX Simple fast free
- Sofiya
- Posts: 2286
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1477 times
- Been thanked: 1536 times
Re: KLV-Airedale-rc1 the Release Candidate 1 is Available!
All this problem is solved, third-party files have my language
- Attachments
-
- Снимок экрана_2022-12-12_03-35-49.png (166.93 KiB) Viewed 1998 times
-
- Снимок экрана_2022-12-12_03-31-26.png (187.38 KiB) Viewed 1998 times
KL
PUPPY LINUX Simple fast free
- rockedge
- Site Admin
- Posts: 6551
- Joined: Mon Dec 02, 2019 1:38 am
- Location: Connecticut,U.S.A.
- Has thanked: 2757 times
- Been thanked: 2628 times
- Contact:
- Sofiya
- Posts: 2286
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1477 times
- Been thanked: 1536 times
Re: KLV-Airedale-rc1 the Release Candidate 1 is Available!
edited:
Install library for internationalization gettext
for information https://ru.wikipedia.org/wiki/Gettext
Uncomment the line with your language /etc/default/libc-locales
for example #ru_RU.UTF-8 UTF-8
on theru_RU.UTF-8 UTF-8
in /etc/locale.conf
LANG=ru_RU.UTF-8
LC_COLLATE=C
in - /etc/environment
Code: Select all
#
# This file is parsed by pam_env module
#
# Syntax: simple "KEY=VAL" pairs on separate lines
#
#LC_ALL=ru_RU.UTF-8
LANG=ru_RU.UTF-8
PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/root/my-applications/bin:/usr/games"
then type in terminal xbps-reconfigure -f glibc-locales
exit the session
- Attachments
-
- Снимок экрана_2022-12-12_04-17-08.png (60.45 KiB) Viewed 1977 times
KL
PUPPY LINUX Simple fast free
- Sofiya
- Posts: 2286
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1477 times
- Been thanked: 1536 times
Re: KLV-Airedale-rc1 the Release Candidate 1 is Available!
in file "chooselocale"
pop-up notifications and the restart button X have been edited.
re-uploaded
edited
option 2: language selection will be done automatically via "chooselocale" script in applications > settings > localization
"chooselocale" file attached below
put the "chooselocale" file in /usr/sbin
Add to /etc/profile
PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/root/my-applications/bin:/usr/games"
#this line gets edited by chooselocale script...
LANG=ru_RU.UTF-8
export LANG
install in /usr/share/applications/
Code: Select all
[Desktop Entry]
Encoding=UTF-8
Name=Localization
Icon=locale
Comment=Choose your country localisation
Exec=chooselocale
Terminal=false
Type=Application
Categories=X-DesktopCountry;X-System;Settings;X-XFCE-SettingsDialog;X-XFCE-SystemSettings;
GenericName=Localisation
for third-party programs also install gettext
in order for a third-party program to be in your language, you need a program file xxxx.mo
with your language translation
put the file in /usr/share/locale/
folder with your language
/etc/environment
Code: Select all
#
# This file is parsed by pam_env module
#
# Syntax: simple "KEY=VAL" pairs on separate lines
#LC_ALL=ru_RU.UTF-8
#LANG=ru_RU.UTF-8
- Attachments
-
- Снимок экрана_2022-12-14_04-18-54.png (94.63 KiB) Viewed 1705 times
KL
PUPPY LINUX Simple fast free
- fredx181
- Posts: 3085
- Joined: Tue Dec 03, 2019 1:49 pm
- Location: holland
- Has thanked: 376 times
- Been thanked: 1315 times
- Contact:
Re: KLV-Airedale-rc1 the Release Candidate 1 is Available!
Sofiya wrote:there is another option
but then you need to replace the file /etc/profile
and install in /usr/share/applications/
I don't understand what you say "replace the file /etc/profile"
And... :
I experimented setting to my language Dutch, besides uncommenting in /etc/default/libc-locales #nl_NL.UTF-8 UTF-8 , I had to do xbps-reconfigure -f locales
(that you didn't mention) which will generate the locale, without it, setting language didn't work for me.
Also I tried running "chooselocale" and it's not found (on rc2).
- Sofiya
- Posts: 2286
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1477 times
- Been thanked: 1536 times
Re: KLV-Airedale-rc1 the Release Candidate 1 is Available!
yes, maybe it's not there because I have a save file and it's there
in file "chooselocale"
pop-up notifications and the restart button X have been edited.
re-uploaded
edited:
place in /usr/sbin
chooselocale
- Attachments
-
- chooselocale.fake.gz
- edited: make executable
- (67.26 KiB) Downloaded 70 times
-
- Localization.tar.gz
- (335 Bytes) Downloaded 74 times
-
- profile.fake.gz
- edited
- (825 Bytes) Downloaded 56 times
KL
PUPPY LINUX Simple fast free
- fredx181
- Posts: 3085
- Joined: Tue Dec 03, 2019 1:49 pm
- Location: holland
- Has thanked: 376 times
- Been thanked: 1315 times
- Contact:
Re: KLV-Airedale-rc1 the Release Candidate 1 is Available!
Had a look at your attachments shared. Good intentions, I'm sure, but to implement in KLV what you shared needs much more explanation about how to handle, I think, anyway it's confusing for me , but perhaps @rockedge can use it.
edit:
because I have a save file and it's there
Please try to differentiate between what you do and what's inside a new release.
- Sofiya
- Posts: 2286
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1477 times
- Been thanked: 1536 times
Re: KLV-Airedale-rc1 the Release Candidate 1 is Available!
fredx181 wrote: ↑Mon Dec 12, 2022 6:02 pmHad a look at your attachments shared. Good intentions, I'm sure, but to implement in KLV what you shared needs much more explanation about how to handle, I think, anyway it's confusing for me , but perhaps @rockedge can use it.
edit:
because I have a save file and it's there
Please try to differentiate between what you do and what's inside a new release.
chooselocale end gettext
need to install
this allows me to change to my locale without xbps-reconfigure -f locales
а PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/root/my-applications/bin:/usr/games"
localizes third-party programs like tkagif... and others
KL
PUPPY LINUX Simple fast free
- Sofiya
- Posts: 2286
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1477 times
- Been thanked: 1536 times
Re: KLV-Airedale-rc1 the Release Candidate 1 is Available!
Thank you very much @rockedge
for a wonderful puppy
- Attachments
-
- Screenshot.png (315.9 KiB) Viewed 1652 times
-
- Screenshot(1).png (264.85 KiB) Viewed 1665 times
-
- Screenshot.png (207.89 KiB) Viewed 1666 times
KL
PUPPY LINUX Simple fast free