Sunday, March 11, 2012

Restore Ubuntu panels

It seems a common (or more frequent) issue with Ubuntu? I've been using Ubuntu for few months (in addition to other LINUX based OSes I've been using) and came across this issue in my Ubuntu 10.10 (Maverick Meerkat). At the start up it gives you some error messages saying "unable to load blah blah... " (on some desktop applets etc...).

It's relatively easy to restore them back to their original(default) settings though. Just run the below and the panels will be restored.
$ gconftool --recursive-unset /apps/panel
$ rm -rf .gconf/apps/panel
$ pkill gnome-panel

Tuesday, January 10, 2012

How to recover deleted files in Eclipse

Well, this happened to me, file was not in a version control either and I was desperate to recover it.  Luckily there's a feature in eclipse to restore files from the context menu ("Restore from Local History...") of the relevant component (src folder, package folder etc...) where you deleted it from.
You can even get any other previously saved version of it from the dialog as shown below...