this post was submitted on 23 Aug 2023
14 points (75.0% liked)

Linux

58677 readers
429 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

Is there any way to fix this issue, Or any other method to fix the chattering issue on Ubuntu. I tried bounce key - not quite good.

Hereist the git hub repo: https://github.com/finkrer/KeyboardChatteringFix-Linux

all 12 comments
sorted by: hot top controversial new old
[–] seasick@lemmy.world 17 points 2 years ago

Does installing python3-libevdev help?

[–] QuaternionsRock@lemmy.world 12 points 2 years ago (2 children)

You need to install Python package dependencies. pip install -r requirements.txt is the simplest way to do it, but that unfortunately installs the packages globally. May be wise to use a virtual environment.

[–] humanplayer2@lemmy.ml 7 points 2 years ago (1 children)

Would pip install --user -r requirements.txt not be OK, too? I understand it's not as isolated as a virtual environment, but it's easy.

[–] yum13241@lemm.ee 1 points 2 years ago
[–] 30p87@feddit.de 2 points 2 years ago

It needs to be installed globally or as root, as the script runs under root. Pip does not like being run with different permissions or as different users not at all tho.

[–] storm_koala@beehaw.org 12 points 2 years ago* (last edited 2 years ago) (2 children)

This script has two python modules as requirements, libevdev and inquirer. If you want to run the script with your systemwide python environment, you can try to find the relevant APT packages (often named python-MODULENAME) to install the modules on your system.

Alternatively you can create a python virtual environment (you can easily find howtos) and install the requirements in the virtual environment using the pip tool. This way, the requirements will be installed for this project only.

Also keep in mind to never use pip as sudo, it should not manage your systemwide python modules because it will conflict with your package manager.

[–] yum13241@lemm.ee 1 points 2 years ago
[–] storm_koala@beehaw.org 1 points 2 years ago* (last edited 2 years ago)

Oh and good luck regarding your transition from windows to Ubuntu. I see that you had different issues for your first time, it can be though sometimes but keep going you will eventually get yourself confortable and understand new things on how it works. You will not regret it

[–] Synthead@lemmy.world 10 points 2 years ago* (last edited 2 years ago)

You should copy the console text and post it as a code block on your post. Not only is this easier to read, it's searchable for others, and more accessible-friendly, too.

[–] Kleysley@discuss.tchncs.de 3 points 2 years ago

On the Github page you linked it says under Installation: "Clone the repository and install the required dependencies enlisted in requirements.txt."

It seems like you didnt do that...