Wacom buttons assigned, but not persistent

What I mean is that my Wacom tablet and pen work just fine and i managed to assign buttons the way i like, but whenever i reboot the system it forgets the assigned buttons. Please help thank you, I'm running Zorin 18.1 FYI

Hi and welcome.

Firstly, I suggest that if you are booting into Wayland that you change to xorg. Whenever 'x' appears at the start of any commands, there is usually some link to the display protocol, X11/xorg. As Zorin 18 is a fork of Ubuntu 24.04, I used it in my search criteria within the Brave Search Engine via Mojeek which gives an A.I. result first (if there is an A.I. result for the search made):

" To make Wacom tablet button assignments persistent on Ubuntu 24.04, the most reliable method is to add xsetwacom commands to your Startup Applications . Since xsetwacom settings are not saved between X server restarts, you must create a shell script containing your desired configurations (e.g., xsetwacom --set <device_id> Button 1 3 ) and add this script to the Startup Applications list via the system settings.

Alternatively, you can configure the tablet directly in the Xorg configuration to bypass xsetwacom entirely. This involves editing or creating a file at /etc/X11/xorg.conf.d/50-wacom.conf (or /usr/share/X11/xorg.conf.d/50-wacom.conf on older setups) and adding Option lines within an InputClass section. However, note that Wayland (the default display server in Ubuntu 24.04) may not support these Xorg configuration changes, making the Startup Application script method the recommended approach for modern Ubuntu versions.

Steps for the Startup Script Method:

  1. Create a script (e.g., ~/wacom-setup.sh ) with your xsetwacom commands.
  2. Make it executable (chmod +x ~/wacom-setup.sh ).
  3. Open Startup Applications , add a new entry, and point it to the script.
  4. Reboot to verify persistence."
1 Like

Thank you.

So I tried setting my buttons first like you instructed (this command: "xsetwacom --set <device_id> Button 1 3"), but now I'm getting a syntax error, the device id is correct. It seems I might have a bigger problem

Hi, when you see <device_id> it is asking for a number which is what you enter.

" To find the device ID for a Wacom tablet in Linux, use the xsetwacom command-line utility.

Run the following command in the terminal:

xsetwacom list devices

The output will list all connected Wacom devices along with their ID numbers , names , and types (e.g., stylus, eraser, pad). For example:

Wacom Intuos S Pad pad           id: 10  type: PAD
Wacom Intuos S Pen stylus        id: 11  type: STYLUS
Wacom Intuos S Pen eraser        id: 17  type: ERASER

You can then use the ID number (e.g., 10 ) or the device name (e.g., "Wacom Intuos S Pen stylus" ) in subsequent xsetwacom commands to configure or query the device.

Alternatively, for programmatic access via X11, you can use the XIQueryDevice() function with the XIAllDevices constant to iterate through X server devices and check if the device name starts with "Wacom".

AI-generated answer. Please verify critical facts."

1 Like

Did you use terminal, or have you tried the GUI for setting up the buttons in system setting's Wacom Tablet menu (which only shows up when it's plugged in)?

1 Like

I used terminal only, setting buttons on the GUI doesn't work at all, i mean it does open, but I can't assign buttons there

Maybe the wiki of archlinux (take a look at section 3.5) can help. I don't have any personal experience with this topic.

1 Like

Welcome to the Forum!

Maybe this is too far away but maybe Input Remapper can help. You can install it with sudo apt install input-remapper or download the .deb File of the latest Release from the Github Page:

What model of Wacom tablet do you have?

It could be that whatever version of libwacom Zorin 18 comes with doesn't have the definition file for it.

First, Check Device Support

The short of it is: With it plugged in, try:
libwacom-list-local-devices

If it doesn't have a proper entry with the correct model, check out:
Adding a new device (a tablet definition for gnome's gui)