-
-
Notifications
You must be signed in to change notification settings - Fork 566
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
Use gtk-launch? #174
Comments
Yeah, app icon is shown only if run from "Spotlight" (ubuntu - Search this computer). And no icon if run as click on image or terminal. Will try |
If I understand correctly, if we will use |
Yes we still need to wrap our head around that. Probably the correct way would be for the desktopintegration script to install the desktop integration, and then not launch the payload app but unmount the AppImage and then execute gtk-launch on the just-installed desktop file. Only I don't know how to do this (yet)... |
And it is a dirty hack. I am not Linux user. On OS X I always use Spotlight/Dock to run app. On Linux — if user will use image (click) to run — boot time will be increased because of this solution. Well, yeah, I am not Linux expert and also don't know is there better solution. Only if we will implement this solution in the runtime to avoid mount. |
Looks like we might need to develop the Linux equivalent of macOS LaunchServices ;-) |
Let's not forget that there is gtk-launch, but KDE uses something else, as does XFCE, so we would also have to have a good look at how xdg-open deals with those. |
Let's really make sure this also works on non-gtk distros; at least it should fall back to the current behavior if there is no |
Implemented a bare-bones replacement for gtk-launch. It can launch AppImages with icon like this: On Ubuntu 12.04:
results in not much less:
Actually the file itself depends only on
and the rest are dependencies of the dependencies. So should be reasonable to use. |
Launch specified application by its desktop file info.
Might result in icon being shown in Unity dock properly.
To be tested on other distributions.
To launch from the "outside"; e.g., from the desktopintegration wrapper:
gtk-launch appimagekit-leafpad
The text was updated successfully, but these errors were encountered: