What is GRUB?
GRUB is a bootloader, it is the first thing that loads when the computer starts. It allows you to have different operating systems, and versions of them, on the same or different hard drives. GRUB offers various boot options. Timeout is one of GRUB's options which allows you to set a delay in seconds to select an item from menu. The default value of this option is 10 seconds. However, you can reduce this value if you want to have a shorter delay.
How to do
Step 1: Backup your Grub boot menusudo cp /boot/grub/menu.lst /boot/grub/menu_backup.lst
Step2: Open your Grub boot menusudo gedit /boot/grub/menu.lst
Step 3: Search for "timeout"
Use hotkeys Ctr+F and enter string "timeout', then click "Find" button to find out
Step 4: Change the value of timeout to 2timeout 2
Step 5: Save the file and restart Ubuntu to see the effect
Change Ubuntu's background color automatically
11:52 AM | Customising, Programming, Ubuntu Feisty | 1 comments »In Ubuntu Linux, the background color does not need to be a static color. That means you can write a script to change it automatically each a period of time. In this script, you can see that the background color will be changed each 10 seconds. I have set parameters for colors to change the background color from dark to light each round. If you want to see effect immediately, you can set this value to 1/2 (haft second).
Step 1: Copy this codes to a new file named chbgcl.pl
#!/usr/bin/perl
my $path = "/desktop/gnome/background/primary_color";
my $R, $G, $B; # Red, Green, Blue colors
while ( 1 )
{
# scale up to the range 0-255, but cap it at 255
$R = ($R + 1) % 255;
$G = ($G + 1) % 255;
$B = ($B + 1) % 255;
# convert to hex and set color
$color = sprintf "%02X%02X%02X",$R,$G,$B;
system("gconftool-2 -t str --set $path '#$color'");
sleep 10;
}
done
Step 2: Run the script
perl chbgcl.pl
You can set other values to variables $R, $G, $B to have other effects. Please share your results with everybody here.
What is the Problem with Microphone?
6:13 PM | Multimedia - Video, Troubleshooting, Ubuntu Feisty | 0 comments »
Today, I want to have a voice chat with my honey. What happen? After the connection connected, she asked me "Do you hear me, honey?" and "I hear you well, how about you?" I said ... but no signal to confirm that she received this words and then again ..."Do you hear me, honey?". It is so funny to know that I have the problem with using microphone. The speaker is good, but probably my microphone doesn't work. I try to find out how to fix this problem and finally this is a solution which I applied.
Open a new terminal and configure alsamixer application as following instructions:
- sudo alsamixer
- Unmute all the outputs by hitting “m”
- Hit tab to go the capture settings
- Highlight the “Mic” setting using the arrow keys
- Hit space to enable the microphone
- Highlight the “Capture” setting using the arrow keys
- Hit space to enable capture
- Hit escape
Read more!
Can't you read messages from Windows friends? Can't you read some websites on the Internet? You are surely missing true type fonts which are often used as the default fonts for someone or websites on the Internet.This post will talk to you how to install Microsoft’s core font package on your Ubuntu system. Run this command in your terminal:
sudo apt-get install msttcorefontsRead more!
Install Codecs for your Feisty
10:29 PM | How to, Installation, Multimedia - Video, Ubuntu Feisty | 0 comments »What I would like to share with you today is how to install packages to play most common multimedia formats, including MP3, DVD, Flash, Quicktime, WMA and WMV, including both standalone files and content embedded in web pages. It is simple by using the following command.
sudo apt-get install gstreamer0.10-pitfdll gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse gxine libxine-main1 libxine-extracodecs ogle ogle-gui libcurl3-gnutls liboggflac3
I think what you should do in next step for your Ubuntu box is that install Microsoft true type fonts. Read more!
How do I start writing for this bog? Just only one word ”Ubuntu”. I have installed the lastest version of Ubuntu, one of the most successful Linux distributions, on my old laptop. It is not difficult to setup this operating system. You can also do that by dowloading Ubuntu and read this guide to know how to setup Ubuntu 7.04 step by step.
The best thing I like is that I can play with LiveCD which is built to run only off the CD without needing to be installed, before I have a full installation. This is a good tool to know what are new features supported from the operating system. Moreover, it is also used to test hardware on your laptop. I have never seen this feature in Windows.
Great! It works well and now is the time to learn Linux.
Thanks Ubuntu team!