Forum › Forums › antiX-development › antiX Respins › Language selections
- This topic has 6 replies, 5 voices, and was last updated Dec 8-5:17 am by Xaver.
-
AuthorPosts
-
December 7, 2025 at 9:34 am #191518
melodieMemberHello,
A discussion started here : http://www.antixforum.com/forums/topic/bento-openbox-recipe-available-on-github/page/3/#post-191296 which brought up an idea, around keeping all locales for a Live, then do something to bring the users, after install, to select one or several of their languages. The advantage is to be able to perform updates without having to wait until Chinese comes up to be finished with the generation of the locales.
Maybe the locales generation at the end of a large update is done fast in a powerful computer, in oldies the wait is almost unbearable.
So, two ideas come to my mind, in order to still have all languages available, but also to trigger a process for the first user created, after install, to bring them to choose just what they need.
– My first idea (probably the easiest) would be to create two Bash scripts and a desktop file in /etc/xdg/autostart (and YAD, nicer looking than pure console)
– My second idea (not sure it is feasable), would be to adapt the language-selector-gnome from Ubuntu, for antiX (it does not exist in Debian, never has, not sure why)
it is easy to use and good looking, but it is probably heavy. https://pkgs.org/download/language-selector-gnomeWhat do you think?
If I work on a set of scripts and desktop files, based on Bash, would the antiX community be interested to test and adopt it?- This topic was modified 9 months, 3 weeks ago by melodie.
December 7, 2025 at 9:43 am #191520abc-nix
Membersudo locale-antix
Plus sign.
Remove all.
Select your language.
Keep selected languages.Corruption has two hands: the Right and the Left. Don't let them squeeze you.
December 7, 2025 at 11:05 am #191522
melodieMembersudo locale-antix
Plus sign.
Remove all.
Select your language.
Keep selected languages.Great, thank you!
@ChPol, did you know about it? Also, I would not hope it automatically starts, the first time a user session is launched after installation? Does it?
December 7, 2025 at 3:11 pm #191534
anticapitalistaForum AdminBest to install locales-all
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
December 7, 2025 at 6:38 pm #191540
ileMemberhello melodie
” it automatically starts, the first time a user session is launched after installation? Does it?”
I have seen it show up during the –oobe session of the –oem installation.
That behavior may not always continue; installer changes can happen; running the –oobe command alone does not summon this remove locale window.
It does not show up during normal install.December 8, 2025 at 4:49 am #191548abc-nix
MemberWant to not have to recompile locales every locale update: anticapitalista’s solution. [simplest solution]
Want to micromanage locales: locale-antix (sudo mode). [power-user solution]
Want to only compile the language selected in the live system: add a hook/script to the live-init so that it compiles the selected language (+ en_US as a fallback) during boot. [developer solution]
Corruption has two hands: the Right and the Left. Don't let them squeeze you.
December 8, 2025 at 5:17 am #191553
XaverMemberYou can enforce your language selection by an ‘excludes’ file in /etc/dpkg/dpkg.cfg.d – example:
/etc/dpkg/dpkg.cfg.d/excludes
# Drop locales except English and German path-exclude=/usr/share/locale/* path-include=/usr/share/locale/en/* path-include=/usr/share/locale/de/* path-include=/usr/share/locale/locale.alias # # Drop translated manpages except English and German path-exclude=/usr/share/man/* path-include=/usr/share/man/man[1-9]/* path-include=/usr/share/man/en*/* path-include=/usr/share/man/de*/*Maybe then delete the unwanted locales in /usr/share/locale.
-
AuthorPosts
- You must be logged in to reply to this topic.