=== prth|away is now known as |away | ||
=== |away is now known as prth | ||
picsel | hi there, i've got a small problem with the lock screen on suspend. I use a shortcut with the command 'dbus-send --system --print-reply --dest="org.freedesktop.UPower" /org/freedesktop/UPower org.freedesktop.UPower.Suspend' to suspend but the screen isn't locked after wake-up :( | 10:35 |
---|---|---|
picsel | I already checked if in dconf under org.gnome.desktop.screensaver the key "ubuntu-lock-on-suspend" is true | 10:36 |
picsel | oh, i forgot: I'm using Ubuntu Gnome 14.04 | 10:38 |
darkxst | picsel, suspend is handled by logind these days | 10:43 |
darkxst | and the "ubuntu-lock-on-suspend" is handled within gnome-shell, so won't be applied from your shortcut | 10:44 |
picsel | thanks! i googled a bit and found out, that this command works: 'dbus-send --print-reply --system --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.Suspend boolean:true' Or is there maybe even a better way? | 10:49 |
darkxst | picsel, that is probably right, but you might also need to call org.gnome.ScreenSaver.Lock first (pretty sure that is what happens when suspend through -shell) | 10:53 |
picsel_ | i tried it out and it seems, that it is not needed. So: Thanks for your help! Bye! | 10:59 |
=== prth is now known as prth|away |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!