20-load_gconf_default_settings 267 B

12345678910111213141516171819
  1. #!/bin/sh
  2. set -e
  3. # Load GConf settings.
  4. echo "Loading GConf settings"
  5. gct() {
  6. gconftool-2 \
  7. --direct \
  8. --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults \
  9. "${@}"
  10. }
  11. for file in /usr/share/amnesia/gconf/*.xml ; do
  12. gct --load "${file}"
  13. done