Giter Club home page Giter Club logo

xcalibrate's Introduction

What's this?

This is a forked version of xcalibrate, which is an alternative to xinput_calibrator (as seen on github, FreeDesktop, Ubuntu, etc.).
Original version

Similarities:

  • For Unix-like OS
  • Calibrates touchscreens

Differences:

Thing xinput_calibrator xcalibrate
Language C++ Python3
LOC 2,289 284
Interface Command-line args with some GUI Walkthrough-based with some GUI
GUI toolkit X tk
Cal points 4 Selectable
Math Manual Numpy least-squares
Outputs Xorg.conf, hal, xinput xinput
Popularity High Zero so far
Tested Pretty well Not very well
OS distribution Available in most major repos WINEdows
Dependencies libstdc++, libx11, libxi python3, tkinter, numpy

xinput_calibrator features precalibration, timeouts, misclick detection, fake driver testing, and a resizable window. xcalibrate features none of those things, but offers some other features not present in xinput_calibrator, including pre-save cal test, cal quality indicator, arbitrary cal point count, and a slightly more informative GUI. Also, the source is quite simpler.

Why this fork?

While reinderien's calibration tool is excellent, however, this script wouldn't work on my personal CF-19 laptop, since the touchscreen shows up as a keyboard device. This fork has been modified to show BOTH keyboard and pointer devices in the selection now. It is also modified to actually save the .conf file in the correct directory automatically (instead of having to mess around running text editors in root and saving changes manually). This does however mean the script needs to be run as sudo.

How to install?

First you need the dependencies sudo apt install python3-tk python3-numpy

You can then run: sudo python3 xcalibrate.py To calibrate the display

Optionally copy the xcalibrate.py file to /usr/bin/ Then copy the .launcher file to /usr/share/applications/

xcalibrate's People

Contributors

reinderien avatar kippykip avatar josephsummerhays1 avatar yorickr avatar gitter-badger avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.