Re: How to disable screen locking system-wide?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



>-----Original Message-----
>From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On
>Behalf Of John Hodrien
>Sent: Thursday, January 20, 2011 2:02 PM
>To: CentOS mailing list
>Subject: Re:  How to disable screen locking system-wide?
>
>>> I don't know the exact path but you can use gconftool-2 (or
>>> gconf-editor as a GUI) to set the screensaver not to lock (and mimick
>>> doing so by changing the screensaver preferences in
>>> "System-Preferences-Screensaver").
>>
>> That's a per-user setting you describe, right?
>
>No, you can make that work for all users with gconf-editor by editing the
>right file.  My previously suggested solution just does that in one go
>without a gui:
>
>gconftool-2 --direct \
>--config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type bool
>\
>--set /apps/gnome-screensaver/lock_enabled false
>
>That makes it mandatory, so it can't be overridden, and will affect all
>users. Only fixes it for gnome, I don't know what the equivalent fix is for
>KDE.  You need to take other steps to enforce it in the other direction, as
>killall gnome-screensaver would defeat it.

Ah, I misunderstood first. The penny dropped now. 8-) Thanks.


-- 
/Sorin

<<attachment: smime.p7s>>

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux