Android -> Linux Desktop Remote Control (better documentation than official)

I just went ahead and used URemoteDesktop to turn my Android phone into a remote control for when I am watching movies or listening to music on my computer, and don’t have immediate access to my keyboard.

(Image Credit: From here, published under this license.)

The app I used and its Linux support is good, but the official English documentation is not that great.  Also, much of the website is in Spanish (something I can not read!). The official English documentation works if one is already savvy enough to understand it all, but still leaves the user having to type numerous terminal commands to get it going.

One advantage of this app over others, in my opinion, is that it doesn’t try to be smart and tailor itself to specific desktop software. It sends generic play, volume up, etc, commands and leaves it to your computer to interpret. It seems to work everywhere that the identical buttons on my keyboard work. I like that, because it doesn’t place barriers between me and trying new software out.

Hopefully these instructions will simplify the process, and require only one terminal command on your computer. It will even tell you your current “Host IP Address” needed by the Android phone. I hope these directions are basic enough to be accessible to all – if not, please let me know what I need to clarify.

These directions are for Ubuntu. If you aren’t using Ubuntu, you probably already know how to translate the directions into your distribution’s lingo. If you aren’t using gnome, you probably know how to translate directions into gnome.

Install Instructions:

1 ) Install the app on your phone. You can search the market for “URemoteDesktop” on your phone, or point the barcode scanner here:

2 ) Download the needed .zip file from here. That is the desktop server that talks to the app on your phone. Double click on that .zip, and extract it to your home folder so that it is at /home/YOURUSERNAME/URemoteDesktop_Server.

3 ) Install the xautomation and curl packages, needed for the server to work: sudo apt-get install xautomation curl

4 ) Go to places -> Home Folder -> URemoteDesktop_Server

5 ) Right click on -> Properties -> Permissions -> Verify that “Execute” is checked next to “Owner”. Do the same process with

6 ) Type this in a terminal: gedit ~/.bashrc

6 ) Copy and paste this line of code at the end of .bashrc, replacing ‘whatever’ with whatever you want (I used ‘amote’), but leaving the rest the same:

alias whatever='echo My IP is && curl && echo && cd ~/URemoteDesktop_Server && ./

7 ) Save and exit.

8 ) CLOSE THE TERMINAL, and you are done. If you leave the terminal open, you aren’t done yet.

Use Instructions:

1 ) Open a terminal (you did close it when you were done installing, right?).

2 ) Type ‘whatever‘ or ‘amote’ and hit enter.

3 ) On the next line in the terminal, it will tell you your IP address.

4 ) Turn your phone’s wifi connection on, connect to your home wireless network. Start the app on your phone.

5 ) Put the IP Address from step 3 into the app.

6 ) Works!

Android -> Linux Desktop Remote Control (better documentation than official)

Ubuntu Linux Sucks.

Well, not really. I like it and blog from it and use it every day by choice. Anyways, what follows is a post of mine from a discussion over at about Ubuntu’s difficulties in entering the mainstream.

Someone else said this:

The main problem with the competition for Ubuntu is not Mac or Windows. it is the other operating systems you can download for free, the hacked versions of Windows.
A few people criticized and mocked him. His post was not looking very popular, because it didn’t make anyone feel warm and fuzzy inside. Here is what I have to say, in response to his comment:

I think he is onto something, here.

It isn’t significant that one 20 year old nerd thinks he has it made with cracked windows–

–it is significant, however, that he has the 4 or 6 people in his life that he sets up with that cracked version and that he provides the tech support for. The best operating system for any non-nerd is whatever OS their local nerd is willing and able to support, period.

I spent 20 minutes just last night explaining to my Ubuntu-using mother what a ‘checkbox’ looked like in nm-applet over the phone, and that the lack of a check in the box did not mean it was magically no longer a checkbox. Or something. I really have no idea what I was explaining to her, I got more confused the longer I talked to her. All I know is that she eventually clicked around enough that her wifi that had previously magically broken had suddenly magically started working again. I wish I could claim to have helped my mother, but I really have no idea what broke and what fixed it. Fairy dust is just as good a guess as any. The point is this: I told my mother that I was willing and able to support Ubuntu, and she thus uses Ubuntu.

Another example: My nerd girlfriend has a Mac and, thus, so do both of her parents and all of her siblings and a few of her other friends. Not because anyone did any rational cost-benefit analysis, but because that is what she told them to purchase because that is what she felt she was willing and able to support. One nerd willing and able to provide support to her loved ones translates directly and exactly into 6 or 7 computer sales. Impressive, huh?

Ubuntu needs to replicate that effect.

I hate to say it, but the best thing that could ever happen to Ubuntu’s market share in the short term is that every cracked copy of Windows ceases to function tomorrow.

Few people will pay $200 for a start menu (or a dock) and facebook. Many will pay $0.99 to burn a CD-R for facebook – something that Ubuntu provides, like it or not.

Ubuntu Linux Sucks.