Skip to content
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

How to read icon of Appimage file ? #985

Closed
sonichy opened this issue Aug 9, 2019 · 6 comments
Closed

How to read icon of Appimage file ? #985

sonichy opened this issue Aug 9, 2019 · 6 comments

Comments

@sonichy
Copy link

sonichy commented Aug 9, 2019

I am write a FileManager with Qt, I want to read icon of Appimage.

@azubieta
Copy link
Contributor

azubieta commented Aug 9, 2019

Hello @sonichy, please take a look at AppImageServices and plasma-appimage-integration. The first one is a set of dbus services that provide all the methods you may require in your file manager and ensures interoperability with other applications (like software centers or AppImageLauncher). The second is a set of plasma extensions that already make use of AppImageServices and you can use as reference.

If you have any other questions or need an special feature please feel free to open an issue on the AppImageServices repo.

@probonopd
Copy link
Member

probonopd commented Aug 9, 2019

Hi @sonichy and welcome to AppImage. Great to hear that you want to build AppImage icons into your file manager.

If you are going the dbus route, the dbus server needs to be running, which cannot simply be assumed to be the case. So unless you are building your own distro where you can ensure that the dbus server is running, it's probably easier to just consume libappimage (and ideally link to it statically).

Documentation is (supposed to be) at AppImageCommunity/libappimage#128.

@sonichy
Copy link
Author

sonichy commented Aug 11, 2019

I heard that KDE can display icon of Appimage file.
DBus is too dependent, I want to use more indeppendent methord like read file.
I have already read out the ID3 cover image in mp3.
Caja, Thunar, DeepinFM can display mp4 file icon, I do not know how.

@probonopd
Copy link
Member

KDE is using libapimage. https://github.com/AppImage/libappimage

@TheAssassin
Copy link
Member

@probonopd the docs are at https://docs.appimage.org/api/libappimage/, please feel free to put a link wherever it makes sense to you.

@sonichy sonichy closed this as completed Aug 15, 2019
@probonopd
Copy link
Member

I have linked them in README.md. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants