-
Notifications
You must be signed in to change notification settings - Fork 21
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
Lamy EMR button not working under Oxide #136
Comments
@ddvk any insight into what I should do to allow it to work would be helpful. |
xochitl needs a -plugin evdevlamy param |
Alright. So the simple workaround for now would be to update the application registration in oxide to point at a script with those arguments. Oxide doesn't support adding arguments directly. |
Ooh... Maybe a feature request? :) |
Perhaps, although it's not something I really want to support. If you need to pass arguments then use a script, otherwise environment variables are preferred. Since there are two workarounds it's not a high priority item. That said, it should be made more automatic so it doesn't require user intervention. |
@ddvk, will calling xochitl with "-plugin evdevlamy" work without errors on a non-hacked xochitl? If so, then a default install of oxide could include the script. Otherwise, a remarkable_hacks install will need to look for oxide, and if installed it needs to create the script and update oxide to call it. |
yes, it gets ignored if the plugin is missing (this is standard qt stuff)
…On Tue, 5 Jan 2021 at 20:17 Rob ***@***.***> wrote:
@ddvk <https://github.com/ddvk>, will calling xochitl with "-plugin
evdevlamy" work without errors on a non-hacked xochitl? If so, then a
default install of oxide could include the script. Otherwise, a
remarkable_hacks install will need to look for oxide, and if installed it
needs to create the script and update oxide to call it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#136 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIYZFLW34TKAALBKCR4A54TSYNQVTANCNFSM4VV7EKRA>
.
|
@ddvk isn't there an environment variable you can set to load a plugin? |
Likely can just use the QT_QPA_GENERIC_PLUGINS environment variable. @Snowflake6 could you try adding |
Sure... Which one gets updated? i've found a tarnish.service in a number of places with find / | grep tarnish.service |
systemctl daemon-reload
systemctl restart tarnish |
Also, should it be Environment="QT_QPA_GENERIC_PLUGINS=evdevlamy"? The other Environment= statements in the tarnish.service files I have all seem to quote everything after the first "=". |
🤦 Sorry, it should be the one in
Yes, sorry I've been replying from my phone and haven't had time to properly check everything. |
I jumped ahead and took a chance with /lib/systemd/system/tarnish.service. Adding the Environment= statement as suggested makes the button work properly again. Perfect! |
Perfect, I'll make sure to have toltec handle this properly when installing v2.1 |
I can confirm that adding
to |
I've put in a request for remarkable-stylus to be added to toltec. I'll make sure the package properly handles setting the environment for all Qt apps: toltec-dev/toltec#9 (comment) |
@Eeems I think this requires remarkable-hacks as well... Should that be added to toltec? |
We can't add remarkable-hacks to toltec due to licensing issues. Although maybe we can add the installer script. I'll talk with the others more about it. |
Understood. I though it might be confusing if people can install remarkable-stylus through toltec and then it doesn't do anything if they don't have remarkable-hacks too. |
We'll make sure to have messages warning about it. |
v2.1 is just about to drop. I'll leave this open until we've resolved the toltec side of the packaging for things. |
Describe the bug
Remarkable_hacks adds a number of features to the xochitl interface, one of which is support for the EMR button on the Lamy (and possibly others... Wacom?) stylus. When running xochitl under oxide, the button does not respond. Other hacks applied by the remarkable_hacks install are present however.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Scribbled content should be erased when the button is held down.
Screenshots
Version Information:
Additional context
Requires an EMR pen with button to test this, I suppose. Not sure if the functionality of the EMR button is identical to the functionality of the new RM stylus that has an eraser on the rear end.
After a clean restart of xochitl outside of Oxide, the button works again. Restarting into Oxide, the button stops.
The text was updated successfully, but these errors were encountered: