On Sat, Nov 22, 2008, Bart Samwel wrote:
dbus-pm)
if [ -x /usr/bin/dbus-send ] ; then
+getXconsole
+. $userhome/.dbus/session-bus/*
# Call the power management daemon (which, if it is
# running, we probably don't
On Sun, 23 Nov 2008, Bart Samwel wrote:
1. This program is running as root, right? I would be very careful with
sourcing arbitrary shell commands from a users home directory then.
I agree that that would be risky. However, on my system the .dbus
directory is owned by root and not
Raphael Hertzog wrote:
On Sun, 23 Nov 2008, Bart Samwel wrote:
1. This program is running as root, right? I would be very careful with
sourcing arbitrary shell commands from a users home directory then.
I agree that that would be risky. However, on my system the .dbus
directory is owned by
On Sun, 23 Nov 2008, Bart Samwel wrote:
Sounds like a definite possibility. The export DISPLAY=... stuff won't
work however, because dbus doesn't derive it's session bus from that
AFAICT.
The documentation doesn't say so indeed but in my .dbus/session-bus
file there's a comment that says:
#
Package: acpi-support
Version: 0.109-9
Severity: normal
The dbus-pm suspend method in the suspendorhibernate script (which is enabled
by default) is inherently broken and, I think, should be removed altogether.
It uses the dbus-send program with the --session option, but since it does not
run in
Hi Fredrik,
Fredrik Tolf wrote:
The dbus-pm suspend method in the suspendorhibernate script (which is enabled
by default) is inherently broken and, I think, should be removed altogether.
It uses the dbus-send program with the --session option, but since it does not
run in the desktop user's
On Sat, 2008-11-22 at 20:31 +0100, Bart Samwel wrote:
Anyway, I don't think the suspend method is inherently broken, although
it is broken as it is now. :-) We do things inside X sessions as well
(such as locking all screens when suspending), so I expect it should be
possible to get dbus-send
Hi Fredrik,
Fredrik Tolf wrote:
On Sat, 2008-11-22 at 20:31 +0100, Bart Samwel wrote:
Anyway, I don't think the suspend method is inherently broken, although
it is broken as it is now. :-) We do things inside X sessions as well
(such as locking all screens when suspending), so I expect it
8 matches
Mail list logo