blueman-project / blueman

Blueman is a GTK+ Bluetooth Manager
GNU General Public License v3.0
1.26k stars 191 forks source link

Add blueman-sendto to Send To menu of Thunar file manager #26

Closed GreenLunar closed 9 years ago

GreenLunar commented 10 years ago

Original post: namili/blueman/issues/2

File name: thunar-sendto-blueman.desktop. Directory path: /usr/share/Thunar/sendto/.

[Desktop Entry]
Type=Application
Version=1.0
Encoding=UTF-8
Name=Bluetooth Device
Icon=blueman
Exec=blueman-sendto %f

Maybe %F (multiple file selection) would be better.

rworkman commented 9 years ago

I like the idea, and it's pretty trivial to add this, but it doesn't work: I get "Unable to find service record" when I try to use this, while it works properly from within blueman.

GreenLunar commented 9 years ago

It does work here, under Salix 14.1 (Slackware based)

cschramm commented 9 years ago

Works for me as well with Debian testing. Any more information, @rworkman? If we get this problem analyzed, we can add this. @GreenLunar, would you like to prepare a pull request for this? Sorry for keeping this untouched for such a long time...

rworkman commented 9 years ago

I'm not sure what went wrong, but whatever it was, it made blueman-sendto from within blueman stop working too (with that same error message). I'm going to try to repro it tonight and get some decent debugging info. Anyway, if you want a pull request for the branch above (which implements the thunar-sendto function), I'll do one.

rworkman commented 9 years ago

I also did a second commit in that same branch to rename the --enable-sendto option to --enable-nautilus-sendto and then rename the --enable-thunar to --enable-thunar-sendto ; I think this will make it clearer what each one does. I left it as a separate commit since it isn't strictly needed, but I think it would make things more intuitive for packagers/installers.

ghost commented 9 years ago

this is great, currently gentoo manually leaves out blueman-sendto when you don't have nautilus, so this is a nicer solution