Nautilus and Bluetooth 8 comments

BluetoothBeing a user, the last few releases on have driven me batty by omitting the nautilus integration. This very handy functionality allows you to right click on a few and send it via bluetooth.

For some odd reason it has yet to make it into any version of and using gnome-obex-send from the command line is more than a touch annoying.

However thanks to a fabulous Nautilus extension I have found a way to replicate the functionality

Now the official extension should look like this

gnome-bluetooth being used to send a file from Nautilus

And here is what my replacement looks like

1. Selecting the file to send

2. Selecting the device to send to

3. Watching the progress of the file as it is sent

So if I am not using the nautilus-bluetooth extension what am I using? I found a fantastic Nautilus extension called . This allows you to quickly and easily define your own context menu items for everything in nautilus. Once you have it installed simply run nautilus-actions-config and create as many actions as you like. The configuration I used for the Bluetooth send option is shown below. Once you have installed it and added a rule, restart nautilus with nautilus -q and you are done. Why this is not a standard part of every gnome based distribution is beyond me.

(By the way, the resumption of posts does mean that my new T43p has arrived. Im still finishing up configuring ubuntu on it, but expect a full write up as soon as I am done)

Comments

IMHO, you should set '%M' as parameter so you can get the full list of selected files instead of just one. Or uncheck the "appears if multiple files selected" :) Happy that it suits your needs !

GrumZ 18:23 Saturday the 12th of November 2005 #

Nice catch GrumZ, I have just updated the screen shot.

Sean O'Donnell 18:24 Saturday the 12th of November 2005 #

I had the same problem with FC4. I solved it using "nautilus scripts". The script should be put in a special folder $HOME/.gnome2/nautilus-scripts/ and be made executable. Below is the script text #!/bin/sh # # This script sends selected files to a bluetooth device # # the "quoted..." line handles multiple files with spaces # (like shown on the g-scripts site) # quoted=$(echo -e "$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS" | awk 'BEGIN {FS = "\n" } { printf "\"%s\" ", $1 }' | sed -e s#\"\" ##eval "gnome-obex-send $quoted"

Walter Cattebeke 18:25 Saturday the 12th of November 2005 #

Sorry about the bad formatting I'll try again

Walter Cattebeke 18:26 Saturday the 12th of November 2005 #

I had the same problem with FC4. I solved it using "nautilus scripts". The script should be put in a special folder $HOME/.gnome2/nautilus-scripts/ and be made executable.

Below is the script text

#!/bin/sh
#
# This script sends selected files to a bluetooth device
#
# the "quoted..." line handles multiple files with spaces
# (like shown on the g-scripts site)
#
quoted=$(echo -e "$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS" | awk 'BEGIN {FS = "\n" } { printf "\"%s\" ", $1 }' | sed -e s#\"\" ##
eval "gnome-obex-send $quoted"

Walter Cattebeke 18:27 Saturday the 12th of November 2005 #

Very nice tip, thanks much.

Someguy 18:28 Saturday the 12th of November 2005 #

What do you think about WIKILEAKS? Thank you

LorencoTap 14:07 Saturday the 18th of December 2010 #

Random question on an old post, but... I'm a fan. I think more attention should be paid to how Bradley Manning is being treated than the smear campaign against assange. Its also very interesting to watch how censorship is carried out these days, via paypal and visa....

Sean O'Donnell 14:10 Saturday the 18th of December 2010 #

New Comment

required
required (not published)
optional