You are not logged in.
Hi,
I installed the minecraft-launcher package from yay and have the proprietary NVIDIA graphics driver installed. When I try to launch the launcher through shell, I get this output
ace@AceStrix ~]$ minecraft-launcher
terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
https://launchermeta.mojang.com/v1/products/launcher/6f083b80d5e6fabbc4236f81d0d8f8a350c665a9/linux.json
(process:35481): Gtk-WARNING **: 13:12:49.259: Locale not supported by C library.
Using the fallback 'C' locale.
OK
terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
While setting up Arch Linux during installation I had used "en_GB.UTF-8" by editing /etc/locale.gen and then running the following
locale-gen
echo LANG=en_GB.UTF-8 > /etc/locale.conf
export LANG=en_GB.UTF-8
I am using the KDE environment with SDDM, an AMD CPU and dedicated NVIDIA GPU and I'm using the "jre-openjdk" package which can be confirmed with
[ace@AceStrix ~]$ archlinux-java status
Available Java environments:
java-23-openjdk (default)
Please let me know what the issue is and how to tackle this.
Last edited by TheKnightsky (2024-11-30 09:38:09)
Offline
The command " LC_ALL=C minecraft-launcher " seems to work but without it I can't seem to launch it
Offline
Update:
I had only uncommented en_GB.UTF-8
but by also uncommenting en_US.UTF-8 and regenerating the locales, I can now use minecraft-launcher normally.
Marking it as solved but I still don't understand why this happens, please let me know.
Offline
Mod note: moving to AUR Issues
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline