Skip to content

vlshields/UrXinput

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

urxinput

A command line "front end" for xinput written in python.


Introduction

This mini project all started due to a bug I experienced on my personal laptop. My mouse pointer would jet offscreen unexpectedly. The issue was solved by disabling the touch screen functionality via xinput. This python script is a result of the need to enable or disable the touch screen quickly. It can be used to enable or disable any io device detected by xinput. The user interface resembles menuconfig.

Usage

You may need to install xinput if you havent already.

*debian/ubuntu

sudo apt update && sudo apt install xinput

Using UV:

git clone https://github.com/vlshields/UrXinput.git
cd UrXinput
uv sync
uv run main.py

You can also install via the released .deb file from this repo.

sudo apt install ./urxinput_0.1.0_amd64.deb

A note about display protocols

There seems to be minimal support for the wayland protocol, but it might produce unexpected results. This tool is most compatible with x11.

About

TUI interface to enable/disable xinput devices

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages