Monthly Archives: November 2010

Linux bootup performance Graph !

Bootchart is the great tool to graph the system bootup performance. As its name suggests, this creates charts displaying exactly what starts during boot-up, and the time it takes. Once installed by Synaptic (search for the bootchart package), it runs as a background service and no configuration is necessary. After each boot you’ll find the chart it has generated in the /var/log/bootchart/ directory to view it, just precede its filename at the command-line with eog or browse to it using Nautilus and double-click it.
The chart shows the total time taken to boot along the vertical axis, and beneath this shows the time taken by each of the startup services to complete. See an example taken from my test computer.
Bootlog Graph
Remember that programs such as Bootchart that log boot-up speeds can themselves impact performance. When you’ve finished with it, be sure to use Synaptic to remove the package.

Have Cow or Ubuntu speak to you ?

With this in mind, use Synaptic to search for and install cowsay. Once it’s installed, open a terminal and type the following:
$ cowsay “Ubuntu Kung Fu”


Cow Says ….
You can have the cow say a single word or an entire phrase. Cows aren’t the only things that can talk. If you look in /usr/share/cowsay/cows/, you’ll find other models that can be made to talk. Just specify the model using the -f command option (without the .cow extension). For example, to have Tux (the Linux mascot) appear instead, type the following:
$ cowsay -f tux “Ubuntu Kung Fu”
For a little fun, add one of these commands to the end of your .bashrc file (to edit the file, type gedit ~/.bashrc). Then you’ll see it every time you open a terminal window or log in at a virtual console.
You could even use this command to have your quotation of the day come out of the mouth of a cow. Just add the following line to your .bashrc line (adding any cowsay command options you wish after the command)
Ubuntu includes a built-in speech synthesizer called espeak. It’s there to work in partnership with the Orca screen reader, which provides support for those who are partially-sighted but it can also be called from the command-line, as follows
$ espeak “Ubuntu Kung Fu”

Install Windows on a computer that has Ubuntu on it !

The Ubuntu installer is fully capable of squeezing Ubuntu onto a computer that has Windows on it. What about the other way around? What if Ubuntu is the only operating system that’s installed and you want to install Windows alongside?
Here’s how it’s done—these steps tell you how to make space for Windows, install it, and then repair the boot loader so that Ubuntu can once again boot:
Boot from your Ubuntu installation CD/DVD and select the Try Ubuntu… option from the Ubuntu installer boot menu. Once Ubuntu is up and running click System → Administration → Partition Editor. This will start the Gparted partitioning tool. Right-click the Ubuntu partition (it will be the largest in Gparted’s display) and click Resize/Move. In the dialog that appears, click and drag the right-hand edge of the partition so that the Ubuntu partition shrinks to make space for Windows. About 3-4GB should be enough, depending on your needs. Click the Resize/Move button. Then click the Apply button in the main Gparted window. Once resizing is complete, you should see that Gparted now indicates an “unallocated” area to the middle-to-right of the disk display, similar to that shown in Figure

Optimize Ubuntu’s performance

Ubuntu Linux

If you’re using Ubuntu on an older computer, you might find that performance is not what you’d like. The best solution is always to expand the system if possible, and more memory will make the biggest difference. However, if that’s not possible then you might want to try relinking. This makes for faster program start times by linking library files and executable for better memory usage. However, it doesn’t work with all programs and larger programs in particular seem to benefit most. In fact, you may not see much improvement and a handful of users have even  reported that some applications won’t start after prelinking. However, it’s trivial to remove prelinking, so you might as well give it a try.

Continue reading Optimize Ubuntu’s performance

A Great utility Gnome Thumbnail Font !

Gnome-thumbnail-font is a great utility if you want to quickly create text banners as a image file, perhaps for use on websites or presentations, you can use GNOME’s font preview tool. It isn’t really designed for this but appropriation of existing commands is the beauty of Linux!
You need to specify the text, plus which font to use (including its full path), and the output filename. The following will create a banner saying ‘Ubuntu 10.04’ using the Ubuntu font contained within my Linux/Windows partition, outputting a file called banner.png