Concerning the GTK written Gnome, it stores its main configurations such as menus, window behaviors (you know, what should happen when you right-click on the title bar or its button layout, etc), default fonts and their sizes, applications and their assigned extensions (such as Totem for both playing and creating video thumbnails for various formats, etc), default icons for applications are just a few to mention...
... this database is managed in Gnome by using an application called "GConf-Editor". Now whenever you install a new program in Gnome (say in Ubuntu Linux) then those applications automatically use Gconf-editor as a way of applying their settings such as integrating into the main menu in the desktop, etc across all the users for instance.
So as you can see the more apps that you install the more settings are added. Although whenever you uninstall these apps, they do remove those Gconf entries but since nothing is perfect, some portions of these applications can still be "left inside" in Gconf database thus slow downing your Gnome desktop!.
Finally!, something useful :)... |
It is obviously not possible to manually check each entry and clean it all by hand and on the other hand the average users (like you and me :D) won't have enough knowledge even to think about doing something like that either.
In that sense, there is a GUI tool written in GTK+ toolkit called "Gconf Cleaner" that does exactly that. It first scans your Gnome Gconf-database/registry and identifies the entries that are no longer used by applications. So all you gotta do is just press a button, and it'll clean all those unused entries within seconds!.
However, I couldn't save these settings :/, it just crashed, could be a bug... |
sudo apt-get install gconf-cleanerOnce installed you can run it by pressing "Alt" + "F2" keys and entering the below command in that box or in Unity dash.
gconf-cleaner
+ It can also be launched via: "Applications" -> "System Tools", in the classic Gnome desktop if you like.
I don't use Unity desktop much but since it uses the Gconf-editor, not only on the classic Gnome desktop but this should clean entries in Unity as well.
I also had a crash from Gconf-editor.
ReplyDeleteHowever, after opening it with "sudo gconf-editor", all was fine. I guess it was a permission issue?
@Sharobhoy331,
ReplyDeleteOf course dude!, that's it!. lol, I updated the post. Thank you.
Not so sure about sudo icw gconf-cleaner...When I scan with normal user or sudo, it reports different amounts of cleanable packages. I'm guessing it scans gconf keys for different accounts :s
ReplyDelete@rodyO,
ReplyDeletehmm, you could be right too. I'll just remove that "update" from the post, just in case. Thank you.