question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AppImage launched from `.desktop` file results in crash/blankscreen

See original GitHub issue

I confirm (by marking “x” in the [ ] below: [x]):


Summary

The appimage when integrated with AppImageLauncher generates a .desktop file that contains --no-sandbox (this is default for appimages built by electron-builder: https://github.com/electron-userland/electron-builder/pull/4496 ) If I run the appimage directly or remove that flag from the .desktop, all is well.

Environment

  • Operating System: Fedora 34
  • Mattermost Desktop App version: 5.0.0rc3
  • Mattermost Server version: 5.37.1

Steps to reproduce Download a new appimage, double click to make AppImageLauncher integrate it. Close initial launch (works fine first launch from the AppImageLauncher screen) Relaunch from UI shortcuts from the .desktop file Observe dead app.

Expected behavior no crash/white window

Observed behavior windows open white or crash

Possible fixes find a way to not run this line in builder: args.push("--extraAppArgs=--no-sandbox")

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
devinbinniecommented, Nov 10, 2021

@jsg2021 Just giving you an update, I’m kinda confused why electron-builder has this bit hardcoded in there, since it’s very very difficult to undo it if you want to. I’ve left a comment on that issue in order to see if we can make a change to electron-builder in order to make that optional.

0reactions
jsg2021commented, Nov 17, 2021

Sounds good. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Appimage asks for desktop entry integrity every time when ...
Launching OpenShot-v2.5.1-x86_64.AppImage (or any of the Daily Build variants) prompts you to install a desktop file every time you run it? If ...
Read more >
20.04 - Can't run AppImage on desktop by doubleclicking ...
Solution 1 : Right Click On The Appimage File And Go In Properties. enter image description here. Then Go In Permissions.
Read more >
Running AppImages
This page shows how a user can run AppImages, on their favorite distribution using the desktop environment tools or via the terminal.
Read more >
Can't associate SVG with AppImage without integrating the ...
I am unable to associate this executable program to open SVG files automatically or even create a link to it in my desktop...
Read more >
AppImages on Linux: Why developers should stop using ...
Jack Wallen doesn't think AppImages are the application nirvana many ... start the Nextcloud desktop client, I have to open my file manager, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found