Open rugk opened 7 years ago
The biggest issue with any sort of automatic installation is getting the environment variable right.
We would need to set GTK3_MODULES
globally, while respecting existing modules already found in it, then remove it again when uninstalling.
If you have any suggestions how to do that reliably, I'm all ears.
Hey there!
I issued a packaging request on the Solus Project's issue tracker and got shot down for a couple of reasons. https://dev.solus-project.com/T3294
One of the reasons was that you don't provide any release tarballs or git tags. There's no immutable point from which they could build a package. Could you please provide a tarball or at least a git tag?
In regards to the gtk modules variable:.
[18:22] <@ikey> the GTKMODULES thing we could work out with a /usr/share/defaults/etc/profile.d file on solus
[18:22] <@ikey> so that you reboot and boom its working
[18:23] <@ikey> newer systemd versions support environment.d files
[18:23] <@ikey> so up or down there is a solution :]
[18:23] <blaz> Is that the stateless location?
[18:23] <@ikey> yeah
[18:24] <@ikey> upstream would likely default to /etc/profile.d
[18:24] <@ikey> the cost of being different
[18:24] <@ikey> lol
[18:24]
@bmeznarsic: Thank you for your effort! You can now find both a tarball and a Git tag here.
Just an update, adding the profile.d file in the Solus package currently so it'll work automagically after reboot.
@JoshStrobl: Cool! 😎
You should use GTK3_MODULES
instead of GTK_MODULES
to avoid problems with GTK+ 2 applications. The accessibility issue mentioned in the packaging thread is a good example of how hard it is to get global environment variables right on Linux.
What about other distro's such as Debian or Fedora?
@p-e-w How to make Plotinus working on Flatpak apps?
In NixOS, I just added a package and system module: https://github.com/NixOS/nixpkgs/commit/16fa6f59f77fd635665ba719e278bc673ceb1d9e
So users can add one line to their system configuration; and the appropriate environment vars are set. Then just Ctrl-Shift-P
and :smile:.
I can submit a patch to document it in the readme is @p-e-w would be receptive to that?
It would be nice to also be able to use it within flatpak apps. Did anyone find a way of doing this?
It would be nice to have this application in distro's repos. Or maybe offer a flatpak/snap if that is possible.