The A6J is very dated now and weighing in at 2.85kg, its not very portable by today's standard (considering my Toshiba Portege weighs just 1.13kg).
A couple of years after I bought it, I got sick of carrying it around, so I bought an Asus EeePc as a replacement for uni, so the A6J stayed at home and was rarely used - it was just a spare for a long time.
Up until recently, I was using I used it as a (stationary) desktop replacement at work but I now have a new job where I am provided a Macbook Pro so this old machine is now spare once again. This with the recent release of XBMC 11 Eden, I thought I may as well re-purpose it as a permanent HTPC.
I considered quite a few options, such as running Arch Linux, OpenElec or Ubuntu with XBMC installed, or going with the recently improved XBMCbuntu (formerly known as XBMC Live).
XBMCbuntu
I downloaded the iso and had a bit of a play. I love how it boots directly into XBMC without the need to startup Unity or anything like that, although it does let you exit to the login screen and select either "XBMCbuntu" (LXDE) or "OpenBox" which is nice.Once it had booted, it behaved so slow! I figured it mustn't have the correct drivers installed, so I tried to use the restricted drivers from the repo and after hitting quite a few problems I consulted the AMD site.
The AMD site explains that my ATI X1600 is now "legacy" and is supported by the ATI Catalyst 9.3 proprietary linux driver.
So I downloaded that and yet again hit a bunch of other issues.
I spent a fair portion of the day battling with this and couldn't help but think back to how easy Ubuntu Desktop handled all this, so I thought I'd just give that another go.
Ubuntu Desktop + XBMC
I downloaded the Ubuntu 11.10 iso and installed that over the top of XBMCbuntu and configured the user account as 'xbmc' and to automatically login at startup.I then followed the instructions to install XBMC from their PPA. I did a quick update, installed SSH, reconfigured grub to auto-boot in 1 second (instead of 10) and rebooted the machine.
When I launched XBMC, it was perfect! It was very snappy and there was no lag whatsoever.
I noticed that the power menu was missing the shutdown options that were in XBMCbuntu and that the suspend option did not work.
After a bit if research, I found a wiki page that explains how to modify policykit to allow xbmc access to all the power functions.
With this change, shutdown, suspend and hibernate were all working great.
I had already configured Wake-On-Lan in the past, so all that I needed to do was setup the Android XBMC remote app on my phone. After configuring the app with the laptops IP address, MAC address, etc. I was now able to use the "Turn your XBMC's Power On" button from the mobile app to fire up the laptop.
Of course to actually allow control of XBMC I needed to go into the settings screen and enable control via HTTP, etc.
So now I can power up the laptop and shut it down from my phone, but when it boots, I am brought into a Unity environment. In the past I would add XBMC to the startup applications, but with XBMC Eden, there is a better way.
XBMC Eden adds it self to the choice of desktop environments from the login screen (in other words, you get a choice: Unity or straight into XBMC like the live cd).
Unfortunately it doesn't remember the last choice with XBMC, so if I boot straight into it and then shut it down, next time it will still automatically boot in to Unity.
I then came across an Ubuntu community page that pointed in the direction the the LightDM config file. (LightDM is the thing that manages the login screen).
I opened '/etc/lightdm/lightdm.conf' and saw this line:
user-session=ubuntu
I replaced the 'ubuntu' part of this line with 'XBMC', rebooted and low and behold, it booted straight into XBMC!
I now have a fully functional HTPC that I can completely control from my phone.
The only things left to do now are configure my media sources, install some plugins and maybe play with some new skins.
3 comments:
I have installed Ubuntu on my OS and it really works great. NO i am planning to do the same with my Notebook.
notebook reviews
Very useful post, Steven.
Are you able to use your phone as a mouse and keyboard outside the XBMC GUI too?
I have XBMCbuntu 11 installed on my HTPC, which I control through my android phone over HTTP. The problem I'm facing is that if I ever want to get out of XBMC and go into the OS, the HTTP server that was accepting commands from my phone, stops working, and I'm left without an input device. :-(
(I don't have a keyboard or mouse connected to the HTPC.)
Do you have any suggestions that I could try?
Hi Ozair, thanks for the feedback!
I know what you mean, there are a couple of things that would work, but I'll admit, they are not perfect solutions. I guess it also depends on why you want to leave the XBMC UI too.
If you enable/install the VNC server on your HTPC, there are a number of free VNC clients for android, you'd just have to pick the one that you like the best. I've used PocketCloud in the past because it supports RDP too, and it was pretty good.
This can be a little difficult from a phone screen, but it does work ok, especially on a LAN.
If the reason for leaving XBMC is to launch something like VLC (maybe because a particular media type isn't supported by XBMC) there are some VLC remote control apps for android, but I haven't really experimented with them yet.
If you want to copy files, kick off a download or something like that, the most common thing I do is use ConnectBot for android to SSH onto it. I find typing on a phone is pretty easy compared to navigating a UI from a phone for console related tasks like cp, wget, etc.
There are also a number of official and unofficial add-ons and "programs" for XBMC to do non-standard things, like games, etc. which I would like to play with one day.
Hope that helps, I'd be interested to know what you end up using :) Cheers
Post a Comment