-
Notifications
You must be signed in to change notification settings - Fork 281
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
Provide a 'snap' package #1109
Comments
@jsamr would you like to send a pull request for it? |
Instead of snap package, I more like to provide deb package first. |
@PeterDaveHello Unfortunately I don't have much time (plus I don't really know how snap works). |
@jsamr take your time ;) |
Hi, I created a script for snap:
and the
I have published it in snapcraft with the If you make an official version, let me know to remove the unofficial version. Regards!! |
@tokkenno awesome, ley me take a look, thanks. |
|
Here is a test build of snap package, would you guys like to try it and give some feedback? |
@tokkenno thank you for the feedback! I'm also working on a new version during this peroid. |
@PeterDaveHello Now is 5.17 👍 and it works just as well as the previous version... but it still have the other 3 "bugs" |
I'm still working on SSL/TLS support is not compiled issue, I don't have an Ubuntu desktop environment yet, needs more time to tune it. |
@tokkenno try this one please: Both SSL & icon issue should be fixed. |
@PeterDaveHello Yes, SSL & icon fixed. If you could fix the GTK theme, everything would be perfect. Take a look: https://forum.snapcraft.io/t/how-to-use-the-system-gtk-theme-via-the-gtk-common-themes-snap/6235 |
@tokkenno I'm working on it but no ETA yet. |
@tokkenno please help confirm if this help GTK issue: |
@jsamr would you also like to help test it? |
@PeterDaveHello No, the interface still has the classic theme in the build 35 |
@tokkenno I have uploaded snapcraft.yaml here to see if anyone would like to help: pull requests are welcome, only need to copy desktop file to project root to build the pacakge, see if you have any idea help resolve the theme issue please. |
@PeterDaveHello Ok, when I have some free time, I'll take a look at it. Good job. Greetings! |
Am I right in thinking that your use of Also, without a I also think that adding
Edit: Please disregard this comment. Check below for a working Snap. |
I've done some work on putting together a functional Snap package with working GTK2 theming. (see PR above) I'd be happy to set this up in the Snap store and maintain it if you wanted, but users are more likely to trust a package maintained by the main transgui developers so I'm submitting this PR with working snapcraft.yaml and transgui.desktop file. Right now it definitely builds fine for the amd64 package and should in theory build fine for i386, but the snapcraft.yaml would need a few tweaks to support the ARM platforms that transgui currently supports. Let me know if you have any questions. |
I've packaged up a proof of concept version of this Snap that should be working just fine and ready to install directly from the Snap Store, with strict confinement and full GTK2 theming integration. I would appreciate feedback and testing from anyone interested, especially users on You should be able to install with: sudo snap install transgui-test I've committed all the appropriate files to produce the Snap and opened the above PR for them, so this can be maintained upstream if desired. It should be minimal effort really as it should just involve incrementing the application version in |
I tried I think alexhaydock version from the SnapCraft store (installed from the Ubuntu Software app) on a new wipe+install of Ubuntu 20.04. Here are some logs found in Logs app:
|
Mine is the only version on the Snap store that I can see right now so I will try some more testing and see if I can get it to work properly! It seems to work okay on Ubuntu 20.04 for me as well as CentOS 8 and Fedora 32. Are you using Wayland do you know? Or maybe NVIDIA drivers?
You should be able to launch it from a terminal with `snap run transgui-test` to see if there’s any log output.
…On Sun, May 10, 2020 at 16:24, Jean-Philippe Baril ***@***.***> wrote:
I tried I think alexhaydock version from the SnapCraft store (installed from the Ubuntu Software app) on a new wipe+install of Ubuntu 20.04.
When I start the app, I see it for a fraction of second the it closes.
I can't seem to launch it from command line, and don't find logs in the log app so I don't know could be the problem.
—
You are receiving this because you commented.
Reply to this email directly, [view it on GitHub](#1109 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/ADEK7VVZNJPKVI5HR4WANMDRQ3BKFANCNFSM4EYPZ56Q).
|
Yes
Should not, as I'm using intel igpu. (Also have a dedicated nvidia card but not used by Ubuntu)
Here is the output: |
This might be an error caused by the fact that ‘transgui’ was taken on the store so I had to use ‘transgui-test’. Does running `transgui-test.transgui` inside a terminal work to launch the main program window?
…On Sun, May 10, 2020 at 16:43, Jean-Philippe Baril ***@***.***> wrote:
> Are you using Wayland do you know?
> Yes
> Or maybe NVIDIA drivers?
> Should not, as I'm using intel igpu. (Also have a dedicated nvidia card but not used by Ubuntu)
> You should be able to launch it from a terminal with snap run transgui-test to see if there’s any log output.
> Here is the output:
> erreur : impossible de trouver l'application "transgui-test" dans "transgui-test"
> Translation: error: impossible to find application "transgui-test" in "transgui-test"
—
You are receiving this because you commented.
Reply to this email directly, [view it on GitHub](#1109 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/ADEK7VU5GYH6DMJ4H2JLIVLRQ3DTJANCNFSM4EYPZ56Q).
|
Actually, I have been able to reproduce this by logging into a Wayland session on Ubuntu 20.04. Try running: DISABLE_WAYLAND=1 transgui-test.transgui It seems to be the case that the application is segfaulting because GTK2 apps do not play well with Wayland. If the above command works for you as it does for me then I'll work on getting the Thanks for helping debug 😄 Strangely I don't see the issue when launching the Snap from the Either way, if I set |
More info. |
I think just generally GTK2 apps don't play well with Wayland and sometimes the right environment variables (that should cause XWayland to be used instead) don't get set for some reason. The solution in this case seems to be explicitly setting those variables inside the |
Snaps are easy to use, on the rise and portable, let's go for it !
The text was updated successfully, but these errors were encountered: