mijorus / gearlever

Manage AppImages with ease 📦
https://mijorus.it/projects/gearlever
GNU General Public License v3.0
536 stars 23 forks source link

Duplicate entries in menu #138

Open ecspresso opened 2 months ago

ecspresso commented 2 months ago

When adding an app image without the option Use executable name for integrated terminal apps and moving the file to the application folder, Gear Lever creates a desktop file with the long name (example gearlever_fritzing_1a993c.desktop).

If the app image is removed from the folder via the file manager and not Gear Lever, the desktop file remains. If the app image is again imported but with the previously mentioned option enabled, a new desktop file is created and Gear Lever shows the same applications twice. Removing the application via the menu or via the file manager removes both entries, the only way to fix it was to remove the offending desktop file.

(And a quick way to find it was find / -name "$NAME_OF_APPLICATION" -type f 2>/dev/null.)