Comments (3)
Glad to hear you are finding it useful. It looks like your fix should work correctly (minor logic gaffe on my part) but I'll just run it through testing before I push it out. For the other issues:
- dconf-tools
- I'll add it to the spec file as a dependency; I didn't think it would be missing from a desktop environment so it's better safe than sorry.
-
missing icons
My guess is you likely didn't run it from the wacom-gui directory. The way the RPM works is it installs to /usr/local/wacom-gui and if the cwd is detected as /usr/local/bin, changes the cwd to the expected install location (pad.py lines 24/25) . There may be a more intelligent way of doing this so I'm open to suggestions. If you can test/verify it'd be appreciated. -
missing strip keys
xsetwacom definitely supports setting values for them. It looks like wacom are not being consistent in how they configure the .tablet files, and there is some parsing that needs to be done for the svg file to properly detect where the strips are located on the tablet. With the older tablets they may have internally updated them to use the "new" method, which is to just assign them a button ID and when the touchstrip is being pressed it repeats the input. You should be able to easily test by trying the following:
xsetwacom --list devices
- get device id for PAD
xsetwacom --set <dev id> button <button #> key +<letter>
so, for example, if you want to set Button A to print the letter a, you would do:
xsetwacom --set <dev id> button 1 key +a
With touch wheel tablets, button 4 - 7 are reserved for scroll/pan. If those are the IDs used for scroll/pan I can just submit a patch to libwacom to get them up date their files. If they use a different button ID we'd need to do further testing.
As well, if you'd officially like to help with development just let me know. I'd definitely be interested in getting a proper deb package setup for future releases to ease installation.
from wacom-gui.
Thanks for all these informations.
Let's say I can help to test and debug, just like I will do below, but for the future I will do my fork to send merge requests. For the deb package, I simply used alien to convert from rpm to deb.
I dug a little and found the issue with images not showing. self.cwd was the right folder, but you should convert to unicode utf8 as qt appears to need it if there are special chars in the path... which is my case. Note that python3 now uses utf8 encoding by default for strings. Below is a list of all changes to make it work :
./hotkeys.py:23: self.cwd = unicode(os.path.dirname(os.path.abspath(file)),"utf-8")
./hotkeys.py:244: self.cwd = unicode(os.path.dirname(os.path.abspath(file)),"utf-8")
./pad.py:23: self.cwd = unicode(os.path.dirname(os.path.abspath(file)),"utf-8")
./pad.py:274: self.cwd = unicode(os.path.dirname(os.path.abspath(file)),"utf-8")
./pad.py:426: self.cwd = unicode(os.path.join(os.path.dirname(os.path.abspath(file)), "icons/ui"),"utf-8")
./stylus.py:19: self.cwd = unicode(os.path.dirname(os.path.abspath(file)),"utf-8")
./wacom-gui.py:25: self.cwd = unicode(os.path.dirname(os.path.abspath(file)),"utf-8")
And now everything is showing well... hum, except:
the right side (with parameters) of the mapping tab is still weird, as in the gif I sent you initially. Maybe you could have a look at this ?
Regards,
François
from wacom-gui.
Thanks for finding those! I'll update to make sure the paths are parsed correctly for unicode, although I'll stick with Python 2.7 for now as that is what we use mainly in the VFX industry. However, I do plan to move over to Python 3 once that transition happens.
With regards to the mode box, my guess is xubuntu is registering the mode box size differently than on MATE (my main test platform). Can you try making this change and see if it resolves the issue with your mode box? You can try increasing the value a little bit at a time to see what seems to work correctly for you.
stylus.py:
462: - self.mode_box.setFixedSize(290, 40)
642: + self.mode_box.setFixedSize(290, 50)
from wacom-gui.
Related Issues (20)
- Wacom Tablet Intuos2 HOT 2
- Device information for "Wacom Bamboo One M" not found. HOT 21
- Device info not found, but dev_type string is OK---Wacom Intuos Pro L HOT 1
- Device information for "WALTOP Internation Corp. Media Tablet" not found. HOT 8
- Express Keys Orientation
- Device information for "Wacom Intuos S" not found! HOT 3
- SyntaxError: Missing parentheses in call to 'print' HOT 1
- Crash with Intuos PT 2 CTH-690 HOT 1
- Unusable on smaller displays - 1366x768 - Linux Mint 19.3 w/ XFCE 4 HOT 1
- basic instalation info HOT 1
- Device Information for "Wacom Cintiq Pro 24 P" not found HOT 3
- rc19 rpmbuild issue HOT 3
- but_loc[bid] = buttons[bid]['pos'] KeyError: 'pos' KeyError: 'pos'
- How can I make this work with PyQT5? HOT 1
- how do I control "partial" mapping across two monitors?
- first run on clean MATE system doesn't recognize tablet
- Is there a version for Python3-PyQT5?
- Python version
- "Device information ... not found" errors with modern libwacom versions HOT 4
- Gestures always load as disabled
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wacom-gui.