Kwin Effect for KDE Plasma that shows a custom cursor when pen is in proximity and hides it when pen touches the screen.
  • C++ 71.4%
  • CMake 16.4%
  • Shell 12.2%
Find a file
2026-04-22 00:52:36 +02:00
.vscode finished it 2026-01-04 02:07:15 +01:00
po Fixed the rpm to actually install and added language support 2026-04-08 17:29:27 +02:00
src wrong version number 2026-04-08 17:36:11 +02:00
.gitignore release script 2026-01-04 21:54:56 +01:00
build.sh Fixed the rpm to actually install and added language support 2026-04-08 17:29:27 +02:00
CMakeLists.txt Fixed the rpm to actually install and added language support 2026-04-08 17:29:27 +02:00
LICENSE Add license 2026-04-22 00:52:36 +02:00
pen-point-cursor.svg added xorg/xwayland support and fixed cursor postion 2026-01-04 03:07:17 +01:00
README.md Fixed the rpm to actually install and added language support 2026-04-08 17:29:27 +02:00
release.sh Fixed the rpm to actually install and added language support 2026-04-08 17:29:27 +02:00

Tablet Pen Cursor KWin Effect

Custom cursor overlay for pen tablets on KDE Plasma 6 (KWin Wayland).

When you hover your pen over the tablet, this shows a custom cursor (an SVG you can replace). When you touch the pen to the screen, the cursor disappears so it doesn't get in the way.

It also respects app-specific cursors. If an app like Xournal++ sets its own cursor, this won't override it.

Installing

AUR

https://aur.archlinux.org/packages/kwin-pen-cursor

Building

cmake -B build
cmake --build build
sudo cmake --install build

or just

./build.sh

Fedora RPM

./release.sh

Installs all build deps automatically, outputs the .rpm to release/.

Then log out and back in or reload the Plasma shell.

Settings

Its Settings are in → Workspace Behavior → Desktop Effects.
Currently only supporting changing the custom cursor.
You may need to log out and back in for or reload the Plasma shell to see applied changes.

License

MIT - see source files for details.