KTailctl
KTailctl copied to clipboard
Implement Taildrop
Backend features:
- [x] Receiver process
- [x] Config options for receiver process
- [x] Function to send files
Frontend features:
- [x] Settings UI for receiver process
- [x] Send files from tray menu
- [x] Send files from peer list
- [ ] Progress reporting?
can't change the directory
qrc:Settings.qml:122: TypeError: Property 'fileUrlToString' of object App(0x7ffcf2bdbc80) is not a function
"/home/fkoehler/Downloads/taildrop" is not a directory
Warning: client version "1.42.0-dev20230605-tcb1244d23-dirty" != tailscaled server version "1.42.0-dev20230524-tab797f0ab-dirty"
@davidosomething Version 0.3.4 should appear on flathub later today. It should compute the default the default directory for taildrop automatically. The corresponding setting on the settings page should also work now. Unfortunately, the taildrop settings require a restart at the moment. Once I refactor the receiver to also do the progress reporting it should be possible to change it without restarting. First, I focused on the MVP implementation.
Hi @f-koehler, is it possible to implement sending file through KDE share menu? Just like in mac os
Hi @Zzombiee2361, I think yes, in principle this would be possible and I think this would be a very useful feature. I would have to take how these custom actions are implemented and if there are any limitations when it comes to the flatpak. My best guess without investigating is that these custom commands just pass the names of selected files to some executable.
Where do you actually get this share menu? I do not have it in the Dolphin file manager but I am also running a super minimal KDE Plasma, so maybe I just need to install some additional packages.
Hi @f-koehler, yes the menu is in dolphin file manager. I'm not sure why it doesn't appear on your installation, maybe you haven't enabled it yet in Configure Dolphin > Context Menu > Share.
This share menu is not only shown in dolphin, but also in other KDE apps such as okular, gwenview, spectacle, and KDE connect. After digging a bit further on how it's implemented in dolphin, it seems that it's part of KDE's purpose framework. Though I don't understand C++ well enough to understand how it would be implemented.
That points me in the right direction! Many thanks for digging deep ;)