10 Killer & Useful Tricks To Speed Up Your Ubuntu Linux
1.Reduce the default grub load time:
The grub gives you 10 seconds to change between dual boot OS or to go in recovery etc. To me, it’s too much. It also means you will have to sit beside your computer and press the enter key to boot into Ubuntu as soon as possible. A little time taking, ain’t it? The first trick would be to change this boot time.
For the rest of us, you can simply use the following command to open grub configuration:
sudo gedit /etc/default/grub &
And change GRUB_TIMEOUT=10 to GRUB_TIMEOUT=2. This will change the boot time to 2 seconds. Prefer not to put 0 here as you will lose the privilege to change between OS and recovery options. Once you have changed the grub configuration, update grub to make the change count:
2.Use a lightweight desktop environment :
Instead of Using Gnome or KDE environment you can use lightweight desktop environment like Xfce OR LXDE
These desktop environments use less RAM and consume less CPU. They also come with their own set of lightweight applications that further helps in running Ubuntu faster.
3. Reduce overheating :
Overheating is common problem in computer these days. An overheated computer run quite slow. There are two tools which you can use to reduce overheating and thus get a better system performance in Ubuntu. TLP and CPUFREQ.
How to install TLP ?
sudo add-apt-repository ppa:linrunner/tlp sudo apt-get update sudo apt-get install tlp tlp-rdw sudo tlp start
How to install CPUFREQ ?
sudo apt-get install indicator-cpufreq
Restart your computer and use the Powersave mode in it.
4.Choose the best mirror for software updates :
Ubuntu software repository are mirrored across the globe and it is quite advisable to use the one which is nearest to you. This will result in a quicker system update as it reduces the time to get the packages from the server.
In Software & Updates->Ubuntu Software tab->Download From choose Other and thereafter click on Select Best Server:
5.Use apt-fast instead of apt-get for a speedy update :
apt-fast is a shell script wrapper for “apt-get” that improves updated and package download speed by downloading packages from multiple connections simultaneously. If you frequently use terminal and apt-get to install and update the packages, you may want to give apt-fast a try. Install apt-fast via official PPA using the following commands
sudo add-apt-repository ppa:apt-fast/stable sudo apt-get update sudo apt-get install apt-fast
6. Install preload to speed up application load time :
Preload run in the background and analyses user behaviour and frequently run applications. Open a terminal and use the following command to install preload:
sudo apt-get install preload
After installing it, restart your computer and forget about it. It will be working in the background.
7.Tweak LibreOffice to make it faster :
If you are a frequent user of office product, then you may want to tweak the default LibreOffice a bit to make it faster. You will be tweaking memory option here. Open LibreOffice and go to Tools->Options. In there, choose Memory from the left sidebar and enable Systray Quickstarter along with increasing memory allocation.
8.Use lighter alternatives for different applications :
You can use lighter alternatives applications instead of heavy applications. For example, use Appgrid instead of Ubuntu Software Canter. Use Gdebi to install packages. Use AbiWord instead of LibreOffice Writer etc.
9.Remove language related ign from apt-get update:
Have you ever noticed the output of sudo apt-get update? There are three kinds of lines in it, hit, ign and get. You can read their meaning here. If you look at IGN lines, you will find that most of them are related to language translation. If you use all the applications, packages in English, there is absolutely no need for a translation of package database from English to English.
If you suppress this language related updates from apt-get, it will slightly increase the apt-get update speed. To do that, open the following file:
sudo gedit /etc/apt/apt.conf.d/00aptitude
And add the following line at the end of this file:
10.Manage startup applications:
Some apps are started at each startup and of course resources will be busy in running these applications. Result: a slow computer for a significant time duration at each boot. Go in Unity Dash and look for Startup Applications:
In here, look at what applications are loaded at startup. Now think if there are any applications which you don’t require to be started up every time you boot in to Ubuntu. Feel free to remove them:
But what if you don’t want to remove the applications from startup? For example, if you installed one of the best indicator applets for Ubuntu, you will want them to be started automatically at each boot.
What you can do here is to delay some the start of some of the programs. This way you will free up the resource at boot time and your applications will be started automatically, after some time. In the previous picture click on Edit and change the run command with a sleep option.
For example, if you want to delay the running of Dropbox indicator for let’s say 20 seconds, you just need to add a command like this in the existing command: