Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Could I plug in my Android phone into my Ubuntu PC via USB cable and have text messages and such appear in my Ubuntu notifications? Or something like that (similar to the Ubuntu for Android application being developed, except I could plug my phone into my PC which is already running Ubuntu).

share|improve this question

2 Answers 2

This can be achieved with 'Android Notifier' application.

The application is simple in premise: when your phone receives texts, incoming calls, media messages, voice-mail or other relevant alerts it pushes these notifications to your Ubuntu screen via Bluetooth or WiFi so that you don’t miss them.The service displays notifications using the systems default notification service(notify-osd in case of ubuntu).

Phone-call notification:

enter image description here

SMS Notification:

enter image description here


How-To Setup (Tested only on Ubuntu Natty & Ubuntu Precise):

On Desktop:

It requires java.You can get it from here.

Install 'android notifer' on your desktop from here. After installing it , start the application (from accessories/android notifier desktop or search it in dash).It is still using using old gnome-panel notification area applet.So the indicator doesn't appear on unity panel. To run the configuration-window press Alt+F2 & type /usr/share/android-notifier-desktop/run.sh -p. This will open Android notifier preference.

enter image description here

If you want to use notify-osd select libnotify also install libnotify-bin package(sudo apt-get install libnotify-bin). Initially set 'receive notification from any device' from device menu.


On Android:

First install android notifier from here. or from the android market.

enter image description here

Start the application.Go to 'notification method' If you want to wifi (Both your laptop & phone has to be connected on the same wifi netwok.), select wifi, or if you want to use bluetooth select bluetooth.If you want to use your 3g network or over usb select the option accordingly. Get more help from here.

You can select events to notify under main menu->events to notify section.The default options are: Phone Ring, SMS, MMS, Battery, Voicemail etc.


Wifi Setup:

Go to IP/Wifi Option:

Under target IP address select 'custom or host'.

Under custom ip address(es) type your ip address. To view your ip address click network manager on the panel & select connection information.

Under Network protocol section make all the three options(send with udp, send with tcp, sendover cell network) are selected.

Now go back to main menu & click 'Send test notification' to check whether it is working properly.If everything runs smoothly you will get a test notification as notify-osd bubble.


Bluetooth Setup(Recommended):

If you already paired your device delete pairing. There is a bug in code that if device is already paired Bluetooth doesn't work.

Under Bluetooth option enable 'auto-enable-bluetooth'.

Now Go back to main menu & try to send a test notification.

It will ask to you to pair your device. Follow onscreen instruction.After successful pairing it will send a test notification.

enter image description here

At this point on android go to main-menu->notification methods->bluetooth options->target device.Select your target device.If this is set to "Any device" (the default), the notifications will be sent to the first computer device found.

DONE!


Troubleshooting:

If anything goes wrong you can check log from ~/.local/share/android-notifier-desktop/android-notifier-desktop.log file.

Bluetooth Issues

Indicator-Applet issue.

Report a bug here.

share|improve this answer

The android phones do not have the direct way of installing the PC suite in linux machine. To accomplish that task you will need to install wine. To install wine type in terminal :

sudo apt-get install wine1.4

Wine is like a translator that will translate the windows binary to linux's binary and then run it. Of course it will take more of your system resources. Here are some links that you might want to visit for further knowledge :

http://en.wikipedia.org/wiki/Wine_(software)

http://www.winehq.org/

Desktop SMS client in Ubuntu

How can I make usual phone calls using a connected mobile phone?

http://www.ubuntu.com/devices/android

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.