Laptops Under 200

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Saturday, 16 July 2011

How to Make the Ubuntu Unity Desktop run Faster?

Posted on 01:18 by Unknown

Unlike in the past, these days almost all the GNU/Linux distributions that pack both Gnome (GTK written) and the Qt/KDE require us to have at least 512MB of RAM by default. Although with the introduction of the Gnome 3, distributions like Fedora 16 for instance now requires you to have about 640MB of RAM or else it even refuse to get installed as well.

This "RAM" jump is actually due to the fact of using much more GPU for drawing the GUI by these desktop. Although it's certainly not the only reason since the Kernel and other applications in general get more heavier as well. Anyhow concerning Ubuntu, with the introduction of the Unity desktop module which uses the Compiz compositing manager by default thus it needs more resources than usual.

So in an attempt to make the Unity desktop run faster disabling the Compiz completely is the mots sensible thing but unfortunately we cannot do that since Unity 3D is a plug-in for Compiz.

But there are few things that we can do. For instance...

*. Use the Unity 2D (Qt written) desktop interface instead -

Update: Starting with 11.10 version, now Ubuntu ships the Unity 2D by default, so you don't have to install it manually anymore.

I know it doesn't sound appealing and when considering the fact that the 2D version does not have all the features of the default 3D GUI ... but this is the single most important thing if you're really concerned about reducing system resources.

*. Get rid of unnecessary start-up applications -

By default Ubuntu (including the Gnome Classic desktop) loads few apps during the start-up process of the desktop that are not required to some users.

So click on the icon next to your user name in the Unity panel and from the menu choose: "System Settings" -> "Personal" -> "Startup Applications" as shown in the below screeshots.

1


2


3



This should bring you a new window that lets you enable/disable start-up applications as shown above. But remember, you should not disable all of these apps since some are necessary to let your desktop function properly.

I've written about this in the past concerning the Gnome desktop ... but it still applies to the Unity as well. So go ahead and read that post if you need more information.

But for most of us, things like Bluetooth manager, Evolution alarm notify, Gnome login-sound, personal file sharing (if you don't have any networked environment), Print queue applet (if you don't use a printer at all), Remote desktop, Ubuntu One and Visual assistance are few of the apps that can be disabled safely. But I humbly advice you to read that post.

*. Install Preload -

This is actually an excellent utility that runs in the background as a system service and act very similar to the Microsoft app pre-fetch. What this does is simple. Say that you usually use 10 main apps. But from that 10, there are 3 applications that are the most prominent.

Lets say that the parts of the applications are scattered all over your HDD which makes them loading a time consuming task for the OS. What the "Preload" does is simple, it makes an index of those most used 3 apps thus accessing them in the future is made easy for the GNU/Linux operating system since now it doesn't have to look all over the HDD... it just reads the index and finds their locations faster than ever which result in a faster application loading times!.

This of course is a very simple analogy and I'm pretty sure the actual scenario is much more complicated.

You can install preload in Ubuntu 11.04 Natty Narwhal by using the below command.
sudo apt-get install preload
Not just for Unity desktop actually, this will help to decrease loading times of any app under GNU/Linux in General. You don't have to tweak or anything, after installing it'll run in the background and will take care of everything automatically for you.

But remember "preload" also loads portions of your mostly used apps during the system boot-up process which could result in a slightly slower booting times (what! :/) but this for most of us will be almost unnoticeable + when considering the enhanced app loading times, in my experience this is more than forgivable :D.

*. "Lower" your Compiz Effects -


Compiz... weird by default ;-)...
Although if you have a powerful GPU then having Compiz with a lot of cool effects enabled by default may not be a big deal. But if you care about making Unity as speedy as possible then you may want to do some manual editing and lower some of the Compiz effects which require significant amount of GPU power. As said this alone should speed-up things quite significantly.

*. Create a Swap partition -

I'm pretty sure you've already done this and have a dedicated partition for your Swap space. But I'm a bit of a freak (bit of a ?, really? :P) and I don't like having partition after partition in my HDD because it gives me headaches.

So I don't have separate swap partition. As a result every time I install Ubuntu Linux I tell the setup wizard to install it without a swap partition. Now this is fine as long as you have 3GB or more RAM on your PC/Laptop (ahh to be rich ;-) ).

But I'm pretty sure many of us don't have that amount of RAM thus even if you have like 1GB and like me don't have a separate swap partition and use Ubuntu without a one, thet seriously create one!.

This is a highly recommended procedure and the only reason that I skip this while installing is that we cannot create a virtual swap space using the installation wizard. But after the installation is completed you can easily add a virtual swap space in Ubuntu which is again, highly recommended + it'll help heavily to make your entire operating system more stable as well.

*. Clean your apt-get Cache -

apt-get is one of the most powerful command-line apps out there that lets you do almost anything under the sun when it comes to dealing with application installations, uninstallations, downloads, etc.

Before installing the applications, apt-get cache them in your HDD (a backup of the downloaded packages). Now one certainly don't need this cache (unless you want to re-install the packages without re-downloading them) + if forgotten for a while then the cache folder can get really big (talking about Gigabytes here). So it's always best to clear this cache.

Don't worry, clearing the cache won't remove the installed apps... so no worries dudes :D. To do this open your GNU/Linux Terminal and enter the below command.
sudo apt-get clean

Make sure to do this from time to time.

*. Remove packages that are no-longer necessary -

This is another big headache for the GNU/Linux users. This is caused by "dependencies". As the name suggest, say that you were installing a package called "A". But to install it Ubuntu may say that it has to download 10 other small packages, these are the "dependencies".

So after installing "A" and after playing with it for a while  (not talking about ex-girlfriends here :/) you got bored and decided to remove it.

But what could happen most likely is that although the app "A" will be removed but the other 10 apps (called dependencies) may not all be removed due to various reasons.

But again using our excellent apt-get, we can safely remove, unwanted dependencies using a single command. This will again help you to cleanup your HDD space + app registry entries which makes your operating system a pain in the *$s to use.

So again open your Terminal and enter the below commands.
sudo apt-get autoremove

*. Clean your Gconf registry entries -


Just like MS Windows Registry, GNU/Linux also has its own way of storing app related information which vary depending on the desktop environment. Unity and Gnome classic use a such "app-registry" called "Gconf configuration system".

So the more apps that you install and remove, as the time goes, some of their "portions" may be left inside of this registry entries thus slowing down your desktop or the OS in general.

Luckily we have an excellent tool called Gconf-Cleaner, a GUI that automatically scans this database and remove these app entries. So within seconds it can remove tens of hundred of registry entries in Unity which should help to enhance the speed.

So use that app and do a bit of a software registry/database cleaning in Ubuntu. Although other than not letting me backup my current database before cleaning ... I did not encounter any issues with it... but use it at your own risk.

*. Update your Web Browser - 

This is another critical thing. These days most of us spend our time with a web browser rather than any other application. But in general all these web browser do consume a lot of system resources (RAM especially). There could be many reasons. One is that it has to!.

Say that you've opened like 20 tabs.. oh well then, you should be willing to sacrifice some system resources mate! :D. But a web browser could also be using unnecessary amount of system resource due to a software bug.

So keeping an updated web browser will not only make it a secure one but also should help to fix those memory leaks which helps you to preserve the system resources as well. 

*. Try to avoid using Ubuntu Software Center -

Although we're being warned by Canonical that with the upcoming Ubuntu 11.10 version there won't be the "synaptic" (the GUI front-end for the apt-get command-line tool) installed by default. But you should be able to install it via their repositories in the future nonetheless.

The point is... as I've said before, the reason I said to avoid USC is not because it uses a lot of RAM but most of the time it requires a lot of CPU usage which make the Ubuntu OS in general a bit unstable (for instance, if you have both Firefox and USC opened at the same time, you're asking for trouble).

"Oi!, at least I'm pretty!" ... yeah right :P

This is because USC heavily depends on using a lot of online source to fetch those pretty icons and other details of packages, user reviews, screenshots, etc (so it's more like a web browser actually) thus it needs a lot of CPU usage when comparing with Synaptic.

So I'm not saying you to not to use it (I know you won't :P) but try not to keep it open for a longer periods at least. But if you have a fast processor and RAM, etc... then this may not be a big deal but unnecessary usage of system could easily drain your Laptop's batter life on the darker side as well :).

*. Remove unnecessary applets -

