[openbox] Hibernate via menu does not work as expected
Dana Jansens
dana at orodu.net
Fri Oct 15 09:53:27 EDT 2010
On Wed, Oct 13, 2010 at 9:27 PM, <meino.cramer at gmx.de> wrote:
> Hi,
>
> to perform a suspend-to-ram or a suspend-to-disk there are to
> scripts from the TuXOnIce-project:
> hibernate-ram
> and
> hibernate
> .
>
> This script call a tool named
> vlock
> to lock the console, so that a resumed system does not give
> instant access but asks for a password.
>
> The call is
> sudo hibernate/hibernate-ram --lock-console-as <user>
> which works fine when issued from a terminal of my system
> but misses the locking, when this expression is entered into
> menu.xml. In the latter case it only performs the hibernation
> part (successfully and fully working) but it does not lock
> the computer.
>
> Why?
> And how can I fix this?
>
> Thank you very much in advance for any help!
> Best regards,
> mcc
When I run vlock from a menu I see the following
vlock: stdin is not a terminal
Perhaps it is not made to run except from a shell. You could run the
hibernate command by running a terminal and passing it the command to
execute.. that might help.
More information about the openbox
mailing list