hhannine / superpaper

A cross-platform multi monitor wallpaper manager.
MIT License
1.11k stars 46 forks source link

Locale 'en_US' cannot be set. Manjaro KDE #121

Closed baimahambetov closed 1 year ago

baimahambetov commented 2 years ago

image

Roy-Orbison commented 1 year ago

Same for en_AU on Kubuntu.

hhannine commented 1 year ago

Which installation type are you using? Is this problem still persisting?

Roy-Orbison commented 1 year ago

I just tried again, using pip install --user superpaper like last time, same issue. pip --version reports 3.10.

hhannine commented 1 year ago

Okay thanks for checking. I found something relevant for the problem in wxpython, posting this discussion for my own refrence: https://stackoverflow.com/a/70659777

hhannine commented 1 year ago

This is hopefully now resolved by 746ab8093e9af7d88f71a422b06b6e7626e749de. Could you try to run the version from Github to test it?

Roy-Orbison commented 1 year ago

I ran

pip install 'git+https://github.com/hhannine/superpaper.git#egg=superpaper'

It works, except for configuring bezels. I have nothing to compare it to, so I'm unsure of whether the issue is triggered by this fix or if it's unrelated. I click on the centre bezel button to adjust the gap between monitors, but I cannot enter a number. I tried both the top row and numpad keys, as well as + and -. I can work around it by right-clicking on the input to get a context menu, then using Select all & Paste with a copied number. Qt version is 5.15.6 if that helps.

hhannine commented 1 year ago

Very good! Thanks!

Okay, I've been having similar problems with the bezel entry box on Windows as well, it has been annoyingly platform specific problem. What is your wxPython version?

Roy-Orbison commented 1 year ago

4.0.7

hhannine commented 1 year ago

Can you possibly update it? I wonder if there was some buggy behavior around this problem at some point.. I'll try to see if I can reproduce the issue.

Roy-Orbison commented 1 year ago

I tried, but got this error:

ModuleNotFoundError: No module named 'attrdict'

After I resolved that, I got this:

ImportError: cannot import name 'Mapping' from 'collections'

which I don't know how to resolve.

hhannine commented 1 year ago

Thanks. Seems to be some problem with building wxPython, unfortunate.

However, they have 'wheels' for Ubuntu, so they should work if you're running Kubuntu(?). See here how to install from a wheel: https://wxpython.org/pages/downloads/