Softpedia
 

NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
Home > News > Linux > Ubuntu Tips and Tricks

February 20th, 2007, 14:04 GMT · By

Transfer Files with Bluetooth on Ubuntu

SHARE:

Adjust text size:


Bluetooth is an industrial specification for wireless personal area networks (PANs). Bluetooth provides a way to connect and exchange information between devices such as mobile phones, laptops, PCs, printers, digital cameras and video game consoles over a secure, globally unlicensed short-range radio frequency.

Today I'll give you a quick example of how to transfer files via Bluetooth from/to your mobile phone. For this guide, I've used the Canyon Bluetooth CN-BTU2 USB 2.0 Adapter (picture in the left) and a Motorola v360 Bluetooth capable mobile phone.

Enable Bluetooth

In Ubuntu Edgy, Bluetooth support is enabled and started by default, so if you'll buy a Bluetooth adapter and plug it into the USB port, you may see a pop-up that let's you know that a Bluetooth device was found. However, if you don't have Bluetooth support in your Ubuntu Edgy, you can enable it as follows:

CODE
sudo apt-get install gnome-bluetooth bluez-utils

CODE
sudo /etc/init.d/bluetooth start stop restart

After this, you can control and communicate with Bluetooth devices if you enable the GNOME Bluetooth software, which you can find under Applications -> Accessories -> Bluetooth File Sharing

You can search for Bluetooth devices from the command-line as follows:

CODE
hcitool inq

The result of the inquiring was...

CODE
~$ hcitool inq
Inquiring ...
00:17:00:98:39:E2 clock offset: 0x75a5 class: 0x522204

This is my Motorola v360 phone.

Transfer files via Bluetooth

From Mobile to PC

If you want to send files from your mobile phone to PC, then this is a very easy task, just select the file you want to transfer and according to your mobile device options, you can select to send the file to a Bluetooth device. It will ask you then which device to send to (mine was found as marius-desktop-0) and send the file. Simple as that!

From PC to the Mobile device

Now, if you want to send files from your PC to the mobile phone, you can use a lot of applications to do that.

Example 1:

1. Create a launcher on your desktop.
2. In the Command field, put the following line:

CODE
gnome-obex-send %s

3. Drag and drop files to the icon you've just created.

A window will appear asking you to select the device you want to transfer files to.

NOTE: Remember to turn on your Bluetooth on the mobile phone before you start the file transfers.

Example 2:

1. Right click on the file you wanna send to the mobile device, and go to "Send to..."
2. A window appears asking you were you want the file to be sent. From the drop down list, select Bluetooth (OBEX) and it will start searching for your phone's Bluetooth. When it's found, send the file.


The Kubuntu way

In Kubuntu, you have more options by accessing the mobile device if you type in Konqueror:

CODE
bluetooth:/

You will have Bluetooth services like:

- OBEX file transfer
- OBEX Object Push
- Dial-up networking Gateway
- Hands-Free voice gateway
- Image Push
- Voice Gateway

See examples of usage, below:

TELL US WHAT YOU THINK:

105,365 hits · 9 comments · Link to this article · Print article · Send to friend · Subscribe to news

MUST-READ RELATED ARTICLES:


Screencast Guide: Capure Your Linux Desktop on Video!

Install Nvidia and ATI Video Drivers on Ubuntu Edgy

Installing NTFS Write Support on Fedora/Ubuntu

Install OpenOffice.org 2.1 in Ubuntu/Kubuntu

Install Kickoff KDE Menu in Kubuntu/Ubuntu

READER COMMENTS:


Comment #1 by: asdasdas on 13 May 2008, 18:03 UTC reply to this comment

thank u for providing me this


Comment #2 by: josephine on 05 Jun 2008, 20:03 UTC reply to this comment

Thanks for this. it works.


Comment #3 by: Praveen on 28 Jun 2008, 07:42 UTC reply to this comment

Thanks a lot buddy, it works... it saved my time...

Ubuntu 8.04


Comment #4 by: ail.com on 08 Jul 2009, 17:10 UTC reply to this comment

awesome.. ur a genious CHEERS


Comment #5 by: Bubi on 15 Jul 2009, 21:13 UTC reply to this comment

Thanks -finally I managed to transfer files between my eeepc 1000h running easypeasy ubuntu and my nokia n73

-Next problem to solve is how-to connect my wireless xbox360 controller for windows to ubuntu..;-(..mmhh..tough one


Comment #6 by: leos varghese on 23 Aug 2009, 16:35 UTC reply to this comment

im installed ubuntu remix in my lap,,,and im not able to use my bluetooth and wifi as well,,,so i would like to know how i can activate the bluetooth and wifi in ubuntu remix....please help me...thanks.....regards leos varghese

Comment #6.1 by: leo on 18 Oct 2011, 12:00 GMT

please go through the Screenshots,.


Comment #7 by: rishu on 27 Sep 2009, 05:02 UTC reply to this comment

Brozz .............. it ant working ................Details: Failed to execute child process "gnome-obex-send" (No such file or directory)................ this is the error it shows all the time ...............what hat shall i do


Comment #8 by: israel on 15 Apr 2010, 01:54 UTC reply to this comment

Existe un programa gratuito se llama Blux,

Necesita tener instalado el OBEXFTP y el soporte para bluetooh en tu distribución, de todas formas en el DEB aparece la lista de dependencias.

Este programa te permite navegar por el celular como si fuera un pendrive o memoria flash, para hacerlo tienes que crear en tu carpeta personal o de documentos una carpeta en blanco con todos los privilegios y que esté vacía, con el nombre que mas te guste... Yo en mi caso le puse "celular" (Obvio no?)

Luego usando BluX montas el contenido de la memoria del celular en la carpeta que creaste... fácil!!!!

Este es el enlace del programa --> http://sourceforge.net/projects/blux/

Cualquier duda o dificultad con el programa no dude en preguntar...
si hay alguna sugerencia también se agradece

Saludos

I.M.

Copyright © 2001-2012 Softpedia. Contact/Tip us at

WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM