After not using a computer for some time it will be locked (a lock screen will be shown). Then I can shut down or restart the computer without unlocking it i.e. without giving the password but I am unable to hibernate it without giving the password. I often wake up at night and I want to hibernate my computer. Because it is locked I have to put my password before hiberation what is very tiring when I am sleepy. How can I hibernate my computer when the screen is locked without giving my password? It will be the best for me to hibernate my computer by pressing the power button on computer case. It works already when the screen is not locked since I set: "org.gnome.settings-daemon.plugins.power.button-power"=hibernate in dconf editor. But it doesn't work when the screen is locked.
I have Mint 14 Cinnamon 64-bit.