Skip to content

[Question] How to bypass the launcher #651

Closed

Description

@marvin1099

Pre-submit checks

  • I checked for similar issues beforehand, but could not find any, not even closed ones. I could not add my bug report to any existing issue.
  • I am going to take the time to to fill in all the required details. I know that the bug report will be dismissed otherwise.

Describe the bug

If i have a app i just want to run and not integrate,
there seems to be no obvious way to do that.
I have a appimage file that I like handle myself,
so I like that to be excluded by the appimage launcher.
Then the gui wont come up and it will start automatically.

Expected behavior

Maby have something like ail-cli -run $Appimage to just run a appimage

Steps to reproduce the issue

No response

Screenshots

No response

Distribution and desktop environment

Garuda Linux x86_64

Installed AppImageLauncher version

AppImageLauncher version 2.2.0 (git commit 0f91801), built on 2024-05-25 15:13:12 UTC

List of AppImages you tried

No response

Additional context

No response

Activity

  1. added
    bugSomething isn't working
    needs verificationDescription of the issue needs to be verified by the team
    on Jul 14, 2024
  2. changed the title [-]How to bypass the launcher[/-] [+][Question] How to bypass the launcher[/+] on Jul 14, 2024
  3. Lenni-builder commented on Dec 11, 2024

    @Lenni-builder
  4. marvin1099 commented on Dec 11, 2024

    @marvin1099
    Author

    Last time i tryed this this it opened the AppImage launcher as well.
    This was one of the first things I tryed to bypass it.
    I have not tryied it in a while though.
    After I was not able to bypass the launcher I removed it.

    If you say this works I will try this with the newest version in the next few days.

  5. Lenni-builder commented on Dec 11, 2024

    @Lenni-builder

    AIL hasn't really been updated in years, so that definitely didn't change.

  6. marvin1099 commented on Dec 11, 2024

    @marvin1099
    Author

    In that case I don't think just running the appimage in the terminal works.
    I can still see if that works.
    Can't hurt to check.

  7. Beep6581 commented on Dec 28, 2024

    @Beep6581

    Considering the vast amount of AppImages which fail to run due to AppImageLauncher being installed (search the internet for "execv error: No such file or directory"), and considering AppImageLauncher --appimagelauncher-help offers no helpful information, it would be great if you answered here and updated the --appimagelauncher-help output with information on how to bypass AppImageLauncher.

  8. midnight-wonderer commented on Jan 6, 2025

    @midnight-wonderer

    I found this little script on GitHub; it covers my use cases.
    https://github.com/un1t/appimage-desktop-entry

    The launcher can be bypassed by uninstalling and switching to the script instead.

  9. marvin1099 commented on Jan 6, 2025

    @marvin1099
    Author

    I found this little script on GitHub; it covers my use cases. https://github.com/un1t/appimage-desktop-entry

    The launcher can be bypassed by uninstalling and switching to the script instead.

    That works, but it also means not installing / uninstalling the launcher.
    So its like using the Appimage Launcher Lite.
    So its not really bypassing, but its basically what I do nowadays because there seems to be no way to really bypass the launcher (when it is installed) as mentioned.

  10. Beep6581 commented on Jan 6, 2025

    @Beep6581

    That script does not bypass AppImageLauncher, it very clearly creates a desktop shortcut which launches the AppImage directly, and if you have AppImageLauncher installed and unpatched then that script will not help you one bit.

    And obviously uninstalling AppImageLauncher is not bypassing it.

  11. TheAssassin commented on Jan 6, 2025

    @TheAssassin
    Owner

    There's a lot of wrong information in this thread. Let's clear some things up.

    First, I'm defining "bypassing the launcher" as "you won't see the dialog". Your definition may vary, you would have to explain your motivation then. A regular AppImageLauncher installation cannot be "bypassed", as some of its components (mainly the so-called binfmt-bypass) is always used by the kernel. It's a technical limitation of the binfmt_misc Linux feature.

    When using a terminal, you can always set APPIMAGELAUNCHER_DISABLE in your environment to suppress the dialog.

    If you want to make a specific AppImage never trigger the integration dialog, you need to alter its main desktop file and include one of the flags supported by libappimage, e.g., X-AppImage-Integrate=false.

    To truly avoid using AppImageLauncher's binfmt_bypass, you can either disable binfmt_misc resp. the specific AppImage binfmt_misc integration manually (which applies system-wide and requires root access), or you can uninstall it and may have to reboot (YMMV, uninstall log messages recommend it if in doubt).

  12. Repository owner locked and limited conversation to collaborators on Jan 6, 2025
  13. converted this issue into a discussion #679 on Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds verificationDescription of the issue needs to be verified by the team

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions