johang/btfs

Trying to create a Dolphin Extension

boredsquirrel opened this issue · 0 comments

BTFS is really awesome! But it needs GUI integration. Currently I am trying to create a dolphin extension, which doesnt work currently for some reason. Would be nice to fix it together.

[Desktop Entry]
Type=Service
Icon=application-x-bittorrent
ServiceTypes=application/x-bittorrent;
X-KDE-ServiceTypes=KonqPopupMenu/Plugin
Actions=btfs
X-KDE-Submenu=Open with BTFS
X-KDE-Submenu[de]=Mit BTFS öffnen
X-KDE-Priority=TopLevel

[Desktop Action btfs]
Name=Open with BTFS
Name[de]=Mit BTFS öffnen
Exec=btfs %f /run/media/$USER/btfs/
Icon=application-x-bittorrent

this is printed to ~/.local/share/kservices5/ServiceMenus/btfs.desktop

currently the menu doesnt even show, probably a minor problem. The directory is of course subjective, could have multiple versions, this is the location where OSTree distros have their mounts.