Re: acpi-support: Lock screen with dbus during resume

2008-07-22 Thread Chris Jones
Hi Dennis Jansen wrote: > A slightly adapted version of /etc/acpi/resume.d/90-xscreensaver.sh. How come this happens on resume? When I suspend my screen fades to black and then suspends (implying that the screen was locked), but on resume my desktop is shown briefly before locking. I don't tend

Re: acpi-support: Lock screen with dbus during resume

2008-07-09 Thread Mackenzie Morgan
On Wed, Jul 9, 2008 at 6:54 AM, Dennis Jansen <[EMAIL PROTECTED]> wrote: > Hi, 6:54AM? That was 10 hours ago, and it just showed up a minute ago. OK, now I get what's going on. -- Mackenzie Morgan Linux User #432169 ACM Member #3445683 http://ubuntulinuxtipstricks.blogspot.com <-my blog of Ubunt

acpi-support: Lock screen with dbus during resume

2008-07-09 Thread Dennis Jansen
Hi, what do you think about using dbus to fix the screensaver locking in recent versions of GNOME and KDE. A slightly adapted version of /etc/acpi/resume.d/90-xscreensaver.sh. #!/bin/sh # lock the screen via dbus if pidof dbus-daemon > /dev/null; then for x in /tmp/.X11-unix/*; do displaynum

Re: acpi-support: Lock screen with dbus during resume

2008-07-09 Thread D. Jansen
Hi Matthew, On 7/9/08, Matthew Garrett <[EMAIL PROTECTED]> wrote: > > I haven't actually tested this, but are you sure it works? > > Sure does! :) -- Ubuntu-devel-discuss mailing list Ubuntu-devel-discuss@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listin

Re: acpi-support: Lock screen with dbus during resume

2008-07-09 Thread Mackenzie Morgan
On Wed, Jul 9, 2008 at 8:19 AM, Matthew Garrett <[EMAIL PROTECTED]> wrote: > I haven't actually tested this, but are you sure it works? You need the > environment variable providing the DBus socket address, and that's only > available from the user's running session. Bit of background? I don't kn

Re: acpi-support: Lock screen with dbus during resume

2008-07-09 Thread Matthew Garrett
I haven't actually tested this, but are you sure it works? You need the environment variable providing the DBus socket address, and that's only available from the user's running session. Also, I'm no longer involved in acpi-support development - patches should probably be sent to either Ubuntu