Ubuntu Hardy Heron Tue, 29th Apr 2008
So the final release of hardy heron has finally been released. I did a clean install on my macbook from the yesterday and it went v smoothly. Infact i started the process from the cd at 14:10 and after just 15 minutes i booted back into my desktop at 14:25, which was pretty sweet, and a vast improvement over Gutsy.
Problems
Not many problems to report really, and far fewer problems over Gutsy and Hardy RC1. The one big thing seems to be the sound, no sound through the headphone jack is fixed by unmuting surround in the volume preferences. One more sound problem i am having is that Firefox occasionally has no sound, for now i am just logging out and in again which seems to fix the problem, i am not sure as to whether this problem is in Firefox beta 3, or in hardy heron..
Hardy Heron First impressions Sat, 19th Apr 2008
Just upgraded my macbook from Gutsy Gibbon to Hardy Heron RC1. The process was very neat, I just followed these instructions, the upgrade took about 1hr, and was not completely unmanned (i had to confirm a few things), but near enough.
Problems
- Once finished my system didnt have any sound, but after a short google search i found the solution to the problem is to open your volume control, go to preferences, and unmute the surround sound.
- Also a couple of plugins dont work in firefox 3, most importantly for me is the del.icio.us bookmark plugin, but im sure that will be updated soon.
First impressions
Everything else seems to be working as well, and in most cases better than Gutsy. The new Gnome is snappier and a tiny bit more polished, nice and subtle changes to the GUI (nothing too flashy, unless you want it that way). Ive turned on the new uncomplicated firewall which is a nice frontend CLI to iptables.
Thats it for now, ill probably write a few posts about pulseAudio and the new VNC client when ive had a play with them
k610i Phone book and Calendar backup in ubuntu Thu, 10th Apr 2008
Since switching to ubuntu ive been trying to find the best way to backup my phone book and calendar in Ubuntu. Ive tried various software sync solutions and none really worked the way i needed them to. Then i found obex, and through this post i found out a bit more Sony Ericsson specific information.
The tools
you will need to install obexftp to transfer files to and from your mobile.
sudo apt-get install obexftp
also i use the USB cable that came with my phone, but i will also show you how to use bluetooth if you dont have the cable, or just prefer wireless
backing up address book and calendar
Your address book and calendar are located at telecom/pb.vcf and telecom/cal.vcs respectivly this page is useful for finding out where various files are. so to backup these files open up a terminal window and enter the following
cd ~/Desktop;
sudo obexftp -v -u 0 -U synch -S -g telecom/cal.vcs;
sudo obexftp -v -u 0 -U synch -S -g telecom/pb.vcf;
the above method assumes you have your phone plugged in via USB, however if you wish to use bluetooth, enter the following, replacing PHONE_NAME with your phone's bluetooth name
cd ~/Desktop;
sudo obexftp -v -b PHONE_NAME -U synch -S -g telecom/cal.vcs;
sudo obexftp -v -b PHONE_NAME -U synch -S -g telecom/pb.vcf;
So whichever method you used you should now have 2 files on your desktop which you can backup to an external device.
Exploring your phone
So, i also wanted to backup all my photos from my phone, but first i needed to find out where they are. using obex you can list directory structures like this:
sudo obexftp -u 0 -l /
This will list the root directory of your phone, obex returns an xml file of the directory structure. using the same method i listed my Memory Stick which showed up when i listed the root directory.
sudo obexftp -u 0 -l /Memory Stick/
The name of your storage device may vary so check your xml listing and replace Memory Stick if necessary. I searched around and found my photos where at /Memory Stick/DCIM/100MSDCF/
Backing up multiple files
To backup photos taken with my phone's camera requires a bit more effort. When you ask for a directory listing through obex it returns an xml file with all the files in the current directory. When you want to download files you can only do it one at a time, so using the file list given by the xml i used grep sed and awk to make a nice list of files, then xargs to loop through the list and transfer all the files:
cd ~/Pictures;
sudo obexftp -u 0 -l /Memory Stick/DCIM/100MSDCF/ | grep "file name" | awk '{print $2}' | sed -e 's/name="//g;s/"$//g' | xargs sudo obexftp -u 0 -g /Memory Stick/DCIM/100MSDCF/{}
And so now i have my phone book, calendar and photos backed up to my computer.
Downloading flv videos on ubuntu and osx Sun, 06th Apr 2008
Ok so i like watching flash videos online, but dont like it when they get removed or the fullscreen button doesnt work. So i did a bit of investigation and discovered this website. He has some good explanations of packet sniffing with wireshark and howto use wget, you dont really need to read these but i suggest you do as it will give you better understanding of what your doing!
The tools
So before we begin i am running Linux (Ubuntu Gutsy) but it should work on all linux and Mac OSX. You will need to download a couple of programs:
- tshark - required for capturing the packets.
- curl - this is required for downloading some urls that wget doesnt work with.
- this shell script - this parses the packets you capture and downloads the flv files. You can download this to any location, but for this example we will assume you have it on your desktop.
on ubuntu to install curl and tshark type in the following commands sudo apt-get install curl sudo apt-get install tshark
The Method
- Grab a beer
- open a terminal window
-
enter the command
sudo tshark -i eth0 > ~/Desktop/packets.txtand enter your password - when tshark starts capturing visit this video on veoh (or any video you like)
- When the video starts playing you can close your browser window (repeat step 3 and 4 as many times as you wish)
- Switch to terminal and type Ctrl+c to stop tshark
-
In terminal run the parseflv.sh shell script you downloaded earlier
sh ~/Desktop/parseflv.sh ~/Desktop/downloads/ domo - Your video should start downloading to the folder you specified in the shell script
Explanation
- First we open a terminal window and start tshark capturing packets on eth0 which is your ethernet port, if you are using wifi, or this doesnt capture any packets then you can type ifconfig to find out what the name of your device is. (my wifi is wifi0 so try that)
- you need to be root to use tshark and see all your network interfaces, so you need to use sudo and enter your password
- You can visit any video, ive found that all the videos on veoh and dailymotion work well, and all the links on sidereel seem to work fine. Youtube and Google videos dont work with this method at the moment (i assume they have some super stealth swf mechanism for fetching their flvs).
- You can repeat steps 3 & 4 as many times as you like, eg to download a full series
- The parseflv script takes 2 arguments, the first is the folder you want to download the flv's to, and the second is the prefix you wish to give these files. The script adds a counter to all your videos, so if you have the prefix S01E0 then your videos will be downloaded as S01E01, S01E02, S01E03 etc. Also the packets.txt and downloads.txt files are copied to your download directory for error checking.
At the moment this method is still a bit fiddly, a bit buggy, doesnt work on all sites and requires more actions than i would like, but for now it works well enough (i havent found a video on sidereel that it doesnt work on. I am planning to write this into a python application which will work on all platforms and just be a few button clicks.
Posted in : geekcore
Site Update Fri, 21st Mar 2008
Posted in : geekcore
Booze + bazaar == WIN Fri, 07th Mar 2008
Posted in : geekcore
Ubuntu: More ninja, less frills Fri, 07th Mar 2008
Posted in : geekcore
Site Update Fri, 21st Dec 2007
Posted in : geekcore
Mo hard drives mo problems Wed, 19th Dec 2007
Posted in : geekcore
Site Update Fri, 14th Dec 2007
Posted in : geekcore
How to Change Mplayer Network Cache Size Mon, 19th Nov 2007
- Go to Mplayer preferences
- Click on the miscellaneous tab
- In the advanced settings check the additional parameters box
- Enter -cache x where x is your desired cache size in kb (so -cache 50000 would change your cache size to 50mb)
After restarting Mplayer your cache size will now be larger, the initial load time takes a bit longer but the video no longer stutters.
iTunes Folder Sync Script Update Tue, 03rd Jul 2007
Posted in : geekcore
keeping iTunes in sync with a single folder Wed, 27th Jun 2007
Posted in : geekcore
RAMtastic! Wed, 27th Jun 2007
Posted in : geekcore
11633 tunes + beefy network update Sat, 23rd Jun 2007
Posted in : geekcore
beefy network with smoothwall Fri, 08th Jun 2007
Posted in : geekcore
Sections
- 65 days of static
- Album cover
- Amsterdam
- Atypi
- Baf
- Book
- Bw100
- Cage
- Calendar
- Camera phone
- Collage
- Computer arts
- Ds
- Experimental
- Forbidden corner
- France
- Geekcore
- Gig
- Glade2007
- Hong kong
- Illustration
- In progress
- Ink
- K610i
- Larosa
- Leeds festival
- Linux
- London
- Magazine
- Mplayer
- Nightmares on wax
- Paint range
- Painting
- Pharcyde
- Photo
- Poland
- Poster
- Pushbike army
- Python
- Sketch
- Spain
- Typography
- Ubuntu
- Wacom
- Xbox360
Archives
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- May 2006
- April 2006

Build33
Contact Me

