Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wacom-gui needs minor update #72

Open
Jopp-gh opened this issue Apr 10, 2024 · 2 comments
Open

Wacom-gui needs minor update #72

Jopp-gh opened this issue Apr 10, 2024 · 2 comments

Comments

@Jopp-gh
Copy link

Jopp-gh commented Apr 10, 2024

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.

@tb2097
Copy link
Owner

tb2097 commented Apr 11, 2024

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?

@Jopp-gh
Copy link
Author

Jopp-gh commented Apr 11, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants