Skip to content
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

Support for multi LANG enviroment (XPS 15 7950, Ubuntu 19.10) #23

Open
jancidlo opened this issue Feb 16, 2020 · 0 comments
Open

Support for multi LANG enviroment (XPS 15 7950, Ubuntu 19.10) #23

jancidlo opened this issue Feb 16, 2020 · 0 comments

Comments

@jancidlo
Copy link

Hello

I'm using Ubuntu 19.10 with latest updates on Dell XPS 15 7950.
Software icc-brightness is working well on default EN language.
After I changed language to CZ, software didn't work and I received an error message:

Traceback (most recent call last):
File "/usr/local/bin/icc-brightness", line 157, in
main()
File "/usr/local/bin/icc-brightness", line 132, in main
icc_brightness_apply()
File "/usr/local/bin/icc-brightness", line 108, in icc_brightness_apply
icc_brightness(brightness, max_brightness)
File "/usr/local/bin/icc-brightness", line 85, in icc_brightness
subprocess.check_output(['colormgr', 'import-profile', icc_filepath])
File "/usr/lib/python3.7/subprocess.py", line 411, in check_output
**kwargs).stdout
File "/usr/lib/python3.7/subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['colormgr', 'import-profile', '/tmp/brightness_78420_120000.icc']' returned non-zero exit status 1.

Here is filtered print of set command of working environment:
LANG=en_US.UTF-8
LANGUAGE=en
LC_ADDRESS=cs_CZ.UTF-8
LC_IDENTIFICATION=cs_CZ.UTF-8
LC_MEASUREMENT=cs_CZ.UTF-8
LC_MONETARY=cs_CZ.UTF-8
LC_NAME=cs_CZ.UTF-8
LC_NUMERIC=cs_CZ.UTF-8
LC_PAPER=cs_CZ.UTF-8
LC_TELEPHONE=cs_CZ.UTF-8
LC_TIME=cs_CZ.UTF-8

and print of environment that doesn't work:
LANG=cs_CZ.UTF-8
LANGUAGE=cs:en
LC_ADDRESS=cs_CZ.UTF-8
LC_IDENTIFICATION=cs_CZ.UTF-8
LC_MEASUREMENT=cs_CZ.UTF-8
LC_MONETARY=cs_CZ.UTF-8
LC_NAME=cs_CZ.UTF-8
LC_NUMERIC=cs_CZ.UTF-8
LC_PAPER=cs_CZ.UTF-8
LC_TELEPHONE=cs_CZ.UTF-8
LC_TIME=cs_CZ.UTF-8

When I switch language from CZ back to EN, software works well again.

Thank you for your help,
Jindrich

@mich2k mich2k mentioned this issue Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant