Thursday, September 20, 2018

How To Speed Up Ubuntu Linux: 12 Must Follow Tips

Ubuntu is very powerful and polished Debian based Linux distro. Though Ubuntu Desktop Performance is remarkably good and fast on modern laptop and desktop. But after few days of installing Ubuntu, you might have noticed, that your system gives a sluggish performance. This might have happened due to many reasons. Your system might have unmanaged startup application, unnecessary Compiz Effects and much more. Here I have listed 12 must follow small tweaks and tips, which definitely help you to speed up Ubuntu desktop performance. These tweaks will let you have a smoother and improved system performance to do your regular task. You can follow all of it or some of it, but that will incredibly give you a high performer and faster Ubuntu system.

Speed Up Ubuntu Linux: 12 Must-Follow Tips


You may find lots of tweaks and tips on how to speed up Ubuntu Desktop Performance on the internet. Some are safe and some are risky. Here I will be sharing only safe and stable tweaks. Because I believe that system stability and reliability is much more precious and important than gaining the speed.

1. Manage Startup Applications


After installing fresh Ubuntu, your system seems fast and smooth but over the time the users intend to install lots of applications. That startup applications take huge resource while the system boots up, and that makes the system slow and give poor performance. So at Ubuntu system, it’s better to manage startup application at the best level.

There are many application i.e Bluetooth manager, email client, remote client, visual assistant etc which might not be necessary during startup. So to reduce the startup application follow…

  • Gnome Application Drawer >> Search for Startup >>Add/Remove/Edit as you like
  • Unity Dash >> Search for Startup >>Add/Remove/Edit as you like

Manage Startup Application-wiredmahir.com

2. Install Preload


Preload is a handy tool that runs in the system background and having an artificial intelligence to understand the behavior of the system user. This how it loads the application very fast depending on how often the user is using the application. Follow the command from the Terminal to install preload in Ubuntu.

sudo apt-get install preload

3. “Lower” The Compiz Effects (Only For Unity Version)


To speed up Ubuntu system significantly, you must minimize the use of Compiz effect. There are many Compiz effects loaded by default, which makes the Ubuntu system slow. So try to disable some of the eye catchy Compiz effects to speed up your unity desktop on Ubuntu.

sudo apt-get install compizconfig-settings-manager

4. Create a Swap Partition


If you have less RAM on your machine, then you should make a swap partition during initial Ubuntu installation. Normally Swap partition is made double in according to your actual RAM. If you have 2 GB RAM then the Swap Partition will be 4 GB.

This partition will use your HDD as RAM to speed up application launching and background system process. Discard of making this Swap partition, if you have RAM more than 4 GB.

If you have forgotten to make Swap partition during Ubuntu installation then search online “how to make Swap partition after installing Ubuntu”. Definitely, You will be getting a lot of tutorials for making a swap partition.

5. Remove Undesired Search Results (Only For Unity Version)


Though by default Ubuntu does not include Lens, Scopes or Amazon online search but on the old version, it displays all into unity dash. So remove it from unity dash, follow…

System Setting >> Security & Privacy

Remove unwanted search result

Here you will find all the information about files, applications, search, diagnostics, and security. So do the change according to your preference. Moreover, if you have installed Ubuntu Tweak Tool, you will get much more control over your privacy settings.

Unity Dash >> Ubuntu Tweak Tool >> Search

6. Reduce the Default Grub Load Time


While booting up a laptop, the Grub shows the options of dual booting OS or recovery to choose. Normally a user gets 10 seconds time to choose. That means user have to wait up to 10 seconds or need to hit enter to get inside.

So it’s better to reduce the Grub load time, but remember don’t make it 0 seconds, then you will lose to select the OS from boot or recovery. Here how to do it.

Run the following command.

sudo gedit /etc/default/grub

Change GRUB_TIMEOUT=10 to GRUB_TIMEOUT=2. This will make the Grub load time to 2 seconds. After that to make the change effective, run the following command.

sudo update-grub

7. Choose the Best Mirror for Software Updates


If you have a slow internet connection then this procedure is required to select the best server for updating Ubuntu system.

Application Drawer >> Search for Software & Update >>Ubuntu Software Tab >>Select Best Server ( Download From Tab )

Best Mirror For Software Updates

This will start a test to find out which server is near to you so that it gets the update files faster into your system during a software update and upgrade. This will definitely speed up Ubuntu system with all new security bug fixes and install all the required missing drivers.

8. Reduce Overheating


Overheating problem is very common on laptops. This makes the laptop run slow and gives poor performance. There is a very effective tool in Ubuntu repository, which can help to cool down your system, and that will make the Ubuntu system smooth and faster. After installing TLP, you need not do any configuration rather just run the command.

sudo add-apt-repository ppa:linrunner/tlp
sudo apt-get update
sudo apt-get install tlp tlp-rdw
sudo tlp start

You can also Install Laptop Mode Tools which help to reduce power consumption by slow down Hard disk speed and kernel control. To install it run the following command…

sudo add-apt-repository ppa:ubuntuhandbook1/apps
sudo apt-get update
sudo apt-get install laptop-mode-tools

After installing get the GUI for further customization. Run the command…

gksu lmt-config-gui

9. Use apt-fast instead of apt-get


Apt-get is an obvious command while you go for any software installation or update your Ubuntu system. Here I would like to recommend you to use apt-fast instead apt-get, at least have a try, for a speedy update or downloading app packages simultaneously while using multiple connections. 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

10. Use a Lightweight Desktop Environment


Ubuntu comes preinstalled Gnome desktop environment which loads quite heavy onto the system. But you can always have a try to install another lightweight desktop environment ( like Xfce or LXDE) and see whether it can fulfill your requirements or not. I have a detailed tutorial on a various desktop environment for Ubuntu. You can check it sometimes.

11. Enable Proprietary Drivers


This step is a must to do if you want to play latest Ubuntu Games and do a high graphical designing task. All the modern Linux laptop and desktop comes with high processing performance and graphics card, so to get the best performances you should enable proprietary drivers. To install and see the availability of the proprietary drivers for your hardware, Applications Overview >>> Software & Updates >>> Additional Drivers >>> Install/Apply changes

12. Clean up Ubuntu


First of all, I like to focus on apt-get command. This command is the most powerful command in UNIX/Linux Terminal, which lets you do almost anything about software install, uninstall, Downloads etc. before doing anything, it makes a cache in your HDD consisting of all downloaded data. So it gets bigger and bigger after certain of time. This makes the system slow and sluggish. To remove all those caches from your system HDD, run the following command.

sudo apt-get clean

Don’t get worried. It does not delete any installed application from your system.

Now I will highlight the application “dependencies”. When an application is installed, other related small application also installed along with to have to full functionality. But if you uninstall the application that time the dependencies or small subsidiary application will not be removed.

So it creates junk files on the HDD and slows the system. To clean up all these unnecessary packages or unwanted “Dependencies” from the system, run the command.

sudo apt-get autoremove

Final Thought


All these above tips and tweaks are given based on Ubuntu latest version, but these tips also can be used in all other old versions of Ubuntu. Moreover, other Linux distros which are based on Ubuntu like elementary OS, Linux Mint etc can similarly apply these Speed Up Ubuntu tips and tweaks.

These tips and tweaks help you to maintain and speed up your Ubuntu desktop Performance significantly.

Speak Now


Do you have any tweaks that helped to speed up Ubuntu system? Did you like all the above tweaks? Do share your views, questions, and suggestion in the comment below.

Latest Post

Most Comprehensive List of Best Linux Monitoring Tools For SysAdmin

Most Comprehensive List of Linux Monitoring Tools For SysAdmin

There are many Linux Monitoring Tools available in the market including open source software, third-party solutions, and homemade scripts run via cron. Each has...
Best Linux Task Manager: Top 12 Reviewed For Linux Nerds

Best Linux Task Manager: Top 12 Reviewed For Linux Nerds

Linux Task Manager is one of the essential tools that help you to find out the details of resource usages (CPU/RAM) by any particular...
Top 15 Online Linux Terminal Emulators and Bash Editors

Top 15 Online Linux Terminal Emulators and Bash Editors

Online Linux Terminal or emulator is the best way to practice or learn Linux commands without having a full-fledged Linux subsystem. There are no...

TRENDING NOW

Liferea (Linux Feed Reader): A News Aggregator for Ubuntu Linux

Liferea (Linux Feed Reader): A News Aggregator for Ubuntu Linux

Liferea is a beautiful, simple to use and open source news aggregator and RSS client for Linux. You can easily keep track of various...
Most Popular Linux Distro : Explore Top 5 and Get The Best One For You

Most Popular Linux Distro: Explore Top 5 and Get The Best One

Linux has come a long way from a command line interface to intuitive and stunning graphical user interface. Today all the Linux distros come...
Ubuntu Gnome Shell Extensions Tab

How To Customize Ubuntu Gnome Shell Extensions

Gnome Shell Extensions is the best tool to customize your Linux. You will simply enhance the beauty of your Linux desktop with some awesome,...

Never Miss Any Linux News & Tutorials

Join Our Community Of Linux Lovers and Get a Monthly Newsletter in Your Inbox Directly.

7 COMMENTS

  1. “To clean up unnecessary packages or unwanted Dependencie: sudo apt-get autoremove”
    a bit confusing. I thought apt-get installs software. But it sounds like you’re saying this command executes the autoremove process.

    Do i have to run this command every time i install or remove a package? You didn’t say.
    thx

    • Hello Johny, thanks for the comment. Many a time, we install or remove various software, especially when we first install any Linux distros. This above-mentioned command, you should use to remove any unattended dependencies that remain into the system after uninstalling any specific software or a group of applications. Apparently, this command cleans up the system from any unwanted software dependencies.

  2. E: Unable to locate package apt-fast, means it does not work in Ubuntu 14.10, why?

    9. Use apt-fast instead of apt-get

    Apt-get is an obvious command while you go for any software installation or update your Ubuntu system. Here I would like to recommend you to use apt-fast instead apt-get, at least have a try, for a speedy update or downloading app packages simultaneously while using multiple connections. 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

    Fast and fustrating 🙂

    • Dear sir. All these tips mentioned here are not checked on Ubuntu 14.10 but on latest Ubuntu, it definitely works.

    • Oh, and I forgot to mention that the repository for the tlp does as well not work for the old version, so there is no way to cool down the desktopwhen Ubuntu 14.10 is instaed, but an external USB-fan.

      8. Reduce Overheating ???

      Overheating problem is very common on laptops. This makes the laptop run slow and gives poor performance. There is a very effective tool in Ubuntu repository, which can help to cool down your system, and that will make the Ubuntu system smooth and faster. After installing TLP, you need not do any configuration rather just run the command.

      sudo add-apt-repository ppa:linrunner/tlp
      sudo apt-get update
      sudo apt-get install tlp tlp-rdw
      sudo tlp start

  3. fans are not working and dell inspiron 7567 is HOT inspite of installing tlp. Nvidia drivers crash the system and i have to reinstall the OS when i try and use them, everything turns grey and the system locks up, the iphone won’t mount, can’t play overwatch because i couldn’t get wine to load. There is more I’m just back in win10 right now so the laptop is cool. This is really a pain in the neck to have to try this hard and make it work I want to run ubuntu I have never tried another desktop I love compiz and emerald which on the upside are working im tired or reinstalling. I’m sick of the snarky answers they post on Ubuntu forums and just googling endlessly. Any suggestgions?

LEAVE A REPLY

Please enter your comment!
Please enter your name here

You May Like It!