Wednesday February 10, 2010 4:54 AM AEST

Syncing a Bluetooth phone with a Linux box

  • Email a Friend
  • Print Page
 »
Syncing a Bluetooth phone with a Linux box
By Leigh Dyer
Apr 30, 2008
Tags: Syncing | a | Bluetooth | phone | with | a | Linux | box

Leigh Dyer explains how to do it, including pairing and sharing Blueooth devices under GNOME.

It’s not often that I upgrade my mobile phone, but my old Sony-Ericsson K700i was getting flaky, so I recently replaced it with a Nokia 6110 Navigator. I haven’t had a Nokia in ages, but the 6110 was the perfect balance of Symbian OS smartphone, and traditional phone numberpad and interface, so there’s no need to whip out a stylus just to send a simple SMS. I can even write my own applications, thanks to Nokia’s port of Python.

The phone gave me a great excuse to check out the state of Bluetooth under Linux these days, and I’m very glad to say that it’s improved a lot.

Pairing and sharing
The difficulty in setting up Bluetooth under Linux has always been in the command-line tools and tedious pairing procedures. Bluetooth radio support under Linux has never really been a problem: there’s only a handful of chipsets out there, and they all seem to be supported. I might regret saying this, but I’d be amazed if anyone can find an unsupported cheap USB Bluetooth dongle, or laptop with built-in Bluetooth.

However, I’m happy to say that modern distributions – Ubuntu Gutsy in my case – have made the basic setup of a Bluetooth device much easier. As soon as I plugged in my dongle, the Bluetooth Manager applet appeared in my panel notification area. Right-clicking on the applet gave me access to a preferences panel where I could configure my PC’s device name and visibility settings, among other things.

Also on the Bluetooth Manager’s right-click menu is a “Browse Device” option, which lets you select your device from a list of detected devices, then open the filesystem in the Nautilus file manager. Unfortunately, while I could attempt to connect to my phone, the actual connection failed. As it turned out, the GNOME-VFS module providing Bluetooth device access in GNOME (including Nautilus) isn’t actually installed by default. It’s an easy oversight to fix, though:
4sudo apt-get install gnome-vfs-obexftp

With that installed, I could connect to my phone and browse its files. Only fully GNOME-compliant applications can read the files directly. Most of the time, though, I just want to copy files to and from the phone, and for that, it works brilliantly, so I hope this module makes its way into the default install for the next Ubuntu release.

One thing I haven’t mentioned yet is pairing, the process of mutual authentication that’s required before you can perform privileged operations, like browsing a device’s filesystem, from another device. This, too, had long been frustrating under Linux, but the first time I used Bluetooth Manager to browse my phone, the pairing process began automatically. The phone asked for a PIN, and then Bluetooth Manager popped up a notification and asked for the same PIN. I couldn’t find an option to manually initiate a pairing from Bluetooth Manager, which might’ve been handy if the automatic pairing failed. Manual pairing worked from my phone though, so this wasn’t really a problem in practice.

When sending a single file, I find it easier to do a quick file send, rather than opening the phone’s filesystem and accessing the files directly, especially when I’m dealing with someone else’s device: casual file sending doesn’t require pairing.

These simple send and receive features are in the GNOME Bluetooth package:
sudo apt-get install gnome-bluetooth

This includes both an add-on for the “Send to...” functionality in Nautilus that adds Bluetooth device support, and a small utility called “Bluetooth File Sharing” (under the Applications/Accessories menu) for receiving files. The Bluetooth File Sharing tool is designed to run in the background – it sits in the notification area and pops up only when a file is being received.

STAGE ONE: Pairing




Once the Bluetooth manager launches, you can use it to pair your phone and your computer.



STAGE TWO: Sharing



The Bluetooth package adds tools for casually sending and receiving files.



 
 »
 
This article appeared in the February 2008 issue of Atomic.

Want all the dirt on the Medal of Honor reboot, including PC multiplayer details, story, and AI coding, plus interviews with devs and real special ops vets?

This is the issue for you!

Plus liquid cooling made easy, budget gaming PC building guide, and a whole lot more. ON SALE NOW!
Comments

Be the first to comment on this article.
Thoughts on this article? Add a comment below.
Login or register to submit a comment.
Power to the PC
 
 
Kitlog
 
 
Atomic Magazine

Issue: 109 | February, 2010

Atomic is a magazine aimed squarely at computer enthusiasts, gamers, and serious PC upgraders.

Every month we bring you the latest reviews of new technology and PC components, in depth features on everything from overclocking to console hacking, and gaming previews and interviews.
 
Latest Comments
"Great aricle, and i thought it would be about low power psus and components.

in any ..."
by battlefield_gir | Feb 10, 2010 2:28 AM
 
"I like alot of the stuff inside, but outside, well i never really like lian li cases, dunno why."
by H3VIW8 | Feb 10, 2010 1:57 AM
 
"It's a fun play, but I found that once you got further down in the levels, Epic Leather Boots ..."
by Tezlin | Feb 9, 2010 8:59 PM
 
"I'm with you there Waltish."
by SceptreCore | Feb 9, 2010 5:53 PM
 
"ozacube, are they going to stick nVidia cards in tv's for the shutter glasses?"
by bozo01 | Feb 9, 2010 11:18 AM
1) Apple iPhone 8GB42 plans 15%
2) HTC Magic16 plans 12%
3) Nokia N9743 plans 12%
4) Nokia E7149 plans 20%
5) Apple iPhone 3GS 16GB30 plans 58%
1) iiNet32 plans 37%
2) Netspace36 plans 8%
3) TPG Internet19 plans 20%
4) Telstra BigPond30 plans 20%
5) Optus33 plans 11%

Mobiles | Broadband | Credit Cards

Atomic MPC
Latest User Reviews
Shenmue II
10%
asdfasdf
 
EVGA X58 Classified
90%
great board, a few things could be better
 
EVGA X58 Classified
90%
Gorgeous looking
 
Sapphire 4890
90%
So good, I immediately wanted a second one!
 
MSI 790FX-GD70 motherboard
90%
Allmost the prefect gaming board