Limit the CPU usage of a certain application in Linux

You can do this by installing cpulimit. You can limit a certain running application either by name or by process ID: cpulimit -e firefox -l 30 This won’t let Firefox go beyond a 30% CPU usage limit. If you’d rather go by process, you can do it like this: cpulimit -p 3493 -l 40 This… Read More »

GNOME thumbnails garbled in Nautilus? Fix them.

If by chance your GNOME files are displaying thumbnails that you know aren’t part of the video file or picture they’re supposed to represent, or if Nautilus is showing both thumbnails and icons for the same type of file, you might solve the problem by deleting the /home/username/.thumbnails directory and letting GNOME recreate it at… Read More »

Turn off or limit the Recent Documents feature in Ubuntu

If you want to turn off the Recent Documents feature in Ubuntu, all you have to do is create a .gtkrc file in your home directory (if one isn’t already available): touch ~/.gtkrc-2.0 Now paste this line in there: gtk-recent-files-max-age=0 The next time you start Gnome and click on files, the respective files won’t appear… Read More »

How to upgrade an obsolete Ubuntu installation

Do you still have an Ubuntu 7.10 laying around somewhere on a harddrive? You don’t want’to wipe it off and install a fresh Jaunty? or maybe you don’t have a CD-ROM drive and want to upgrade step by step, from version to version.Since 7.10 is obsolete, the old repositories in /etc/apt/sources.list won’t work. Replace each… Read More »