Open tsposato opened 3 months ago
I run ubuntu 22.04.4 LTS and it's working fine. Can you please provide a more detailed error description? How did you install it?
If you running Ubuntu/Mint with latest LTS you need to use Python3.8 (eventually 3.9 works also) with venv.
First install python 3.8 from source if it is not possible to install it via apt.
sudo apt-get update sudo apt-get install wget build-essential checkinstall libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev
cd /usr/src sudo wget https://www.python.org/ftp/python/3.8.16/Python-3.8.16.tgz sudo tar xzf Python-3.8.16.tgz cd Python-3.8.16
sudo ./configure --enable-optimizations sudo make altinstall
checking with:
python3.8 --version
Now clone the repository:
git clone https://github.com/JSubelj/g910-gkey-macro-support.git cd g910-gkey-macro-support
create the venv: `
cd /path/to/your/project
python3.8 -m venv g910-env
source g910-env/bin/activate `
install it:
sudo your-venv-dir/bin/pip3.8 install --log ./install.log -e ./
Know modify the service file:
Environment="HOME=your-home" ExecStart=/usr/bin/env your-venv-dir/bin/g910-gkeys
reload the deamon and restart the service:
sudo systemctl daemon-reload && sudo systemctl restart g910-gkeys.service
Thank you for your detailed explanation @darkmatus
I just checked my python3 version and I am using 3.10.12 as default version and also running the driver with it just using the provided install script. If you got the latest updates, ubuntu will use 3.12.3 which could not work with the driver, so the example to install it maybe could be the solution for you.
Has anyone got this working properly on Ubuntu? I get into a python/dependency issue having to use a venv... Also, I can't verify uinput module being loaded?