Hi I am on ubuntu 19.04 I have the application working via sudo ./networktablet command flawlessly, yet I can make desktop icons for ubuntu, but never had to try with a sudo command or any other command to open an application I am new to linux so confused, after scouring forever looking and trying 10’s of ways I cannot get it to open well it does but as a file to edit in a text editor rather than as a sudo terminal command, I really want gfxtablet incorporated in my custom os so I can open it from an icon but need your help please anyone if you can assist in making the app into a desktop icon for ubuntu would be great.
GfxTablet and libinput
-
Using libinput and gfxtablet at the same time don’t work. Libinput tries to use networktablet and fails doing so. The cursor doesn’t move and clicking does nothing.
/var/log/Xorg.1.log
complains about that it can’t handle the tablet device because of an internal bug.To solve this you need to add a configuration file, per example
30-gfxtablet.conf
, to your/etc/X11/xorg.conf.d/
with the following:Section "InputClass" Identifier "evdev tablet catchall" MatchIsTablet "on" MatchDevicePath "/dev/input/event*" Driver "evdev" EndSection
-
Don’t forget to restart XOrg after adding the configuration file.
-
Is there no way to do this without evdev installed? I’ve been trying to keep everything to libinput.
-
@parkerlreed I’m sorry but you’re wrong here. I’m not a developer. Please make a new topic (search before) with your feature request.
-
i’m having trouble… i got this working for a moment, then on reboot it stopped working. and i’m not sure why… here is my xorg.0.log file:
i had to create the xorg.conf file mentioned above and it worked. but when i rebooted the computer, the file was just gone, and a xorg.conf.MMDDYYYY file was put in its place… there are now three of them… each for a different day… what’s going on? i think xorg.conf is deprecated…
-
@orbitallogic I haven’t altered xorg.conf. Make a new file in the xorg.conf.d folder https://wiki.archlinux.org/index.php/xorg#Using_.conf_files
lucki@Archlinux ~ % cat /etc/X11/xorg.conf.d/30-gfxtablet.conf Section "InputClass" Identifier "evdev tablet catchall" MatchIsTablet "on" MatchDevicePath "/dev/input/event*" Driver "evdev" EndSection
-
The changes to the code I made in pull request 95 allow it to work with libinput, if that’s useful to you at all.
-
@leastfixedpoint Seems to work without the configuration file after a quick little test. Nice!
-
@leastfixedpoint Cheers!