4 ms·
So one thing really cool about KIO is that any KDE application can understand KIO URIs. You can paste any KIO URI into any application's file open dialog box a
by amyjess 6y ago
So one thing really cool about KIO is that any KDE application can understand KIO URIs.
You can paste any KIO URI into any application's file open dialog box and it'll retrieve it. So for example, you could open any KDE media player, paste in an audiocd:// URI, and it'll play the specified track from your CD.
And it also meant that any application could open remote files without having to manually download them first. Like, if I wanted to open some random file off the web in a text editor, I can just go into Kate, hit Ctrl-O, and paste its URL into the dialog box, and it'll fetch it into a temp folder and open it without me having to first download it manually. This was especially useful for PDFs, because Okular is generally way better than any browser's PDF reader (and I was doing this before most browsers came with PDF readers).
- lights0123 6y agoHow does it work internally for non-KDE apps? GNOME's equivalent, GVFS, uses real FUSE paths at /run/user/1000/gvfs. Does KIO do the same thing, or copy them to a temporary directory before sending the path to the application?
- feverfew 6y agoSince yesterday there's a stable release of KIO FUSE [0], which does functionally the same as GVFS. [0]:https://feverfew.home.blog/2020/12/31/kio-fuse-5-0-0-released/ https://feverfew.home.blog/2020/12/31/kio-fuse-5-0-0-release...