preseed disable screen saver

Carl Karsten carl at personnelware.com
Sun Nov 7 23:39:30 GMT 2010


On Sun, Nov 7, 2010 at 1:26 PM, Carl Karsten <carl at personnelware.com> wrote:
> What preseed will disable the screen saver?
>
> juser at dhcp232:~$ debconf-get-selections --installer > file
> juser at dhcp232:~$ debconf-get-selections >> file
> juser at dhcp232:~$ grep saver file
> # xscreensaver and xlockmore must be restarted before upgrading
> libc6   glibc/disable-screensaver       error
> # xscreensaver and xlockmore must be restarted before upgrading
> libpam-modules  libpam-modules/disable-screensaver      error
>
> error? I'll try setting those both to true, but it would be nice to
> hear that is correct.

No luck:

libc6   glibc/disable-screensaver       boolean true
libpam-modules  libpam-modules/disable-screensaver      boolean true


>
> I found the per user setting, which is just fine, only care about the
> initial user.
>
> juser at dhcp232:~/.gconf/apps/gnome-screensaver$ cat %gconf.xml
> <?xml version="1.0"?>
> <gconf>
>        <entry name="lock_enabled" mtime="1289155742" type="bool" value="false"/>
>        <entry name="idle_activation_enabled" mtime="1289156435" type="bool"
> value="true"/>
>        <entry name="themes" mtime="1289156548" type="list" ltype="string">
>        </entry>
>        <entry name="mode" mtime="1289156548" type="string">
>                <stringvalue>blank-only</stringvalue>
>        </entry>
> </gconf>
>

The dir/file doesn't get created until after
gnome-screensaver-preferences has been run.  (and even then not until
something - not sure what, doesn't seem to be setting an option.  Not
sure it matters for my case:

juser at dhcp232:~/.gconf/apps$ ls
evolution  %gconf.xml  nautilus  nm-applet  panel  update-notifier

juser at dhcp232:~/.gconf/apps$ gnome-screensaver-preferences
** (gnome-screensaver-preferences:2413): DEBUG: Found best visual for GL: 0x91
juser at dhcp232:~/.gconf/apps$ ls
evolution  %gconf.xml  nautilus  nm-applet  panel  update-notifier

juser at dhcp232:~/.gconf/apps$ gnome-screensaver-preferences
** (gnome-screensaver-preferences:2423): DEBUG: Found best visual for GL: 0x91
juser at dhcp232:~/.gconf/apps$ ls
evolution   gnome-screensaver  nm-applet  update-notifier
%gconf.xml  nautilus           panel



-- 
Carl K



More information about the Ubuntu-installer mailing list