Clnanderson;600589 Wrote:
> Having problems with this under Ubuntu 10.10. Hope this is the right
> place to post questions about gsession-inhibit.itI'm probably doing
> something silly.
>
> Here's the basics:
>
>
>
> Here's gsession-inhibit.log
>
>
>
> I assume that the last line is the sign of the problem. The computer
> sleeps and wakes properly and wol works from the squeezecenters and I
> can use servercontrol plugin to put the computer to sleep. Just not
> inhibit for some reason.
>
> Here's the entry from squeezecenter's log preceding this, which seems
> to show a successful call from Squeezecenter.
>
>
>
> I was having trouble with waking up from acpi prior to this and added a
> few kernel options:
>
>
>
> I'm not entirely sure what these do, though they fixed my waking from
> suspend problems, but perhaps they're relevant.
Sorry to take so long to respond to this. I've been in Tucson at a
memorial service.
A couple of questions:
I'm not sure I've stated this in the ReallyPreventStandby
documentation, but I think gsession-inhibit will only work if there is
an active gnome user session..i.e. a user needs to be logged in to a
gnome session. In your case, was the user "ca" (as indicated in the
log) logged in?
Does gsession-inhibit work for you from a terminal session?
Try this:
Open a gnome terminal window and paste the following into the window:
Code:
--------------------
cat >~/Desktop/check-inhibit.sh <<EOF;
#!/bin/bash
for i in {0..1000..1}
do
INHIBIT=\`dbus-send --print-reply --dest=org.gnome.SessionManager
/org/gnome/SessionManager org.gnome.SessionManager.IsInhibited uint32:-1\`
if [[ "$INHIBIT" =~ "true" ]]
then
echo "Inhibited.."
else
echo "Not inhibited.."
fi
#echo $?
sleep 1
done
sleep 30
EOF
chmod 755 ~/Desktop/check-inhibit.sh
--------------------
That will create a small script file, check-inhibit.sh on your desktop.
Double click on check-inhibit.sh and select "Run in terminal..". This
should result in a new terminal window opening and the message "Not
inhibited.." appearing every second.
Now, in your original terminal window, paste in this command:
Code:
--------------------
#
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/ReallyPreventStandby/bin/unix/gsession-inhibit
-l -d 60
--------------------
Does the check-inhibit.sh terminal message change to "Inhibited.."?
Thanks..
--
gharris999
------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=48521
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins