Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

        <dir name="desktop">
                <dir name="gnome">
                        <dir name="session">
                                <entry name="idle_delay" mtime="1292927092" type="int" value="5"/>
        <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 name="gnome-power-manager">
                        <dir name="lock">
                                <entry name="use_screensaver_settings" mtime="1300291577" type="bool" value="true"/>


EDIT: It didn't work.

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. – AquaL1te 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. – AquaL1te Oct 8 '12 at 13:54
Anyone? Please? – AquaL1te 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. – AquaL1te Oct 10 '12 at 11:51
Hi @user95339, did you ever write up your solution? :) – Suman Srinivasan Nov 26 '12 at 18:38

Your Answer


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

Browse other questions tagged or ask your own question.