User Tools

Site Tools


howtos:ubuntu_gnome-obex-send

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howtos:ubuntu_gnome-obex-send [29/04/2007 20:22] domingohowtos:ubuntu_gnome-obex-send [02/12/2018 21:34] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== gnome-obex-send in Ubuntu Edgy ======
 +
 +For unknown reasons the gnome-obex-send GUI doesn't work in Ubuntu Edgy. When trying to send a file the "Send to" selector is just blank.
 +
 +It is possible to send files from the commandline like this:
 +
 +<code>
 +# hcitool scan
 +
 +Scanning ...
 +        00:12:62:5D:65:E2       Nokia 9300
 +
 +# gnome-obex-send --dest=00:12:62:5D:65:E2 file.txt
 +
 +Browsing 00:12:62:5D:65:E2 ...
 +Service Name: OBEX Object Push
 +Service RecHandle: 0x10000
 +Protocol Descriptor List:
 +  "L2CAP" (0x0100)
 +  "RFCOMM" (0x0003)
 +    Channel: 9
 +  "OBEX" (0x0008)
 +Service Class ID List:
 +  "OBEX Object Push" (0x1105)
 +** Message: device 00:12:62:5D:65:E2 (OBEX Object Push) port 9
 +
 +</code>
 +
 +...bingo and the file.txt is delivered to my phone.
 +
 +But that isn't good enough the GUI must work so here is a trick. Add the following in /etc/rc.local:
 +
 +<file>
 +hciconfig hci0 inqmode 0
 +</file>
 +
 +This runs the command on startup and thus fix the problem, so you can use the "Send to" function in Nautilus and see devices in sight. 
 +
 +You can also choose to run the command from a shell if switching runlevel (rebooting) isn't an option:
 +
 +<code>
 +# sudo hciconfig hci0 inqmode 0
 +</code>
 +
 +
 +
 +//**Update:** In Feisty you only need to install the gnome-obex-send package (plus dependencies) to get this working. Just remember to launch "Bluetooth File Sharing" when you need to receive a file.//