Everything You Need To Know About Tech

10 Tips to Speed up ​​Ubuntu Linux

0 291

Do you know the feeling when after some time Ubuntu starts to slow down? In this article we have collected ten small tips that will help, if not to return the former speed, then at least just to make the system work faster. The tips described here may well work on other Linux distributions based on Ubuntu, like Linux Mint, Elementary OS, etc.

1. Reduce the standard GRUB boot time.

By default, GRUB gives 10 seconds to select one of several operating systems, enter recovery mode, etc., which is quite long. In addition, you will have to sit in front of your computer and press enter to load Ubuntu as quickly as possible. A little time consuming, right? A reasonable solution would be to reduce this time. First open the GRUB configuration:

$ sudo nano /etc/default/grub

And change  GRUB_TIMEOUT=10to  GRUB_TIMEOUT=2. Now the download time is reduced to 2 seconds. Why do we put 2, not 0? In the latter case, we will lose the opportunity to choose another OS or enter recovery mode.

To apply changes, use this command:

$ sudo update-grub

2. Set autorun applications

Sooner or later you start installing applications. Some of them run every time the system boots, which takes a lot of resources. As a result, the full load of the system takes more and more time. To fix this, look in the search for “Auto-running applications”:

Here you will see a list of applications that run when the system boots. Consider that you do not need to run from this every time and safely remove it from autorun:

But what if you don’t want to delete anything? In this case, you can delay the launch of the application. Thus, more resources will be available for booting the system, and the applications themselves will start some time later.

To do this, select the required application in the same list, click “Edit” and in the “Team” field add the command at the beginning sleep <right time in seconds>;. For example, if you write sleep 20;, the application will start with a 20-second delay.

3. Install preload to speed up application launch.

Preload is a daemon that analyzes user behavior and frequently launched applications. To install it, open a terminal and enter the following command:

$ sudo apt install preload

After installation, restart the computer and you can forget about the daemon, as it will work in the background.

4. Choose the best mirror for updates.

It would not be superfluous to make sure that you use the best mirror for updates. The mirrors of the Ubuntu repository are scattered around the world, so it is highly advisable to use the one closest to you. This will speed up the system update, because it will take less time to receive packets from the server.

In the search, find “Programs and updates.” Open the “Ubuntu Software” tab and under “Download from …” select “Other …”. A new window will open in which you need to click “Select the best server” to find the best option.

As a rule, the best mirror is by default, however, as we said earlier, it would not be superfluous to check whether this is so. It may also lead to a delay in receiving updates, if the nearest mirror is infrequently updated. This can be useful for people with a slow Internet connection.

Related Posts
1 of 26

5. Use apt-fast instead of apt for a quick update.

apt-fast is a shell for apt that increases the speed of loading packages using multiple connections. If you often use the terminal and apt for updates, then you should try apt-fast. You can install it as follows:

$ sudo add-apt-repository ppa:apt-fast/stable
$ sudo apt update
$ sudo apt install apt-fast

6. Remove language updates from apt update:

Ever paid attention to the conclusion sudo apt update? There are three types of strings in it: hit, ign and get, the meaning of which can be read on the forum . If you look at the ign lines, you will see that most of them are related to the translation of the language. If you use all applications and packages in English, then you do not need a translation from English to English.

Disabling these language updates will speed it up a bit apt update. To do this, open the following file:

$ sudo nano /etc/apt/apt.conf.d/00aptitude &amp;

And at the end add this line:

Acquire::Languages "none";

7. Reduce overheating.

Overheating is a common problem. The speed of the overheated computer leaves much to be desired. It can take years to launch a program if the CPU cooler spins as fast as Usain Bolt runs. To alleviate this problem, there are two tools: TLP and CPUFREQ.

To install and run TLP, use the following commands:

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

After installing TLP, nothing else is required of you. The program works in the background.

To set the CPUFREQ indicator, use the following command:

$ sudo apt install indicator-cpufreq

Restart your computer and turn on power saving mode:

8. Configure LibreOffice and make it faster.

If you use LibreOffice often, you can make it a little faster. Launch LibreOffice and go to settings. In the window that opens, select “Memory”, then check the “Use Quick Start” option and increase the amount of available memory.

9. Use a lightweight desktop environment (if you can)

Instead of the standard GNOME environment, you can try lighter Xfce or LXDE.

These environments use less memory and do not heavily load the processor. It also comes with a set of lightweight applications that help speed up Ubuntu.

Of course, the desktop may not look as modern as in Unity or GNOME, but this is a compromise to which you can go.

10. Use less heavy application alternatives.

This is someone you like. Some of the standard or popular applications are quite heavy and can overload a weak computer. In this situation, you can use alternatives to these applications. For example, instead of Ubuntu Software Center, you can use AppGrid, instead of LibreOffice Writer – AbiWord, etc.

For advanced optimizations visit this link Arch Wiki


This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More