wacom-gui icon indicating copy to clipboard operation
wacom-gui copied to clipboard

Wacom-gui needs minor update

Open Jopp-gh opened this issue 3 months ago • 2 comments

Would be nice if you could update your driver to be compatible with

  • Mint cinnamon ("cinnamon-session" and remove the "only visible to mate" in the *.desktop file)
  • PyQt5
  • Python3

I tried to tweak your code, but this caused more errors and I didn't know how to correct them. In my opinion, you only need to tweak your code a bit so it works for Mint and higher dependencies too.

Jopp-gh avatar Apr 10 '24 14:04 Jopp-gh

The current release is built with PyQt5 and Python3 as requirements. I currently do not have a system with cinnamon so I didn't add it as supported for the desktop icon.

Can you please provide me information on what base OS you are running on (Debian/Ubuntu/RHEL etc) as well as what message you get when you try to run wacom-gui from the command line?

tb2097 avatar Apr 11 '24 01:04 tb2097

Oh..I see! my fault to use your older packages from the release page. After downloading your master, I got a missing 'PyQt5.QtSvg'. After installing that guy, I got these errors:

~/Downloads/wacom-gui-master/wacom-gui$ python3 wacom-gui.py
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0,0,0,100'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 90,90,90,90'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0,0,0,100'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 90,90,90,90'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0,0,0,100'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 90,90,90,90'
unknown desktop environment
/dev/input/event25 is a tablet but not supported by libwacom
/dev/input/event25 is a tablet but not supported by libwacom

seems my device isnt included in libwacom's lib. But there is a kind of configuration file in /usr/share/libwacom/xp-pen-star03.tablet, here's the content:

# XP-Pen
# Star 03
#

[Device]
Name=XP-Pen Star 03
ModelName=
DeviceMatch=usb:5543:0081:UC-Logic TABLET 1060N Pen;usb:5543:0081:UC-Logic TABLET 1060N Pad;usb:28bd:0907:UGTABLET 10 inch PenTablet
Class=Bamboo
Width=10
Height=6
IntegratedIn=
Layout=xp-pen-star03.svg
Styli=0xffffd;

[Features]
Stylus=true
Reversible=true
Touch=false
Buttons=8

[Buttons]
Left=A;B;C;D;E;F;G;H
EvdevCodes=0x100;0x101;0x102;0x103;0x104;0x105;0x106;0x107

next, a dialog popped up with "Device information for "UC-Logic TABLET 1060N" not found." and I confirmed with ok, then Wacom-gui opened - but totally empty. Clicking on the "about" button works, but adding a new configuration with the plus (+) button does nothig, it generate just more errors:

Traceback (most recent call last):
  File "/home/username/Downloads/wacom-gui-master/wacom-gui/wacom-gui.py", line 211, in newConfig
    config = AddConfig.add_config(self.configs[self.dev].keys())
KeyError: None

any directions to add my tablet Wacom-gui are welcome. I mean, with some luck only the right coords are missing. Otherwise Wacom-gui and my tablet are fine

OS:Mint cinnamon 21.3 (Ubuntu based) Wacom-gui: master

Jopp-gh avatar Apr 11 '24 15:04 Jopp-gh