Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm a Linux sysadmin and I maintain 100 Ubuntu desktops. We're about to upgrade to 12.04, but before we can do that we have to make Ubuntu PCI complaint. Meaning we have to lock some mandatory settings from the users. I've done all of the settings except the following.

The last PCI settings:

  • Users may not change their screen saver timeout, it has to be set to 5 minutes. And locked so that no configuration can be made by the user.
  • Users must always unlock their screen when the automatic screen saver is enabled and a keystroke or mouse movement is initiated by the user. This setting must be locked as well.

I also want to push default LibreOffice settings e.g. the hardware acceleration in LO is breaking the full screen presentation option in Impress. So disabling that is important.

On Ubuntu 11.04 I could do this by adding the configuration below in /etc/gconf/gconf.xml.mandatory/. But that doesn't work anymore for the screen saver in 12.04.

I would like to know how I can make these settings mandatory in an easy way. This must also work for new machines as well, so copying profiles is not a solution.

<gconf>
        <dir name="desktop">
                <dir name="gnome">
                        <dir name="session">
                                <entry name="idle_delay" mtime="1292927092" type="int" value="5"/>
                        </dir>
                </dir>
        </dir>
        <dir name="apps">
                <dir name="gnome-screensaver">
                        <entry name="idle_activation_enabled" mtime="1300290816" type="bool" value="true"/>
                        <entry name="lock_enabled" mtime="1300290814" type="bool" value="true"/>

                </dir>
        </dir>
                <dir name="gnome-power-manager">
                        <dir name="lock">
                                <entry name="use_screensaver_settings" mtime="1300291577" type="bool" value="true"/>

                        </dir>
                </dir>
</gconf>
share|improve this question
    
That would work for an upgrade yes, but not for new users. And as I explained the configuration has changed, I don't know how to enforce those same settings with 12.04. –  user95339 Oct 8 '12 at 13:07
    
@ kamil, could you elaborate on that solution? Please note that this is not just for a transition but also for newly kickstarted Ubuntu desktops. And the settings of 11.04 don't work on 12.04 as I mentioned twice now. –  user95339 Oct 8 '12 at 13:54
    
Anyone? Please? –  user95339 Oct 9 '12 at 7:21
    
I've found a way! I'll exercise this for a bit and then I'll write some documentation for Debian. I'll post the link here when done. –  user95339 Oct 10 '12 at 11:51
    
Hi @user95339, did you ever write up your solution? :) –  Suman Nov 26 '12 at 18:38
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.