b4j4 / indicator-kdeconnect

AppIndicator for KDE Connect
GNU Lesser General Public License v2.1
372 stars 37 forks source link

Thunar #42

Closed b4j4 closed 7 years ago

b4j4 commented 7 years ago

I read this article, and it says is possible to add a script to "/usr/share//Thunar/sendto/", can someone here that use Thunar test this:

kdeconnect-send-thunar.desktop.zip

So if it work, let me know to add it on next release.

tsjnachos117 commented 7 years ago

It seems to work for me.

I do have one question, however: is the last line of that file (specifically "MimeType=image/jpeg") necessary? I almost complained about the file not working (it wasn't showing up in the menu), until I noticed it's only for JPEGs. Just for fun, I commented that line out, and sent myself a random ZIP file without issues, so this file clearly works on zips as well.

The same cannot be said about directories, however. When I tried to send myself a directory, I got the usual window asking me which device to send the directory to. After I selected my device, absolutely nothing happened. Likewise when I tried to send that same directory manually via the kdeconnect-send command, so I guess this has nothing to do with the .desktop file, itself.

b4j4 commented 7 years ago

Thanks for having tested, the last line was my mistake, it is not necessary since it can send any file. Can not send folders yet.

arifzeeshan commented 5 years ago

I have manually copied to usr/share/Thunar/sendto since installation from AUR doesn't seem to copy it but it still fails to show up in the menu. Any reasons why ?