-
Notifications
You must be signed in to change notification settings - Fork 16
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
the monitor remapping problem in startup #69
Comments
I'm not sure what the start up order is for XDG but this is probably beyond the scope of the support I can provide for this as I don't use the i3 window manager and don't currently have a Linux machine to do testing with. I'll have to leave this issue open to allow someone else with i3 experience to chime in if possible. |
I'm using GNOME, but I think I'm having a similar issue. I have an XP-Pen Artist 13.3 Pro that I'm using as a secondary display. I can run When starting everything up from scratch, my sequence of events looks like:
At this point, moving my stylus over the tablet maps its input across all of my monitors, which is obviously wrong. Running But as soon as I wave my pen over the tablet,
After this, I can run |
Have you tried something like what is described here? You'll have to adapt the answer to detecting your display instead. |
That doesn't seem to work for me. I can execute a script when I plug in my tablet, but that isn't actually useful, because the virtual pointer device does not appear at the same time the USB device is connected. The virtual pointer doesn't appear in Immediately after plugging in my tablet, the output of
Running After I bring my stylus over the screen, another device appears in the list:
Running |
I'll have to try it out with my own hardware to see what the sequence of events looks like. Weird that the monitor doesn't exist in xinput until the stylus is used. Would the same thing happen if a regular monitor was attached to the computer? |
The monitor exists immediately; I can see it right away with:
The tablet is HDMI-0; DP-0 and DP-2 are my other monitors. It seems like it's just the xinput virtual pointer device representing the stylus that doesn't exist. |
Just thought I'd comment that I figured out a workaround for this issue. I figured out that running First, I plugged in my tablet, touched my stylus to the screen to make the virtual pointer device appear, and then ran this to set it:
Now it's possible to see the transformation matrix by using the
Next, I edited
Note that the matrix in the output of After restarting, now the mapping for my stylus is automatically set every time I connect it. The only catch is that these values will be specific to the monitor arrangement, so it has to be manually updated if that's changed, which is a little annoying, but not a big problem. |
Hi!
I am sm633.
I was very surprised to find this open source driver.
Thank you for making this driver!
I'm using XP-PEN Artist Pro 16 on Arch Linux.
I'm using a multi-display setup with another display connected via DVI to the NVIDIA graphics card.
In GNOME, the Tablet was firmly mapped to the main screen, but in the i3 Window Manager, it is mapped across two displays.
After starting the i3 Window Manager, run xinput map-to-output "HANVON UGEE Artist Pro 16 Pen (0)" "HDMI-0"
I can map it correctly, but when I run it with XDG Autostart, the mapping fails.
Running "xrandr --listmonitors" resulted in
Monitors: 2
0: +*DVI-D-0 1920/476x1080/268+0+0 DVI-D-0
1: +HDMI-0 1920/344x1080/193+1920+0 HDMI-0
As a result of running "xinput",
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Gtech wireless dongle Mouse id=9 [slave pointer (2)]
⎜ ↳ Gtech wireless dongle Consumer Control id=10 [slave pointer (2)]
⎜ ↳ ARCHISS M91JP Mouse id=13 [slave pointer (2)]
⎜ ↳ ARCHISS M91JP Consumer Control id=15 [slave pointer (2)]
⎜ ↳ HANNON UGEE Artist Pro 16 Mouse id=17 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ Gtech wireless dongle id=8 [slave keyboard (3)]
↳ Gtech wireless dongle System Control id=11 [slave keyboard (3)]
↳ ARCHISS M91JP id=12 [slave keyboard (3)]
↳ ARCHISS M91JP System Control id=14 [slave keyboard (3)]
↳ ARCHISS M91JP id=16 [slave keyboard (3)]
↳ Hanvon UGEE Artist Pro 16 Keyboard id=18 [slave keyboard (3)]
↳ Hanvon UGEE Artist Pro 16 id=19 [slave keyboard (3)]
↳ Eee PC WMI hotkeys id=20 [slave keyboard (3)]
↳ Gtech wireless dongle Consumer Control id=21 [slave keyboard (3)]
↳ ARCHISS M91JP Consumer Control id=22 [slave keyboard (3)]
"HANVON UGEE Artist Pro 16 Pen (0)" is not recognized by xinput when XDG Autostart is started.
After the i3 Window Manager has started
"HANVON UGEE Artist Pro 16 Pen (0)"
is recognized.
Could you please tell me how to solve this problem?
The text was updated successfully, but these errors were encountered: