summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/gnome-screensaver
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
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')
-rw-r--r--abs/extra-testing/gnome-screensaver/PKGBUILD2
-rw-r--r--abs/extra-testing/gnome-screensaver/__changelog1
-rw-r--r--abs/extra-testing/gnome-screensaver/gnome-screensaver.install9
3 files changed, 11 insertions, 1 deletions
diff --git a/abs/extra-testing/gnome-screensaver/PKGBUILD b/abs/extra-testing/gnome-screensaver/PKGBUILD
index 963032c..fd8476f 100644
--- a/abs/extra-testing/gnome-screensaver/PKGBUILD
+++ b/abs/extra-testing/gnome-screensaver/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=gnome-screensaver
pkgver=2.24.1
-pkgrel=3
+pkgrel=5
pkgdesc="Screensaver designed to integrate well with the GNOME desktop."
arch=(i686 x86_64)
license=('GPL')
diff --git a/abs/extra-testing/gnome-screensaver/__changelog b/abs/extra-testing/gnome-screensaver/__changelog
new file mode 100644
index 0000000..e1b40cd
--- /dev/null
+++ b/abs/extra-testing/gnome-screensaver/__changelog
@@ -0,0 +1 @@
+add defaults to install file
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() {