Fedora vs Ubuntu vs Linux Mint for Performance

Fedora vs Ubuntu vs Linux Mint

The never ending search for that “holy grail” distribution keeps most people downloading and hopping from one distro to another without ever bothering to ask themselves why they want to use an operating system in the first place. I don’t blame them, as nowadays, the ever active “assembly-lines” of various distro factories like ubuntu, fedora and linux-mint are enough to boggle the minds of most newbies by throwing an enormous number of configuration options.

Until some time ago, I myself was one of those “holy grail” seekers endlessly installing one distro after another in the second partition of my hard drive which is always reserved for Linux. Since my full time job involves .NET programming for my organization, I have to keep the first one reserved for Win7 of course.

Anyways, coming back to my Linux endeavors, I decided to pause and look inwards. I asked myself why do I want to use Linux? Thats because I want to: 1) Learn and understand the Linux operating system and programs using a top-down approach, and 2) Learn programming on Linux – this involves a lot of things including C++, GTK+, Qt, Android and the suchlike, and 3) Doing miscellaneous things such as listening to music, some light gaming, etc.

The most obvious thing that occurred to me was one word – performance. I don’t need high-end graphics. I’m never getting into serious gaming stuff such as OpenGL. All I need is a distro that can handle as many applications and programs as I can throw at it. Since I don’t have time for doing things from scratch like LFS or ArchLinux, I shortlisted the below three candidates:

1. Ubuntu 12.04 LTS – Precise Pangolin

2. Linux Mint 14.1 – Nadia

3. Fedora 18 – Spherical Cow

Rather than search for existing benchmarks, I decided to put these gladiators in my own arena. I prepared my 16GB pendrive for a multi-boot with the above three Live versions and started testing them one by one. The stuff I threw at them was things I would normally do, such as extracting a huge (4GB) archive, format a USB pendrive, surf the net, etc. Here is how each one of them fared in the fight:

Distro Benchmarking

The verdict: Unlike the gladiators of Rome where one used to absolutely dominate over the other, the case of these linux distros is entirely different. One distro fared well in one area, while the other fared in another. For instance, Fedora was good at CPU usage, while Linux-mint did well in the RAM area. However, for my purposes, I regard Linux-mint as an ideal choice overall.

Advertisements

How to add or remove launchers from your gnome classic/fallback desktop panel

This is a nice little hack that comes handy when you want to add or remove launchers (shortcuts to your favorite programs such as firefox or gedit) to an existing panel, or add an entirely new panel to your gnome-classic or fallback desktop. On my Linux Mint workstation, I prefer the gnome-classic version instead of the default cinnammon desktop for reasons of speed and simplicity. I soon found out, however, that process of adding/removing launchers or adding a new panel requires a special key combination that is not easily found without going through some extensive documentation!! Here is how you do it:

To add a new launcher:

1. Press the WIN (Super) and ALT keys together.
2. While keeping them pressed, right-click the panel.
3. You will then get a popup menu saying “New Panel”, or “Add to Panel”.
4. Click on the second option and select your program.

To edit/remove an existing launcher:

1. Follow steps 1 & 2 from above.
2. You will get a popup menu saying “Move” and “Remove from Panel”.
3. Click on your choice.

How to make brightness changes permanent in your Linux Desktop?

Quite recently, I’ve faced this nagging little issue on all the distros I tried. These included Ubuntu 12.04 LTS, Linux Mint 11.1 and Fedora 18. Whenever I changed my computer’s brightness setting either through the gnome-settings applet or by using hotkeys, the changes were only temporary. On next reboot, they would vanish!! Now what is the easiest way to make your chosen setting permanent? After much googling and head-scratching, I finally arrived at the answer.

First of all, NEVER place anything like this in a startup script:

echo 4 > /sys/class/backlight/acpi_video0/brightness

(See this update if you found this folder empty or missing)

Although this command might change your brightness, again the effects are only temporary and will be lost on your next reboot. If you attempt to place this in /etc/rc.local, it may not always work due to permission issues. Instead of ending up chmod-ing the permissions to the brightness file and cause any other issues in turn, the recommended approach is to use xbacklight, the tool fit for this purpose.

Here is the easy way:

1. Install xbacklight from your package repository. On Linux Mint, I did this:

sudo apt-get install xbacklight

2. Place xbacklight command with your chosen settings in your “startup-applications” applet. In my case I had the command: xbacklight -set 50

On Mint Linux, it looked something like this:

Image for xbacklight-startup
Configure xbacklight in startup-applications applet

Thats all. This effectively sets brightness to 50% by default upon your each login. Enjoy!!

UPDATE on 04-mar-2013: I came to know today that the 3.4 kernel has broken some things related to acpi-support for setting brightness. As a result of that the /sys/class/backlight folder is empty and the xbacklight program also won't work!! Solution? Either upgrade/downgrade your kernel or add "acpi_backlight=vendor" to your menu.lst. See this link for more information:

http://superuser.com/questions/548459/how-to-change-screen-brightness-on-toshiba-satellite-l850-djs-in-linux/556745#comment683067_556745