-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle /usr/lib/locale and /usr/share/locale #3
Comments
Do we always need to deploy the locales btw? For example I found out we don't always need to deploy |
I assume that the error goes away when you copy |
Don't quite know what is going on but as soon as I set the |
Just reproduced the issue with GIMP, setting |
On Debian, indeed |
I wonder what happens if you do the same with a distribution-installed gimp. |
Isn't the gimp I just tested a distribution-installed gimp? |
Sorry, didn't catch this. So either we are using |
https://www.gnu.org/software/libc/manual/html_node/Locale-Names.html According to that the default for |
According to https://www.man7.org/linux/man-pages/man7/locale.7.html,
I wonder whether this is the reason. And indeed when I move In this case, it searches for
But...
|
haha, I was checking strings on all the libs to see which one contained |
Testing this with NixOS now. Another option: |
And with that, my demo application (PrusaSlicer) now even runs on NixOS (with |
Noted, and yeah I've noticed I was locale errors when running other appimages on alpine but they didn't stop the app from working, this is really needed because changing the working directory is an issue with some apps.
Doesn't it work if you set |
|
It will work if you just use uruntime. And it is also likely to help reduce the size of the appimage and speed up its work (If you use DwarFS) |
|
Very promising @VHSgunzo. Will come to uruntime later. Might consider it as the default for AppImage if it turns out as great as it sounds. |
So, for my personal test case I found solutions for all of the above. But it is a lot of manual work, Is it in the scope of this project to provide automation for this? Thanks. |
@Samueru-sama thanks for the pointer. Regarding PrusaSlicer issue 13653, do you have more insight into what exactly needs to be changed? |
The user that had the locale issue is from Romania, so I guess the locale that's used there isn't available in the |
Some Linux distributions such as NixOS and Chimera Linux don't have
/usr/lib/locale
and/usr/share/locale
, so at least for glibc-based applications these need to be bundled.The text was updated successfully, but these errors were encountered: