Le 19.12.2012 01:04, Hugo Vanwoerkom a écrit :
Michael Biebl wrote:
On 19.12.2012 00:34, berenger.mo...@neutralite.org wrote:
Except using sudo, I know no solution... sadly.
Maybe you can do something with policykit, too, I never tried to
understand how it works, but I think giving rights to some softwares
is its role.
sudo is one option, the other is to use upower (which runs as system
daemon with root privileges) and use a command like this
$ dbus-send --print-reply \
--system \
--dest=org.freedesktop.UPower \
/org/freedesktop/UPower \
org.freedesktop.UPower.Suspend
This related to LXDE which I am trying out. The hibernate and suspend
buttons do nothing in the logout menu. Googling says that LXDE uses
pm-utils. So I was guessing that invoking pm-hibernate/suspend was
involved, which I can do as root but not as user.
Hugo
Maybe you can modify the command used to insert a sudo in it.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/a941bde793a48e90227bacd06f327...@neutralite.org