Since the Unity panel is the application menu bar Canonical's decision not to let users add applets like with Gnome classic panels makes sense. But as a workaround the geeks have come up with another type of applets that runs in your notification area.

Unlike with the old panel applets, these applets do consume a bit more memory since to display at the notification area these applets have to be loaded into the memory where the "old fashioned" applets are just shortcut-icons and require a very little of your RAM, in comparison of course. 

So if you have installed third party applets that you no longer use, then uninstall them or removing the currently running ones should help.

*. Try to limit your Workspace Usage -

Workspace are like virtual desktops in GNU/Linux. The more you use them (more than 1 I mean) the more system resource you're gonna be needing. + With Compiz enabled, every time you click on your "workspace icon" in the Unity application launcher, it uses fancy effects which again needs a bit of a your system resource in general.

So try to limit them to a singe workspace if you can. But because of the way Unity desktop is designed ("doing a single task at once", according to Mark Shuttleworth's own words) for dealing with multiple apps you may have to use the workspace switcher a bit often, but as said, this also needs more system resource in general. So try to limit that.

*. Make Thunar the default file management utility -

By default Unity (both 3D and 2D) use Nautilus as the file management utility. Although Nautilus is already highly simplified still if you're looking for a more lighter version (loads fast, etc) then I highly recommend Thunar which is the Xfce desktop's file manager.



First install Thunar and then follow these official Ubuntu steps to replace Nautilus completely. I personally like Thunar a lot because unlike with Nautilus, newer versions of Thunar even displays a drop-list of information (size, created date, type) for files that you move your mouse hover. This is not possible with Gnome Nautilus since they think that implementing such thing means complexity and scare away the user >:(. 

And also with Thunar you can even edit Tags of audio files directly from the properties window which is also not possible with Nautilus!. If you want multimedia file (both audio and video) thumbnail generating in Thunar, then install the Parole multimedia player as well.

These area actually a handful of things that I could think of helping make Ubuntu Unity desktop runs a bit faster but if you have suggestions and "complaints" :P, then please throw some comments.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in learn linux, linux, tips, unity desktop | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • How to Install "The Board" in Ubuntu? (GTK+ written dedicated Digital Diary)
    If you frequently use your computer for hours and hours daily... then even after installing cool theme and other stuff to make the desktop l...
  • traGtor - ffmpeg Encoder GUI for GNU/Linux (one of the best!)
    I maybe wrong on this one but I think the origin of the Qt written KDE desktop actually comes from the German programmers. But the point is ...
  • Install Gdiskdump in Ubuntu 11.04 - An Easy To Use Disk Cloning Tool for GNU/Linux!
    Although for Microsoft Windows there are several excellent commercial and free applications available yet with GNU/Linux when it comes to di...
  • Wipe - Secure File Delete Application for GNU/Linux
    Not just in GNU/Linux but in any operating system, just because you deleted the files from the hard disk drive doesn't mean that they...
  • How to Access Few "Advanced Preferences" Settings in Nautilus File Manager?
    Nautilus is the default file management utility in Gnome desktop environment (which is also shared by the Ubuntu Unity as well). Although ...
  • Install Agave in Ubuntu - Excellent Color Palettes Creator for GNU/Linux!
    I think anyone would agree on the fact that both colors and our emotions (buggers... control our lives one way or the other :P) are bound to...
  • Have You Watched the "Free Software Song"?
    I saw this song (in video) for the first time few years ago while watching the Revolution OS, a movie which basically exposes the birth of G...
  • GDM Tweaker - A Tool For Changing GDM Background/Theme Easily
    Although Ubuntu decided to drop GDM from the future releases still with Ubuntu, setting up your GDM screen is almost impossible (you know c...
  • How to Build a New Computer under $200
    This article will present a brief tutorial explaining how to repair or build a Windows PC. More instruction will be added as time permits. B...
  • MediaInfo - An Advanced Audio/Video Tag "Reader" for GNU/Linux and MS Windows
    If you have installed the proper codecs in MS Windows and GNU/Linux, the operating system can read Tag information which holds information s...

Categories

  • 11.04 natty narwhal
  • 11.10
  • 3d rendering
  • addons
  • address books
  • adobe
  • adobe flash
  • adobe flash player
  • amarok
  • amarok for windows
  • andorid
  • android
  • android applications
  • android apps
  • android phones
  • android tablets
  • app launchers
  • apple
  • applets
  • application indicator
  • applications
  • applications for windows
  • archive managers
  • arios
  • art
  • arts
  • asus
  • asus eee pc
  • ati
  • ati catalyst
  • audio
  • audio converts
  • audio editors
  • audio encoders
  • audio players
  • audio tag editing
  • audio utilities
  • ayatana scrollbars
  • backup
  • backup tools
  • banners
  • batter saver
  • battery calibration
  • benchmark testing
  • bittorrent
  • bittorrent clients
  • blogger
  • blogger news
  • blogger platform
  • blogging
  • blogging tips
  • blogging utilities
  • blu-ray
  • boot loaders
  • BSOD
  • business card creator
  • Canonical
  • cd/dvd burners
  • chat clients
  • checksum checker
  • chrome
  • chrome addons
  • chrome os
  • chromium
  • clamav
  • cloud computing
  • cloud comupting
  • cloud storage
  • clutter
  • collaborative editor
  • command line
  • commands
  • community
  • compiz
  • computer repair
  • computers
  • cross-platform
  • data backup
  • data encrption
  • desklets
  • desktop environments
  • digital audio workstation
  • disk cloning
  • disk drive erasers
  • disk image burning
  • disk images
  • disk partition editors
  • display managers
  • distributions
  • docks
  • download managers
  • drawing tools
  • drivers
  • driving lessons
  • dropbox
  • dvd authoring
  • dvd backup
  • dvd creator
  • e-book managers
  • e-mail
  • e-mail clients
  • e-mails
  • eee pc
  • elementary os
  • email clients
  • emails
  • encoding
  • encorders
  • experiences
  • facebook
  • fedora
  • fedora core
  • fedora core 15
  • fedora core learn
  • feed readers
  • file management tools
  • file managers
  • file manegers
  • file recovering
  • file splitters
  • file systems
  • filesystems
  • finance
  • firefox
  • firefox 5
  • firefox 6
  • firefox addons
  • firefox5
  • firmware utilities
  • flash videos
  • flickr
  • fonts
  • frustrations
  • fun
  • gadgets
  • GDM
  • gentoo
  • gimp
  • gmail
  • Gnome
  • gnome 3 shell theme
  • gnome 3.2
  • gnome applications
  • gnome desktop
  • gnome shell
  • gnome3
  • gnu
  • gnu emacs
  • gnu-linux
  • gnu-linux distributions
  • goober
  • google
  • google chrome
  • google chrome extensions
  • google maps
  • GPU
  • graphic design
  • graphic utilities
  • grey screen of death
  • grub editors
  • gtk
  • gtk applications
  • gtk themes
  • gtk3
  • gtk3 themes
  • hardware monitors
  • hdd clone tools
  • hdd tools
  • health
  • hobbies
  • html5
  • icons
  • ideas
  • im clients
  • iMac computer repair
  • iMac error
  • image editiors
  • image organizers
  • image resizers
  • image utilities
  • image viewers
  • iphone
  • itunes
  • java
  • journal applications
  • kde
  • kde 4.6
  • kde applications
  • kde-qt
  • kernel
  • kubuntu
  • kubuntu 11.04
  • laptops
  • learn
  • learn linux
  • legal
  • libre office
  • life
  • lightdm
  • linux
  • Linux distributions
  • linux keyboards
  • linux mint
  • linux multimedia players
  • linux music players
  • loco teams
  • logmein
  • lubuntu
  • lxde vs xfce
  • mac osx
  • mandriva
  • media players
  • metacity
  • microsoft windows
  • mounting
  • mplayer
  • ms windows
  • multi-touch gestures
  • multimedia
  • multimedia codecs
  • multimedia converters
  • multimedia players
  • multimedia utilities
  • music players
  • mypaint
  • natty narwhal
  • nautilus
  • nautilus scripts
  • nautilus tips
  • netbooks
  • netbooks under 200-250
  • network monitoring
  • networking
  • news
  • nokia phone suite
  • note taking
  • ntfs
  • nvidia
  • office productivity suits
  • office suits
  • oneiric ocelot 11.10
  • online radio
  • online storage
  • open source
  • open-source
  • opensource
  • opensuse
  • operating systems
  • optical disk burners
  • optical disks
  • optimizations
  • package managers
  • painting tools
  • parent control
  • password generators
  • password managers
  • pdf editors
  • pdf readers
  • pdf tools
  • pim software
  • pinguy os
  • plasma
  • plugins
  • portable
  • portable applications
  • portable laptops
  • privacy
  • professional video editors
  • programming tools
  • project management software
  • proprietary drivers
  • python applications
  • qt
  • qt applications
  • qt4
  • registry cleaner
  • remote access
  • remote desktop access
  • reviews
  • roboform
  • rom flashing
  • rss readers
  • satellite trackers
  • scanning tools
  • screen recorders
  • screenshot taker
  • scripts
  • search engines
  • security
  • shell extensions
  • shell themes
  • skype
  • smart phones
  • software
  • software emulators
  • sound servers
  • source code editor
  • stack exchange
  • startup managers
  • stock market
  • swimming
  • system cleaner
  • system information
  • system monitors
  • tablet pcs
  • tablets
  • task killers
  • tech help
  • tech news
  • tech tips
  • technology
  • terminal emulators
  • text editors
  • text translators
  • themes
  • thunar
  • thunderbir
  • thunderbird5
  • tips
  • transformation packs
  • tutorials
  • tweaks
  • twitter
  • ubunt
  • ubuntu
  • ubuntu 11.10
  • ubuntu 11.10 alpha 3
  • ubuntu derivatives
  • ubuntu derrivatives
  • ubuntu minimal install
  • ubuntu netbooks
  • ubuntu news
  • ubuntu one
  • ubuntu tablet
  • ultrabooks
  • unity 2d
  • unity desktop
  • unity desktop apps
  • usb
  • utilities
  • vector graphics
  • video editors
  • video utilities
  • videos
  • virtualbox
  • virtualization
  • virus scanners
  • vlc
  • voip
  • wallpaper contest
  • wallpapers
  • weather apps
  • web browser addons
  • web browsers
  • webcam
  • weight loss
  • weird
  • widgets
  • window managers
  • windows
  • wine
  • xml editors
  • xubuntu
  • youtube

Blog Archive

  • ►  2012 (7)
    • ►  August (2)
    • ►  June (1)
    • ►  May (3)
    • ►  January (1)
  • ▼  2011 (515)
    • ►  December (3)
    • ►  November (1)
    • ►  October (16)
    • ►  September (57)
    • ►  August (59)
    • ▼  July (81)
      • How to Install GPicView in Ubuntu 11.04 Natty Narw...
      • How to Install ATI/AMD Catalyst 11.7 Linux Driver ...
      • How to Install Xarchiver (archive manager) in Ubun...
      • How to Install Leafpad Text Editor in Ubuntu 11.04...
      • Asus Eee PC X101 Secretly Gets a Product Page!
      • How to Install elementary Dark GTK Theme in Ubuntu...
      • How to Install PCMan File Manager in Ubuntu Linux?
      • Tux Computer Case with Embedded Linux Kernel
      • Few Upcoming Ubuntu 11.10 Alpha 3 and Development ...
      • PyRoom - Python Written, Minimalistic, Distraction...
      • Ubuntu 11.10 Oneiric Ocelot is Just 2 Seconds away...
      • hardinfo - an App for Performing CPU Benchmarking ...
      • Lubuntu ISO images are Available via Official Ubun...
      • Vanillux - An Ubuntu Based GNU/Linux Distribution ...
      • CentOS 6.0 Live CD/DVD Editions are Finally Released!
      • How to Install KDE Plasma Netbook Edition in Ubuntu?
      • How to Install gDesklets in Ubuntu?
      • PyMusic - A Python Written, Fast Loading Music Pla...
      • How to Install Xfburn (CD/DVD burner) in Ubuntu 11...
      • Few Cheap Netbooks Under $ 200 - 250
      • openSUSE 12.1 Milestone 3 is Available for Download!
      • How to Install Flegita (Gnome Scan Front-end) in U...
      • How to Install Thunderbird 6.0 (beta) in Ubuntu Li...
      • Ubuntu 10.04.3 Lucid Lynx LTS is Released!
      • How to Install Wine in Ubuntu 11.04 Natty Narwhal,...
      • How to Install "Nautilus Open Terminal" Plugin in ...
      • How to Install Virtualbox 4.1 in Ubuntu 11.04 Natt...
      • How to Install Abraca Music Player in Ubuntu Linux?
      • Asus Eee PC 1215B Netbook Hardware Specifications ...
      • How to Install Grism (stock market analysis app) i...
      • Creating a Cheap "Unity Desktop Replica" Out of Gn...
      • Few Ubuntu Unity Desktop Themes
      • Heimdall - Flashing Samsung Galaxy S Series ROM in...
      • How to Make the Ubuntu Unity Desktop run Faster?
      • Wanna Watch Novacut Video Editor Demo in Action, O...
      • Upcoming "Shortcuts-pane" Mockup for Thunar File M...
      • Blogger's Updated Policy on Web Browser Support
      • Advanced Task Killer - Best App Killer for Android
      • What is Ubuntu Minimal Install?
      • How to Install DesktopNova in Ubuntu?
      • How to Install Adobe Flash 11 (beta) in Ubuntu 11....
      • Gnome 3.2 News : Few Major Upcoming Changes/Features
      • How to Install Beatbox in Ubuntu 11.04 Natty Narwhal?
      • How to Add a User in Ubuntu?
      • How To Check/Find Your Installed Ubuntu Version?
      • Vinux 3.2.1 is Released (GNU/Linux Distribution fo...
      • DAISHO - A Professional Project Management Softwar...
      • Amarok 2.4.2 Beta 1 is Released (New background, G...
      • How to Install QMediainfo in Ubuntu 11.04 Natty Na...
      • "Oh it's on mate!" - Ubuntu 11.10 Oneiric Ocelot W...
      • How to Install Goober in Ubuntu 11.04 Natty Narwha...
      • How to Install Firefox 6 (beta) in Ubuntu 11.04 Na...
      • Meet the "Ping-Eee OS 11.04" : Netbook Optimized V...
      • How to Preview the Gmail's New "Look"?
      • KDE 4.6.5 is Available for Kubuntu 11.04 Natty Nar...
      • How to add the Classic Applications Menu in Ubuntu...
      • How to Access the Old Blogger Interface After the ...
      • Ubuntu 11.10 Oneiric Ocelot Alpha2 is Released!
      • Google Introduces "Download Map Area" to Google Ma...
      • Blogger Team Has Officially Released the All New U...
      • Nokuntu - Unofficial Nokia PC Suite for Ubuntu!
      • Elementary OS Website Hits the First 1000 Register...
      • How to Make Metacity the Default Compositing Windo...
      • How to Install Avant Window Navigator in Ubuntu?
      • Ayatana Scroll-bars Update (animated Scroll and ne...
      • Wanna Get a Free (and Awesome) Official Ubuntu Boo...
      • AriOS 3.0 is Finally Released (Linux Distro Based ...
      • Ardour - The Ultimate Digital Audio Workstation So...
      • Apple Will be Launching a "Launchpad" with the Upc...
      • Redo Backup and Recovery - The Ultimate HDD Data R...
      • How to Install Unity 2D in Ubuntu 11.04 Natty Narw...
      • "Ubuntu-Gallery" - Get Daily (kinda) Wallpapers fo...
      • How to Install Pencil in Ubuntu Linux (a 2D Cartoo...
      • How to Install EasyImageSizer in Ubuntu?
      • Novacut Pro - Upcoming OpenSource, Professional Vi...
      • Bisigi-Project: Beautiful Complete GTK Theme Suite...
      • Roboform 7.3.2 is Released! (Added Support for Fir...
      • LibreOffice 3.4.1 is Released! - How to Install it...
      • PDFMasher - Tool for Converting PDF files to (HTML...
      • How to Install "The Board" in Ubuntu? (GTK+ writte...
      • Terminator - An App to Run Multiple Terminal Emula...
    • ►  June (112)
    • ►  May (149)
    • ►  April (33)
    • ►  March (4)
  • ►  2008 (2)
    • ►  March (1)
    • ►  January (1)
Powered by Blogger.

About Me

Unknown
View my complete profile