> locale
LANG="en_US"
LC_COLLATE="en_US"
LC_CTYPE="en_US.UTF-8"
LC_MESSAGES="en_US"
LC_MONETARY="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_ALL=
> /Applications/Plex.app/Contents/MacOS/Plex
Non-C locale detected. This is not supported.
Call 'setlocale(LC_NUMERIC, "C");' in your code.
Starts up fine with > LC_NUMERIC=C /Applications/Plex.app/Contents/MacOS/Plex
Seems like automatic advice is quite good.
I’m pretty sure it’s best to be fixed in the code, since software itself requires LC_NUMERIC to be set to “C”, but meanwhile could you please suggest any workaround to be able to start the app from Spotlight ?
I have these lines run on login:
launchctl setenv LANG en_US
launchctl setenv LC_CTYPE en_US.UTF-8
These are therefore used for the whole session.
Is there any way to set specific env var for a single application?
I thought it was possible with app’s Info.plist, but didn’t find a way to do it.
Any suggestions, please ?
Thank you for including the reference, I obviously failed to find it myself
This thread is actually a full duplicate of that one.
And like that thread’s OP, I have set my environment globally for the whole session and would like to stay it that way. Globally means it is set for apps launched via Spotlight (Command-Space, and so on…).
Like @matelios_plex_tv in that thread, I think it should be fixed in Plex code, since it won’t run otherwise.
Is there any way to draw developers’ attention to this quite tiny and easy fix ?