the ubuntu way to remote control your pc via bluetooth phones.August 27, 2007
the reason I’m posting this blog is to remind myself what to do in case I forget the steps that need to be done in order to remote control my machine by using my bluetooth-ed mobile phone (or for yanks „cell phones“). 🙂
ok, let’s get started – it might look mega complicated, but in fact it’s a few steps and loads of text explaining why. so don’t panic 😉
this is a mini how-to for ubuntu/linux computers, windows and mac users may look out for a proprietary software called „salling clicker„. linux users don’t need to pay money for the same effect 😉
ok, so here’s a checklist what you need or already should have:
- a bluetooth enabled sony ericsson phone e.g. W300i or V630i. why sony ericsson? because they come with a special application called „remote control“ that you’ll later need.
- a bluetooth usb dongle …. can be found here: Amazon.com
shouldn’t cost you more than a few $, pounds, €, etc…
- ubuntu or any linux distribution installed
ok, after this is sorted, we move on to pair our phone with the computer.
first make sure the usb dongle is plugged into your computer and bluetooth is „switched on“ on your phone.
I’m testing this with Ubuntu 6.10 «edgy eft» so if you have a newer release e.g. «feisty fawn» configuration settings might look a bit different.
YOU DON’T NEED THESE FOLLOWING STEPS IF YOU’RE USING UBUNTU GUTSY (or even FEISTY) — all of this should be already configured and correctly installed.
Here we go:
First you start a terminal/konsole and install the bluez-utils
sudo apt-get install bluez-utils
next you open the file „/etc/init.d/bluetooth“ in your favourite editor (make sure to be root!)
sudo nano /etc/init.d/bluetooth
and search for „HIDD_ENABLED=“ it’s probably set to 0 and change it to 1. You’ll need that later to successfully connect your phone to your computer. Apart from that nothing needs to be changed, so just hit ctrl+x, save and you’re set.
Now you need to restart your bluetooth services by typing
sudo /etc/init.d/bluetooth restart
The next step is to „pair“ your phone with your computer. But how does your computer find your phone? There’s something called MAC Address that your computer needs to identify your phone.
To find out what’s your phone’s mac address is, simply just type this into your terminal/konsole
Your output will be something like this: 23:57:F2:0R:78:L4 W300i (note this is a made-up MAC address)
The final step is
sudo hidd --connect YOUR MAC ADDRESS
You will be asked for a password both on your computer as well as on your phone. Make sure it’s the same 😉
This connects your phone with your pc, asking you to allow using sony ericsson’s remote control feature on the phone.
Now you should be all set, you can use it for an Open Office/Power Point presentation, or controlling your mp3 player (Amarok, XMMS, ….) from your bed, or just simply show off in front of your friends by moving the cursor on the desktop 😉
If something doesn’t work, because I may have skipped a step, then you may find this link helpful.
(here you’ll find other remote control plugins/configuration files for your linux machine! amarok.hid , totem.hid, xmms.hid files…..I thought they all work pretty much the same, you might be fine by using the default ones…)
EDIT from the 16th November:
If you’re using the KDE Window manager and enjoy using these KDE applications, like Amarok, Kaffeine, KDE Desktop (you can now even shut down your PC with your phone), then you may find these hid files useful – I did!
http://www.kde-apps.org/content/show.php/Sony+Ericsson+HID+profiles+package?content=60288it works great! It even has a profile for the VLC and Open Office Presenter – you won’t have to configure anything, just transfer them onto your phone, install them and you should be fine! 😉
In order to send these .hid files to your computer you need to type this in your terminal/konsole:
gnome-obex-send -d YOUR MAC ADDRESS /path/to/filename.hid
If your phone doesn’t support hid (Human Interface Device) files (as far as I know only Sony Ericsson and Nokia phones support HID) then you may want to have a look here:
There are several applications (mostly java applications) that do the basically the same – note your phone has to support JAVA. I recommend checking out,
- Bluepad – http://bluepad.sourceforge.net/- works great if you have a larger phone display
- Bemused – http://bemused.sourceforge.net/ – check it out, seems great
- Remuco – http://remuco.sourceforge.net/index.php/Remuco – seemed a bit complicated from the start, but I’m it’s great!
If you found an error, or something doesn’t work the way I explained it, then please leave me a comment or shoot me an email to firstname.lastname@example.org
Enjoy your new remote control! 😉
Veröffentlicht in bluetooth, foss, handy, kde, KMobileTools, kubuntu, linux, mobile phones, open source, opensource, presentation, remote control, sony ericsson, ubuntu, w300i | Verschlagwortet mit , , , "bluetooth connection failed" k800i, alternatives to bluetooth, amarok remote bluetooth mobile, amarok.hid, bemused, bluepad, bluetooth, cell, cell phone, cellular, cellular phone, connect, control desktop w300i, control pc via bluetooth, control PC via phone bluetooth, control ubuntu from your phone, feisty get file from my pc from bluetooth, find out your phone bluetooth mac address, find remote mac address linux, foss, handy, HID, hidd connect, how to, Java apps, k800i, k800i connect as a remote, Kaffeine, kde, KDE Desktop, kde-apps.org, KMobileTools, kubuntu, laptop control via bluetooth, linux, mac, mac address, mobile phones, open source, openoffice, OpenOffice Presenter, opensource, pc remote control + ubuntu + bluetooth, POWERPOINT, presentation, remote control, remote desktop via bluetooth, remotely read message, remuco, shut down your pc using Bluetooth, sony ericsson, sony ericsson phone remote control ubuntu, totem.hid, tuxmobile, ubuntu, ubuntu bluetooth remote control, ubuntu control presentation from mobile, ubuntu control totem remote, ubuntu HID bluetooth, ubuntu phone "remote control", w300i, xmms.hid |