Normally one would buy a Wacom tablet / stylus combo. But then, Weylus provides a very good free alternative:
sudo groupadd -r uinput
sudo usermod -aG uinput laczik
echo 'KERNEL=="uinput", MODE="0660", GROUP="uinput", OPTIONS+="static_node=uinput"' | sudo tee /etc/udev/rules.d/60-weylus.rules
sudo udevadm control --reload
sudo udevadm trigger
# log out, then in again
wget -P Downloads https://github.com/H-M-H/Weylus/releases/download/v0.11.4/Weylus_0.11.4_amd64.deb
sudo apt install ./Downloads/Weylus_0.11.4_amd64.deb
sudo apt install xournal
sudo apt install xournalpp
wget -P bin https://download.kde.org/stable/krita/5.1.5/krita-5.1.5-x86_64.appimage
chmod +x bin/krita-5.1.5-x86_64.appimage
Connecting the tablet via wired ethernet improves latency. If that is not possible, at least make sure the tablet is connected to the same WiFi access point / switch as the desktop machine. Selecting only a single screen, and reducing screen resolution also help.
Applications that suddenly become really useful include Xournal++, Krita, Inkscape and GIMP, to mention just a few.
Also see:
- GitHub – H-M-H/Weylus: Use your tablet as graphic tablet/touch screen on your computer.
- Releases ยท H-M-H/Weylus
- Turn Your Tablet Or Phone Into A Graphic Tablet / Touch Screen For Your Desktop With Weylus – Linux Uprising Blog
- Krita Desktop | Krita
- GitHub – xournalpp/xournalpp: Xournal++ is a handwriting notetaking software with PDF annotation support. Written in C++ with GTK3, supporting Linux (e.g. Ubuntu, Debian, Arch, SUSE), macOS and Windows 10. Supports pen input from devices such as Wacom Tablets.