You are not logged in.

#1 2014-10-13 18:10:07

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

LXDM display manager on resume from suspend/hibernation

Hi there,

Is it possible to activate the lock screen of a display manager, such as LXDM, on resume from suspend or hibernation? This would make an extra screen lock app obsolete.

Thanks ahead

Offline

#2 2014-10-14 12:06:31

maaaaarco
Member
Registered: 2014-10-09
Posts: 3

Re: LXDM display manager on resume from suspend/hibernation

Offline

#3 2014-10-15 06:25:36

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: LXDM display manager on resume from suspend/hibernation

@marco

Thanks for the link but I cannot see how they used a display manager to lock the screen. They rather use lock applications such as Xscreensaver and slock.

Offline

#4 2014-10-15 06:34:56

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: LXDM display manager on resume from suspend/hibernation

Does LXDM actually lock the screen? The documentation is sub-optimal...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2014-10-15 07:02:06

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: LXDM display manager on resume from suspend/hibernation

@jasonwryan

As many other login managers it provides a login mask at the start of the session.

Example: http://allanmcrae.com/images/lxdm-theme-preview.png

Basically, all I want to do is triggering this login mask on resume from suspend/hibernation to make the use of lock screen apps such as Xscreensaver obsolete.

Offline

#6 2014-10-15 07:05:18

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: LXDM display manager on resume from suspend/hibernation

So write a service file that calls lxdm upon resume: there are examples on the wiki for slock and the like...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2014-10-22 12:25:29

orschiro
Member
Registered: 2009-06-04
Posts: 2,136
Website

Re: LXDM display manager on resume from suspend/hibernation

Before writing a service file, I first tested whether the login mask can be called again from a running session.

This does not seem to be the case, unfortunately.

As root I tried the following from the command line:

# lxdm
# lxdm-binary

Both commands do not show any error but also don't call the login mask.

Offline

Board footer

Powered by FluxBB