Previously I met one of the maintainer of gdm and we had some
discussion about this, too.
They also use xscreensaver for this purpose in Oracle and there
doesn't seem to be a standard way to do this.
So my suggestion is making the lock command configurable through
config file and fallback to xscreensaver if it's not set.
This is not a perfect solution but at least it should work most of the time.
For distros which provides alternative locking mechanisms, they can
set this lock command to their own specialized script.
Then when locking is needed, lxsession calls their script, and their
script determines which locking program to use on their own with their
distro-specific way, such as update-alternatives used by Debian.
Any comments?
If there is no objection, I'm willing to do some hacks to add this,
and make a release after it gets tested.

On Mon, Aug 30, 2010 at 9:01 AM, Klaus Knopper <[email protected]> wrote:
> Hi,
>
> On Sun, Aug 29, 2010 at 07:56:10PM -0400, Marty Jack wrote:
>> We have LTSP support and UPower support pending.  We also have the 
>> lock-on-hibernate pending, but last action is it was 'reverted for more 
>> feedback'.
>
> By coincidence, I just filed a bug report because of lxsession-logout
> unconditionally calling the screensaver lock after wakeup from
> hibernate, just before reading your mail. Apparently, more people had the
> problem of losing their session because they don't use (valid) passwords
> in auto-login sessions, and are therefore locked out after resume.
>
>> Shall we ship it the way git head is?
>
> If there is a way for the user to configure whether or not to call
> xscreensaver -lock, I have no objections against a similar patch.
>
> Currently, I can't use the official debian package because of this. :-(
>
> Regards
> -Klaus
>
> ------------------------------------------------------------------------------
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users
> worldwide. Take advantage of special opportunities to increase revenue and
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-d2d
> _______________________________________________
> Lxde-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lxde-list
>

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to