zocker-160 / keyboard-center

Application for mapping macro keys on Logitech keyboards
GNU General Public License v3.0
65 stars 2 forks source link

please add support for MX-Linux #51

Closed justTravis closed 1 year ago

justTravis commented 1 year ago

MX is based on Debian so it seems like it should work, but it doesn't.

The error it fails with is that it cannot find the module "package"

zocker-160 commented 1 year ago

Is that error during installation or when trying to run it?

justTravis commented 1 year ago

When trying to run it. The install seems to go fine. Running it by double-clicking the icon just seems to "do nothing." Running "sudo keyboard-center" gives the error I mentioned.

justTravis commented 1 year ago

and FYI the same problem happens in LMDE (Linux Mint Debian Edition).

zocker-160 commented 1 year ago

Would it be possible for you to give me an actual terminal output, because I sadly currently really don't know what cannot find the module "package" is supposed to mean since "package" could be anything :(.

I will try to reproduce this later today on LMDE.

justTravis commented 1 year ago

Yes. My apologies. I've tried now on numerous Debian based distributions (trying to wean myself from Arch based) and all in common have this same error message:

Traceback (most recent call last): File "/usr/lib/keyboard-center/main.py", line 8, in from mainUi import MainWindow File "/usr/lib/keyboard-center/mainUi.py", line 5, in from packaging import version ModuleNotFoundError: No module named 'packaging'

zocker-160 commented 1 year ago

ahhh now I understand the issue, thank you.

Will fix asap.

zocker-160 commented 1 year ago

@justTravis I pushed a new version, which removes the dependency from packaging.version. Let me know if that works for you.

justTravis commented 1 year ago

works for me now! thanks!!!

zocker-160 commented 1 year ago

nice, glad to hear!