No suspend after XFCE Power Manager added (Israel) (Israel)(Fritz)(Fritz)

Israel israeldahl at gmail.com
Sat Mar 28 14:46:45 UTC 2015


On 03/27/2015 08:18 PM, Fritz Hudnut wrote:
> ...
>
> @Israel:
>
> Appreciate the attention . . . I have noticed something about
> "freedesktop xxxxxx" when restarting the iBook out of 14 U-MATE . . .
> but, from the desktop GUI.  So, it looks like what you are showing me
> above are the commands for shutdown, suspend, restart??  The only
> thing that isn't there is "sudo"??? so if I want to "suspend" I would
> run "sudo
> dbus-send --system --print-reply --dest=org.freedesktop.UPower
> /org/freedesktop/UPower org.freedesktop.UPower.Suspend"  ????   And so
> these commands would just be "stored" in a text file to be copy/pasted
> into the Terminal??
>
> I'll again have to check into JWM, I think I checked it out awhile
> back, but I may be moving U-MATE 14 to my Sawtooth, and then I could
> play a bit with the iBook . . . but, I do enjoy the GNOME "Floating
> Feet" screensaver that comes with MATE . . . . 
>
> F
>
>
Hi Fritz,
You do not need sudo if you are using the policykit rule like the one I
sent.  That is the whole point of using policykit.  You can do things
that normally require sudo without it, because you are authorized to do
a certain action.  In the case of the rule I sent in my initial e-mail,
anyone in the 'users' group has the ability to shutdown/restart/suspend
without a password.  They just send the appropriate things to dbus, and
it handles the rest.

I am not entirely sure if this will fix the issue you are having or not.

I just wanted to offer an alternate solution that I use in very minimal
(no Desktop Environment like LXDE, only window managers like JWM)
installs, like on computers with too little RAM for Lubuntu to run well
(128MB is not good for Lubuntu, but works fine for JWM)

-- 
Regards

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/lubuntu-users/attachments/20150328/720bbdcc/attachment.html>


More information about the Lubuntu-users mailing list