Saturday, 27 March 2010

Updating Twitter and Facebook via Identi.ca and Mustard

Just a quick tip:


You can use Mustard (an Android identi.ca application) to post to identi.ca, Twitter and Facebook.
Just connect identi.ca to Twitter and add the identi.ca app to Facebook.

https://identi.ca/settings/twitter
http://apps.facebook.com/identica/

Saturday, 20 March 2010

Google Chrome in Ubuntu 10.04 Lucid

This is how you can integrate Google Chrome into Ubuntu's new Theme for 10.04 Lucid


The options you need are shown below


Sunday, 14 March 2010

Installing MediaTomb on Ubuntu 9.10 for PS3 Streaming

MediaTomb is an open source (GPL) UPnP MediaServer MediaTomb.cc

You can use MediaTomb to stream videos, music and pictures to any UPnP compatible device like the PS3. This guide is for Ubuntu 9.10 Karmic

First install MediaTomb

sudo apt-get install mediatomb

This should start the mediatomb daemon as a service, if not start via:

sudo /etc/init.d/mediatomb start

Find out what port its using

cat /var/log/mediatomb.log | grep http
2010-03-14 14:37:21 INFO: http://192.168.0.34:49152/

Visit that url in your favourite web browser to add content to the database

PS3 modifications

To add PS3 support you need to edit the config.xml file located at /etc/mediatomb/config.xml

sudo nano -w /etc/mediatomb/config.xml

You need to change

<protocolInfo extend="yes"/><!-- For PS3 support change to "yes" -->

To

<protocolInfo extend="yes"/><!-- For PS3 support change to "yes" -->

And to add avi, mp4 and vob support you need to add the lines below

<!-- Uncomment the line below for PS3 divx support -->
<map from="avi" to="video/divx"/>
<map from="mpg" to="video/mpeg"/>
<map from="vob" to="video/mpeg"/>
<map from="mp4" to="video/mp4"/>
<map from="m4v" to="video/mp4"/>
<map from="m4a" to="audio/mp4"/>

Restart Mediatomb

sudo /etc/init.d/mediatomb restart

Firewall, if you are running ufw then you need to do this to allow mediatomb

sudo ufw allow 1900/tcp
sudo ufw allow 1900/udp
sudo ufw allow 49152/tcp
sudo ufw allow 49152/udp

MediaTomb should automatically show up in the PS3 menu and you can stream content, note that the PS3 only supports .avi, .mp4/m4v, .mpg/.vob formats, no .mkv or ogg.

Saturday, 17 October 2009

Tethering your Android phone with Ubuntu 9.10

There are several ways to tether your Android mobile phone, but most require root access to your phone. This is a simple and unobtrusive way to tether, and should work with Linux, Mac and Windows.

Install the Proxoid Android application for the marketplace. Below is a QR code for Proxoid

Download and extract the latest Linux Android SDK from http://developer.android.com/sdk/

Once downloaded extract the archive

tar -xvzf android-sdk-linux_x86-*.tgz

Enable USB debugging on your Phone via Settings > Applications > Development

Connect your Android phone via USB, start the Proxoid application and tick the start box

Forward the ports on your Ubuntu PC

android-sdk-linux_x86-*/tools/adb forward tcp:8080 tcp:8080

Setup your desktop environment to use the new proxy. In Gnome you can setup a New Location in System > Preferences > Network Proxy

Make sure Firefox and any other application you wish to use is using the system wide gnome proxy settings

To disable all you need to do is switch back the proxy settings

Wednesday, 23 September 2009

GWT on 64Bit Ubuntu Karmic 9.10

Lately I've been testing Ubuntu Karmic 9.10 64Bit due out next month, when I came across an annoying bug with Google Web toolkit's hosted mode.

libstdc++.so.5 cannot open shared object file no such file or directory

After searching around it seems the libstdc++5 package has been removed in Karmic.
If you are running 32Bit Karmic you can download and install the version from Jaunty libstdc++5

If your running 64Bit Karmic then you need the ia32-libs package, it contains alot more than libstdc++5 so I just extracted libstdc++.so.5.0.7 from the package and copied it to /usr/lib32/ and created a link to /usr/lib32/libstdc++.so.5