Configuring the GAOMON S620 graphics tablet in Linux MINT / DEBIAN / UBUNTU / MX / openSUSE
Out of the box the device works immediately. Positions normally, but is detected by the system as some variant of the touchpad in the SETUP/Mouse and Touchpad menu. Pressing force is displayed correctly in the Krita graphical editor, but the function keys don't work.
The lsusb command identifies it as 256c:006d.
The following is required for the device to work fully:
- change file /usr/share/X11/xorg.conf.d/70-wacom.conf for openSUSE /etc/X11/xorg.conf.d/70-wacom.conf (for older versions of LM - 50-wacom.conf. This software does not work with buttons. You can update the wacom driver from the Wacom page on github: https://github.com/linuxwacom/input-wacom/wiki/Installing-input-wacom-from-source ), added to the end of file:
#Gaomon S620
Section "InputClass"
Identifier "GAOMON Gaomon Tablet"
MatchUSBID "256c:006d"
MatchDevicePath "/dev/input/event*"
Driver "wacom"
EndSection
- After rebooting, the xsetwacom --list command will output the following:
GAOMON Gaomon Tablet Pen stylus id: XX type: STYLUS
GAOMON Gaomon Tablet Pad pad id: XX type: PAD
Accordingly, the SETUP/MUSIC and TACHPAD menus now have two GAOMON items instead of one.
- the buttons can now be reassigned using xsetwacom:
For stylus:
xsetwacom --set 'GAOMON Gaomon Tablet Pen stylus' Button 1 "***" - is the stylus pen response, best not to change, otherwise the stylus will stop working
xsetwacom --set 'GAOMON Gaomon Tablet Pen stylus' Button 2 "***" - bottom stylus button
xsetwacom --set 'GAOMON Gaomon Tablet Pen stylus' Button 3 "***" - top stylus button
where ***
is combination of the "key"
word and pressed keys. In the case of function keys (CTRL
, ALT
, SHIFT
, etc.), you will first write the +
symbol, then the name of the function key (this symbolises the key being pressed), then the desired key in combination with the function key, then the -
symbol, then the function key (this symbolises the key being released). For example, [CTRL] V
, will be written as "key +ctrl v -ctrl"
. To press and release Enter
use: key 0xff0d
.
For four tablet keys:
xsetwacom --set 'GAOMON Gaomon Tablet Pad pad' Button 1 "***"
xsetwacom --set 'GAOMON Gaomon Tablet Pad pad' Button 2 "***"
xsetwacom --set 'GAOMON Gaomon Tablet Pad pad' Button 3 "***"
xsetwacom --set 'GAOMON Gaomon Tablet Pad pad' Button 8 "***"
where ***
is the combination described above.
From these commands you can create a BASH file and run it before using the tablet:
#!/bin/bash
# TABLET KEY SETTINGS GAOMON S620
xsetwacom --set 'GAOMON Gaomon Tablet Pad pad' Button 1 "key +ctrl c -ctrl"
xsetwacom --set 'GAOMON Gaomon Tablet Pad pad' Button 2 "key +ctrl v -ctrl"
xsetwacom --set 'GAOMON Gaomon Tablet Pad pad' Button 3 "key +ctrl - -ctrl"
xsetwacom --set 'GAOMON Gaomon Tablet Pad pad' Button 8 "key +ctrl + -ctrl"
# GAOMON S620 PEN KEY SETTINGS
xsetwacom --set 'GAOMON Gaomon Tablet Pen stylus' Button 2 "key del"
- file that reassigns the lower pen key to Del (for easy erasing of selected fragment), four tablet keys for copy, paste, reduce scaling, enlarge scaling functions.
A list of supported keys can be seen with the command xsetwacom --list modifiers
More examples
# press a, press shift, press and release b, release shift, release a, then press and release enter
xsetwacom --set 'GAOMON Gaomon Tablet Pad pad' Button 1 "key +a +shift b -shift -a 0xff0d"
# right click of mouse (read more: https://askubuntu.com/questions/729564/wacom-button-and-mouse-button-setting)
xsetwacom --set 'GAOMON Gaomon Tablet Pen stylus' Button 2 3
See also https://github.com/bigbigmdm/GAOMON-M106K-PRO-in-LINUX