AppImage: detect whether .desktop file already installed

Post any suggestions for new features in Openshot here.

Moderators: Andy, Cenwen, beats

AppImage: detect whether .desktop file already installed

Postby dg1727 » Fri Jan 06, 2017 2:05 am

Hi,

Procedure to illustrate a possible added feature: (This is from my memory, so may not be perfectly accurate)

1. Download the AppImage (I used 2.2.0).
2. Put it into /usr/local/bin/ & make the file executable.
3. Run it as root, just to install the .desktop file.
4. OpenShot correctly installs the .desktop file into /usr/local/share/applications/ Yay!
5. Exit OpenShot.
6. The root user may want to rename the .desktop file so it won't be automatically overwritten by any newer version of OpenShot.
7. Run the AppImage as an ordinary user, by launching the .desktop file from desktop environment's applications menu or similar.
8. Problem: OpenShot still prompts whether to install the .desktop file.

A solution might involve having the .desktop file call OpenShot with a command-line parameter such as --no-install-desktop-file which suppresses the "Should a .desktop file be installed?" window.

Thanks for your time.
-dg1727
dg1727
New member
 
Posts: 3
Joined: Fri Jan 06, 2017 1:01 am

Return to Feature requests

Who is online

Users browsing this forum: Google [Bot]

cron