Archive for April, 2009

Ubuntu: Firefox opens without window decoration

Tuesday, April 21st, 2009
If your Firefox suddenly starts to open without window decoration, run this command:

gedit `find ~/.mozilla -name localstore.rdf`

Try to locate the part of the file that looks like this:

<RDF:Description RDF:about="chrome://browser/content/browser.xul#main-window"
width="1280"
height="1024"
screenX="0"
screenY="0"
sizemode="maximized" />


The order and values may vary in your computer but that does not matter.

Now go ahead and completely erase either the width or the height line. Like this:

<RDF:Description RDF:about="chrome://browser/content/browser.xul#main-window"
width="1280"
screenX="0"
screenY="0"
sizemode="maximized" />


Then save the file. The problem should be fixed now.

How to enable Hibernate in Windows XP

Wednesday, April 8th, 2009
Hibernate option is not available by default in Windows XP. Follow this instructions to make Hibernate option available in your Turn Off Computer dialog.

Please note that in order to use Hibernate,  the S4 System State (Hibernation) must be supported by your computer's ACPI implementation, othewise you cannot do anything about it.

Go to Start → Settings → Control Panel. Make sure to open the Classic View, and open Power Options:

control-panel.jpg



When the Power Options Properties dialog appears, check if there is a tab labeled Hibernate. It should be the last one:

power-options.jpg



If you are not able to see the Hibernate tab, then Hibernation is probably not supported in your computer...

On the other hand, if you have a Hibernate tab, that's good news. Open the Hibernate tab and make sure to check the Enable Hibernation checkbox:

hibernate-tab.jpg



Click the Apply or OK button to make the changes take effect.

Now, the next time you want hibernate, in the Turn Off Computer dialog, press and hold down the Shift Key. The Stand By option will change to Hibernate whilst you hold the Shift Key pressed:

standby-hibernate.gif



With the Shift Key down click on Hibernate.