[K12OSN] USB drive & screen lock questions
Gerald Drouillard
gerrylist at drouillard.ca
Thu Oct 14 22:49:25 UTC 2010
On 10/13/2010 3:15 PM, Dan Young wrote:
> On Wed, Oct 13, 2010 at 9:31 AM, Phydeaux<reb at taco.com> wrote:
>> -- The screen saver timeout is set to 5 minutes after which it locks the
>> screen. This drives the students and teachers crazy. Is there a way to set
>> this centrally? I've tried gconf-editor but it only applied the settings to
>> the account I was working in.
> As root:
> gconf-editor
> File, New Defaults Window
>
> --
> Dan Young<dyoung at mesd.k12.or.us>
> Multnomah ESD - Technology Services
> 503-257-1562
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see<http://www.k12os.org>
Try something like this:
#!/bin/bash
gconftool-2 --direct \
--config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
--type bool \
--set /apps/gnome-screensaver/idle_activation_enabled true
gconftool-2 --direct \
--config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
--type bool \
--set /apps/gnome-screensaver/lock_enabled false
gconftool-2 --direct \
--config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
--type string \
--set /apps/gnome-screensaver/mode blank-only
gconftool-2 --direct \
--config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
--type int \
--set /apps/gnome-screensaver/idle_delay 10
gconftool-2 --direct \
--config-source xml:readwrite:/etc/gconf/gconf.xml.defaults \
--type bool \
--set /apps/gnome-power-manager/lock_on_blank_screen false
gconftool-2 --direct \
--config-source xml:readwrite:/etc/gconf/gconf.xml.defaults \
--type bool \
--set /apps/gnome-power-manager/lock_use_screensaver_settings false
gconftool-2 --direct \
--config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
--type bool \
--set /apps/panel/global/locked_down true
--
Regards
--------------------------------------
Gerald Drouillard
Technology Architect
Drouillard& Associates, Inc.
http://www.Drouillard.biz
More information about the K12OSN
mailing list