On 04/25/2016 10:21 AM, Matthias Apitz wrote:
> El día Monday, April 25, 2016 a las 10:09:15AM +0200, Maciej Sumiński 
> escribió:
> 
>> Hi Matthias,
>>
>> The magic spell is:
>>
>> $ dbus-send --type=method_call --dest=org.gnome.ScreenSaver
>> /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock
> 
> Hi Maciej,
> 
> I tested it from the shell:
> 
> $ dbus-send --type=method_call --dest=org.gnome.ScreenSaver 
> /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock
> 
> but this does only the lock, but no suspend.
> 
>       matthias

Then there is a chance that you will find something appropriate in the
powerd [1] source code.

Regards,
Orson

http://bazaar.launchpad.net/~phablet-team/powerd/trunk/files/head:/libsuspend/



Attachment: signature.asc
Description: OpenPGP digital signature

-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp

Reply via email to