-
Notifications
You must be signed in to change notification settings - Fork 61
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
Toltec-wrapper.conf and Lamy Pen #351
Comments
How are you launching xochitl? Draft, Oxide, and Remux all handle launching xochitl in different ways. It also requires you to have ddvk-hacks installed. See Eeems-Org/oxide#136 and #9 Toltec has not yet packaged remarkable-stylus which is required for the lamy pen. |
I always had the ddvk-hacks and the qt plugin installed. On first launch, I let systemd handle it, after I use remux if I need to switch between applications. Even remux was not properly starting xochitl with the good argument before I modified the wrapper file. I don't understand how its possible since remux read the systemd file directly. So in the future, I can just install the hack and the remarkable-stylus packages to get the Lamy pen working ? |
@raisjn has a theory on this I believe. As for Draft and Oxide, they are using configuration in the xochitl package: https://github.com/toltec-dev/toltec/blob/testing/package/xochitl/xochitl.oxide and https://github.com/toltec-dev/toltec/blob/testing/package/xochitl/xochitl.draft
That's the plan. For now what you can do is add a systemd environment override to set the following: Environment="QT_QPA_GENERIC_PLUGINS=evdevlamy" Or modify xochitl.draft to add the arguments if using Draft. |
I think it is worth noting that systemd unit overrides are "cumulative", so you can create multiple overrides that will all be considered when launching the unit. The term is a "drop-in" if you want to search the docs. https://www.freedesktop.org/software/systemd/man/systemd.unit.html
|
Closing this. The next step for us is to package the Lamy plugin (already tracked in #9); in the meantime, users can refer to the workarounds above. |
Thank you for toltec, its is a super useful project.
I have been testing the "testing" branch on my RM1. I update the packages and I was not able understand why my Lamy Pen button was not working anymore. It is handle by the patched version of xochitl and a qt plugin. Normally remux take care of starting xochitl with the good command line to load the plugin.
But I discovered that the toltec-wrapper file cause issues by imposing
/opt/bin/xochitl --system
, instead of/opt/bin/xochitl --system -plugin evdevlamy
, at least for my usage.Is it not possible to make it dynamic ? Like remux does by reading ondisk service file ?
Regards, Alex.
The text was updated successfully, but these errors were encountered: