Nail polish It is a simple Linux tool that allows drawing using the touchpad of a laptop computer. It supports all X11 desktop environments and GNOME with Wayland.
The most obvious use of this tool is to digitize your signature to sign a PDF document, but you can also use it to enter complex characters or…doodling.
The application needs to be run from the command line to specify various parameters, but once you run it, a GUI is displayed, which displays what you draw on the laptop touchpad in real time.
You can customize the color of the drawn line (
--line-color COLOR ; The default is black) and thickness (
--line-thickness THICKNESS ; The default is 6), change the background color of the generated image (
--background COLOR ) Or use a dark theme (
--dark ; It defaults to a light background), etc.Specify the output file path
--output drawing.png or
-o drawing.png . I hope FingerPaint has a feature, but it is currently missing-a way to undo the last drawn line.
Related: Use Weylus to turn your tablet or phone into a graphic tablet/desktop touch screen
To use FingerPaint and use your finger to draw with default values (light image background, etc.) on the laptop touchpad, and generate an image named drawing.png in the current directory, open a terminal and run:
fingerpaint -o drawing.png
After running, the FingerPaint drawing GUI will be displayed (see the screenshot at the top of the article), and you can start drawing on the touchpad. Press any key or click anywhere in the FingerPaint drawing window to complete the drawing and save the drawing.png file.
Suppose you want to change the color of the drawn line from black to blue, change the thickness from 6 to 4, and save the file as paint.png. In this case, we need to run FingerPaint like this:
fingerpaint --line-color blue --line-thickness 4 -o paint.png
You might also like: How to embed the numeric keyboard into the touchpad of some ASUS laptops to work on Linux
this It is a video recorded by the developer of FingerPaint, showing the operation of this tool:
On any Linux distribution, you can install FingerPaint from the following location PyPI .
Before installing FINgerPaint using the instructions below, make sure
~/.local/bin In your PATH (if not, please add
if [ -d "$HOME/.local/bin" ]; then PATH="$HOME/.local/bin:$PATH"; fi For you
~/.profile File and get the file or restart the session by logging out and logging back in).
By the way, let’s install the dependencies from the repository (below, you will find commands for installing dependencies on Debian / Ubuntu -based Linux distributions and Fedora; please note that the package names may vary from distribution to distribution):
- Debian / Ubuntu / Pop!_OS / Linux Mint etc.
sudo apt install python3-pip python3-evdev python3-pyudev python3-pil python3-tk xinput
- Fedora hat:
sudo dnf install python3-pip python3-evdev python3-pyudev python3-pillow python3-tkinter xinput
Now you can install FingerPaint from PyPI (use it on any Linux distribution):
python3 -m pip install --upgrade --user fingerpaint
I have added
--upgrade To the command, so you can use the same command to install and upgrade the package for the first time.
Run it like I mentioned above, for example open a terminal and type
fingerpaint -o drawing.png (Or the full path of the executable file, if you don’t have
~/.local/bin In your path:
~/.local/bin/fingerpaint -o drawing.png ).type
fingerpaint -h View all available options.
You may also be interested in the following: GNOME: How to disable the touchpad when the mouse is plugged in and typing