Ubuntu and Android SDK November 21st, 2009
If you are trying to install the latest (revision 3 at the time of this writing) SDK for Android in Ubuntu you may run into issues where the mouse may not be working or you can't install any packages.
You will get errors like "FAILED to fetch url https//..." plus a suggestion to force "http" in the settings.
But you can't get the settings to be saved!
It seems this is a known problem with GTK, so this one liner in the command line solved the problems for me and allowed me to save options when running the SDK:
export GDK_NATIVE_WINDOWS=true
Run the SDK again and you should be good to download and install the packages you need.
I was using Ubuntu 9.10 64-bits, but you should encounter the same issue if you are running 32-bits or other older version of Ubuntu.
Intel graphics fix 9.04 May 27th, 2009
This is the card I have:
Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
But since early stages of Jaunty I have not been able to use Compiz or any of the extra effects I was used to in Ubuntu 8.10
A bug (if you want some extra information) has been filed in Launchapd with number: 259385
But the bug above states a problem when installing. If you already have this installed you only need to comment out two lines in /usr/bin/compiz:
#T="$T 8086:2982 8086:2992 8086:29a2 8086:2a02 8086:2a12" # intel 965
#T="$T 8086:2a02 " # Intel GM965
After this you should immediately be able to enable extra effects.
Alternative to Network Manager May 17th, 2009
Let me rant once before anything else: "Network Manager SUCKS!"
After thinking that I may be having problem with my network speeds, or maybe a faulty wireless card, I tried WICD.
It absolutely ROCKS.
Before you needed to edit your sources.list to add a line for a repository but not anymore with Ubuntu 9.04. Just do:
sudo apt-get install wicd
And you are set.
But beware!: This will remove network-manager and restart your network connection.
You will find an entry in Applications => Internet => WICD T start configuring your connections.
Works like a charm, hope you find it as good as I do.
Liten2 find duplicate files April 21st, 2009
I have just finished creating a command line tool to find duplicates in your file system and generate a report to list the files or enter an interactive session to select what files to delete.
It uses the powerful sha-224 to create checksums of the files and then groups the same files together so you can choose what to delete and what to keep.
This is probably not Ubuntu specific but since I use it with my Ubuntu Desktops and servers, I thought it was a good idea to post it here.
To download the latest version, and get the documentation go to Google Code:
Amarok 2 and MySQL 5.1 March 15th, 2009
In the first few releases of Jaunty (Ubuntu 9.04) Amarok has had issues trying load correctly with MySQL. This since has been resolved and if you are running the latest releases for 9.04 you should be fine.
However, if you have any MP3 files you will not be able to play them and Amarok will not tell you why except for a:
"Playback stopped"
or
"Could not build filelist"
That will come up only if you Amarok via command line.
The issue?
MP3 support of course.
At the command line:
sudo apt-get install libxine1-ffmpeg
Restart Amarok and you are good to go.
Secure browsing in a public network March 3rd, 2009
Every now and then I go to a public place and connect to the network to start my browsing.
This was ok until I found a way to encrypt my connection via SSH and Firefox.
Open a terminal and type the command:
ssh -D 9999 localhost
This basically creates a SOCKS Proxy that you will use with firefox to browse safely.
On Firefox, go to:
Edit => Preferences => Advanced => Network (tab) => Settings
Select the "Manual Proxy configuration" and fill the "SOCKS Host" with these values:
localhost 9999
Click OK and test. If you can't see any websites then you are probably missing a step. Remember to keep that terminal window open while you use the SOCKS Proxy. The connection will be lost if you close the terminal window.
Happy safe browsing!
We are on App Engine! February 6th, 2009
It seems a little rough now, but we are now running on App Engine.
All the posts and comments where imported but without line breaks...
Oh Well..
Small price to pay to get away from PHP based hosting.