GithubHelp home page GithubHelp logo

physolia / wacomtablet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kde/wacomtablet

0.0 0.0 0.0 5.39 MB

GUI for Wacom Linux drivers that supports different button/pen layout profiles

License: GNU General Public License v2.0

CMake 2.25% Shell 0.03% C++ 96.20% QML 1.41% C 0.11%

wacomtablet's Introduction

KDE Wacom support

This module implements a GUI for the Wacom Linux Drivers and extends it with profile support to handle different button / pen layouts per profile.

For hardware support have a look at https://linuxwacom.github.io/

Configuration can be located in System Settings → Input devices → Tablets

Easy profile switching is supported via hotkeys or a small plasma applet in tray notification area. In addition, a daemon running in the background helps with hotplug support.

This project only works on X11. For Plasma Wayland there is a separate KCM to configure graphics tablets in plasma-desktop.

Hardware support

All tablets can be set up as long as they are found with the wacom kernel module.

Check with

$ xsetwacom list devices

if your device is correctly recognized first. If it doesn't show up there, we can't configure it.

Installation

Wacom support in KDE is a separate component and might be not installed by default. Package usually goes by name wacomtablet or kcm-wacomtablet.

More or less full list of distributions including the package should be avaliable at:

Starting the module

Background daemon should be started automatically each time you log in.

You can enable or manually start the service via System Settings → Startup and Shutdown → Background services.

Adding missing tablet devices

If your device is not recognized by this program, but you can set it up via the xsetwacom driver, run Wacom Tablet Finder (kde_wacom_tabletfinder), describe your device and click Save, and restart Wacom tablet service (see above).

Please send your device description (file ~/.config/tabletdblocalrc) to the bugtracker, so it will be added in future versions.

Reporting bugs

Please report bugs here: https://bugs.kde.org/enter_bug.cgi?product=wacomtablet

Building & manual installation

This is not a recommended way to use this application. Installing it manually creates files untracked by your package manager. This can cause everyone problems later on. Please contact your distribution's maintainers to package it instead.

Run-time dependencies:

  • X11 wacom tablet driver (xserver-xorg-input-wacom), including the xsetwacom tool, version 0.20 or higher
  • libwacom. Highly recommended to have version 0.29 or higher for support of consumer-grade tablets with quirky buttons.

Build dependencies on Debian/Ubuntu:

  • g++
  • cmake
  • extra-cmake-modules
  • gettext
  • libqt5x11extras5-dev
  • qtdeclarative5-dev
  • libkf5coreaddons-dev
  • libkf5i18n-dev
  • libkf5dbusaddons-dev
  • libkf5globalaccel-dev
  • libkf5config-dev
  • libkf5xmlgui-dev
  • libkf5notifications-dev
  • plasma-framework-dev
  • kdoctools-dev
  • libxi-dev
  • libxcb-xinput-dev
  • libwacom-dev

You can install them by running:

$ apt install g++ cmake extra-cmake-modules gettext libqt5x11extras5-dev qtdeclarative5-dev libkf5coreaddons-dev libkf5i18n-dev libkf5dbusaddons-dev libkf5globalaccel-dev libkf5config-dev libkf5xmlgui-dev libkf5notifications-dev plasma-framework-dev kdoctools-dev libxi-dev libwacom-dev

Building from source

$ mkdir build
$ cd build
$ cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
$ make

Manual installation (this will litter in your system):

$ make install

Running without installing

This is not intended for daily use, but for people who want to test developer builds.

Running KCM component:

$ QT_PLUGIN_PATH=src/kcmodule/ kcmshell5 wacomtablet

Running KDED component:

$ ln -s kf5 src/
$ kquitapp5 kded5 && QT_PLUGIN_PATH=$PWD kded5

Running tablet finder:

$ src/tabletfinder/kde_wacom_tabletfinder

Running unit tests

First, configure the build to include tests by enabling BUILD_TESTING:

$ mkdir build
$ cd build
$ cmake ../ -DBUILD_TESTING=ON
$ make

Then, run the tests with:

$ ctest

or a single one via

$ cd autotests/common/property
$ ./Test.Common.Property

you can find the test results in Testing/Temporary/LastTest.log

Releasing new version

Checklist for developers:

wacomtablet's People

Contributors

alexmaret avatar jehrichs avatar chemrat avatar nicolasfella avatar montel avatar yurchor avatar jpalaciosdev avatar wengxt avatar miabrahams avatar tosky avatar jriddell avatar jigpu avatar pointedstick avatar guoyunhe avatar oioi555 avatar cyberang3l avatar tchollingsworth avatar ilguido avatar nomasteryoda avatar kossebau avatar alex1701c avatar afiestas avatar tcberner avatar sfrank avatar shivang44 avatar scarlettgatelymoore avatar stolowski avatar vermeeren avatar larpon avatar abrahaofs 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.