slic3r / Slic3r

Open Source toolpath generator for 3D printers
https://slic3r.org/
GNU Affero General Public License v3.0
3.29k stars 1.29k forks source link

Double clicking the AppImage or launching it from the menu does nothing #4111

Closed probonopd closed 6 years ago

probonopd commented 6 years ago

Version

Slic3r-1.3.0-dev-66074f5-x86_64.AppImage

Operating system type + version

Ubuntu 14.04

Behavior

There are three ways around it

  1. Make Slic3r show the GUI by default, unless a switch like --no-gui is used, or
  2. Edit https://github.com/alexrj/Slic3r/blob/66074f53989d312e8447c4de504d0602fd16ff42/package/linux/appimage.sh#L57 to include --gui, or
  3. Add Console=true to the desktop file (resulting in a terminal window to open rather than the GUI)

Reference: https://travis-ci.org/AppImage/appimage.github.io/builds/271212954#L598

lordofhyphens commented 6 years ago

Odd, that would indicate that something else is going wrong. I'll add Console=true and --gui together and that'll highlight what is broken.

probonopd commented 6 years ago

Why would you do both? I'd say only add --gui and that should be it.

lordofhyphens commented 6 years ago

Because the default is to fire up the gui if everything works and you don't have CLI arguments. If something is broken re: gui then it defaults to the CLI interface.

Can you pass --gui to invoking the AppImage (from a terminal) and see what gets spit out? It's working on my test/dev system, so that's not a lot of help.

probonopd commented 6 years ago

If I launch the AppImage with --gui, then it works.

lordofhyphens commented 6 years ago

Interesting. Then adding it to appimage.sh should be fine then.

probonopd commented 6 years ago

Indeed. :+1:

lordofhyphens commented 6 years ago

I've added it; which required adding a new UI flag (in case you want to run the AppImage in CLI mode): --no-gui

lordofhyphens commented 6 years ago

Closed via d6469b28.

probonopd commented 6 years ago

Thank you. Can you trigger a build on https://dl.slic3r.org/dev/linux/ please?

lordofhyphens commented 6 years ago

It's triggered on pushing commits, so it's done already.

lordofhyphens commented 6 years ago

https://travis-ci.org/alexrj/Slic3r/builds if you need to check the Linux build state in the future.

probonopd commented 6 years ago

What would be awesome would be a link to the latest stable and the latest continuous build that would redirect to the respective file... that would help for the AppImageHub central directory of available AppImages, and other app collections.

lordofhyphens commented 6 years ago

@alexrj would need to sort that out, as the webserver is under his control. You should open a new issue for that.

There won't be an AppImage of 1.2.9 ever though.

probonopd commented 6 years ago

https://dl.slic3r.org/dev/linux/Slic3r-1.3.0-dev-c84bc71-x86_64.AppImage still does not launch the GUI...

https://travis-ci.org/AppImage/appimage.github.io/builds/271433211#L596

probonopd commented 6 years ago

Now it doesn't show the GUI anymore even when the AppImage is invoked with --gui on the command line. At least this worked before.

lordofhyphens commented 6 years ago

Oh boy, wonder what I broke there. :/

On Sep 3, 2017 12:33 PM, "probonopd" notifications@github.com wrote:

Now it doesn't show the GUI anymore even when the AppImage is invoked with --gui on the command line. At least this worked before.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/alexrj/Slic3r/issues/4111#issuecomment-326819135, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB8CpCT_KGBa6jtnduHTq8hV1uzpDalks5seuMBgaJpZM4PK952 .

lordofhyphens commented 6 years ago

Should be fixed as of next build

On Sep 3, 2017 12:54 PM, "Joe Lenox" lordofhyphens@gmail.com wrote:

Oh boy, wonder what I broke there. :/

On Sep 3, 2017 12:33 PM, "probonopd" notifications@github.com wrote:

Now it doesn't show the GUI anymore even when the AppImage is invoked with --gui on the command line. At least this worked before.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/alexrj/Slic3r/issues/4111#issuecomment-326819135, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB8CpCT_KGBa6jtnduHTq8hV1uzpDalks5seuMBgaJpZM4PK952 .