summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/gnome-screensaver/gnome-screensaver.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-03-15 20:42:21 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-03-15 20:42:21 (GMT)
commit65970e8b269744cf879172cf07f4a1c5232bb903 (patch)
tree86342d58cfaaa9de7a9fdd9280d3f3b13cfc2675 /abs/extra-testing/gnome-screensaver/gnome-screensaver.install
parenta92ea834d2195d82bfa1497efd014c79ba155faf (diff)
downloadlinhes_pkgbuild-65970e8b269744cf879172cf07f4a1c5232bb903.zip
linhes_pkgbuild-65970e8b269744cf879172cf07f4a1c5232bb903.tar.gz
linhes_pkgbuild-65970e8b269744cf879172cf07f4a1c5232bb903.tar.bz2
Adding support for gnome-screensaver.
Defaults are 10 minutes, no lock , cosmos.
Diffstat (limited to 'abs/extra-testing/gnome-screensaver/gnome-screensaver.install')
-rw-r--r--abs/extra-testing/gnome-screensaver/gnome-screensaver.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/abs/extra-testing/gnome-screensaver/gnome-screensaver.install b/abs/extra-testing/gnome-screensaver/gnome-screensaver.install
index d79cf1a..aafd6a3 100644
--- a/abs/extra-testing/gnome-screensaver/gnome-screensaver.install
+++ b/abs/extra-testing/gnome-screensaver/gnome-screensaver.install
@@ -2,6 +2,15 @@ pkgname=gnome-screensaver
post_install() {
usr/sbin/gconfpkg --install ${pkgname}
+ #set defaults
+ gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type bool --set /apps/gnome-screensaver/lock_enabled false
+ gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type int -s "/apps/gnome-screensaver/idle_delay" 10
+ gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --set --type list --list-type=string /apps/gnome-screensaver/themes [screensavers-cosmos-slideshow]
+ gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type string -s "/apps/gnome-screensaver/mode" single
+
+
+
+
}
pre_upgrade() {