I recently found out that I can actually use the S-Pen from my S23 Ultra with Linux through Weylus, a tool that can transform your phone or tablet into a drawing pad or even a second monitor-ish for your desktop.
And surprisingly, it does work! Even the pressure sensitivity! There are of course, some caveats.
First, there are two ways to connect: either through USB Debugging or Wi-Fi.
For the wireless connection, I'd recommend using 5 GHz Wi-Fi if possible. I've tried using both 2.4 GHz and 5 GHz, and the latter provides a much smoother experience. I personally just use my phone's hotspot.
There are also some application-specific quirks. For example, when using Krita, I sometimes encounter a stuck cursor, which requires me to refresh the input using my mouse or touchpad.
Now, for the interesting part: Wayland compatibility.
My main compositor is Niri, and for some reason, it seems to have trouble capturing the selected monitor through PipeWire. The stylus input itself works, but the screen on my phone just stays blank.
However, when I switch to GNOME Wayland, everything works as expected. I'm not really sure what's causing this, though. Maybe it's something related to Niri, PipeWire, or my own configuration.
Also, a little tip: USE SAMSUNG INTERNET FOR BETTER PALM REJECTION! At least from my experience, it works noticeably better.
As for the drawing application, I've been using Rnote. It's a FOSS vector-based note-taking application, and it works pretty well for scribbling, handwriting, and taking notes.
My setup:
- Device: Samsung Galaxy S23 Ultra
- Distro: Fedora 45
- Compositor: Niri / GNOME Wayland
- Connection: USB Debugging / 5 GHz Wi-Fi
- Drawing app: Rnote
- Software: Weylus Community Edition
I'm still curious about a few things, though:
- Has anyone tried using Weylus with KDE Plasma Wayland or X11?
- Does it work with other Wayland compositors, particularly Niri?
- Has anyone tried this with other Samsung devices that support the S-Pen?
Overall, it's a pretty interesting experiment. I initially just wanted to see if I could make use of something I already had, and turns out I can actually use it for taking notes, practicing math problems, and some casual drawing!