AppImage Awarness in plasma Desktop
Open, NormalPublic

Description

In order to provide a better user experience for those who decide using AppImages in Plasma Desktop, it should be provided the following features:

  • Dolphin file icons.
  • Dolphin side panel to show AppImage information.
  • Dolphin file right-click menu entry "Add to Menu"
  • Dolphin file right-click menu entry "Check for updates"
  • Plasma menu item right-click menu entry "Remove" (Only for AppImage entries)
azubieta triaged this task as Normal priority.

We already have this AppImage Thumbnailer for KDE, it may require some review: https://github.com/azubieta/KDE-AppImage-Thumbnailer

abetts added a subscriber: abetts.Aug 13 2018, 10:29 PM

We can help with the icon!

Dolphin isn't in Plasma (I've tried) so this should be requests to Dolphin in whatever way that project works best.

KDE AppImage Thumbnailer sounds like something that should be in KDE not in github, go get a KDE repo! Then you can ask for it to be in neon etc.

Some thoughts on implementation:

Dolphin file icons.

The thumbnailer should be moved to a KDE repo. Either a new appimageIntegration repo or kio-extras

Dolphin side panel to show AppImage information.

I think the correct way would be to extend Baloo/KFileMetaData to extract and display the information from the appimage files in the Information Panel

Dolphin file right-click menu entry "Add to Menu"

That should be done by providing a FileItemActionPlugin that installes a .desktop fileto the appropriate location

Dolphin file right-click menu entry "Check for updates"

Also a FileItemActionPlugin

Plasma menu item right-click menu entry "Remove" (Only for AppImage entries)

No idea on that one

kossebau added a subscriber: kossebau.EditedNov 21 2018, 9:44 PM

While not solving any Update: For helping to solve one of the currently listed improvement proposals, D17086 (adding a icon for the appimage file mimetype) at least helps a bit with visual recognition of AppImage files (where not the thumbnailer does its work).

probono added a subscriber: probono.Dec 6 2018, 6:59 PM

This may be part of a broader discussion, namely, how to handle application bundles (ROX AppDirs, Mac bundles, GNUstep bundles, AppImages) and applications that are not installed, but rather can "come and go" dynamically.

Please have a look at "Learn from Mac OS X how to suck less at system integration", especially the section "What triggers system integration". Do KDE Plasma and/or Dolphin provide mechanisms to "hook in" in the appropriate places?

kossebau added a comment.EditedJan 22 2019, 10:33 AM

Dolphin side panel to show AppImage information.

D18450 is a proposal for initial integration with existing metadata system.

ngraham edited projects, added KDE Applications; removed VDG, Plasma.Sep 27 2019, 4:27 PM
ngraham added a subscriber: ngraham.

What's left here?

As far as I know, only the thumbnails feature is part of the official kde
repo. The rest of the features can be found on the
plasma-appimage-integration extensions set (
https://www.opencode.net/azubieta/plasma-appimage-integration). I guess
that it will worth the effort to explore whether it should be upstreamed or
not and how.

El vie., 27 de sept. de 2019 12:27, Nathaniel Graham <
noreply@phabricator.kde.org> escribió:

ngraham added a comment.

What's left here?

*TASK DETAIL*
https://phabricator.kde.org/T9356

*To: *azubieta, ngraham
*Cc: *ngraham, probono, kossebau, jriddell, abetts, nicolasfella,
azubieta, lots0logs, iasensio, fprice, MrPepe, fbampaloukas, alexde,
Codezela, feverfew, meven, domson, ashaposhnikov, astippich, spoorun,
navarromorales, firef, andrebarros, alexeymin, genaxxx, emmanuelp,
mikesomov, abrahams

Didn't Dolphin's information panel get metadata awareness too? Or did that not land yet? Given the Goal: All About the Apps goal, I wonder if we should renew our efforts on this.

Yes, KFileMetaData also has extractor plugin for AppImage files, added by R286:1aa7f9168d51e0fc88b42f71fcdb90b0542d0d6f

It's great to know it!

So the information extraction features are covered. We are only missing the functional bits. But those depend on Appimage services (a dbus daemon) to be realized. Is it possible to have then upstream and only show them if AppimageServices is available?

Sure, sounds doable.

probono added a comment.EditedOct 5 2019, 8:46 AM

Hi, great effort, thank you.

In order to provide a better user experience for those who decide using AppImages in Plasma Desktop, it should be provided the following features:

May I add another idea:

  • Extract AppImage (using Ark and from the right-click context menu) (libarchive for type 1 and squashfstools for type 2 images should be able to do it, or libappimage)