Filer icon indicating copy to clipboard operation
Filer copied to clipboard

Consider using KIO

Open probonopd opened this issue 4 years ago • 1 comments

https://api.kde.org/frameworks/kio/html/

This framework implements almost all the file management functions you will ever need. In fact, the KDE file manager (Dolphin) and the KDE file dialog also uses this to provide its network-enabled file management.

The question is, how many heavyweight KDE Plasma dependencies would supporting KIO in Filer pull in.

There are KIO slaves for Zeroconf/mDNS, ssh/sftp, etc.

The downside over gvfsd-fuse seems to be that it only works with Qt applications that use the KDE file open dialog. So, no command line tools, WxWidgets and Gtk applications could use the network services?

Ideally we want something more robust, where the system mounts stuff using FUSE so that all applications have access.

Wdyt @mszoek?

probonopd avatar Sep 08 '21 16:09 probonopd

KIO is pretty cool. I've also been looking at it but I agree about the downside. KIO-Fuse might fill that gap although I am not sure there's any real advantage over gvfsd-fuse.

KIO does not appear to pull in too many dependencies:

        For RUN/BUILD depends:
            kf5-kio>0:devel/kf5-kio

        For LIB depends:
            libKF5KIOCore.so:devel/kf5-kio
            libKF5KIOFileWidgets.so:devel/kf5-kio
            libKF5KIOGui.so:devel/kf5-kio
            libKF5KIONTLM.so:devel/kf5-kio
            libKF5KIOWidgets.so:devel/kf5-kio

Thoughts?

mszoek avatar Sep 09 '21 00:09 mszoek