summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-04-17 15:11:56 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-04-17 15:11:56 +0800
commitfc7f35d286900e53f2188373e67bda4c483b571b (patch)
tree378d4342eed9996244acbec7c3435d5bc0bc20a7 /sysutils
parent5d144a9e984bf6125e4e40757b28ca1573d88f95 (diff)
downloadmarcuscom-ports-fc7f35d286900e53f2188373e67bda4c483b571b.tar.gz
marcuscom-ports-fc7f35d286900e53f2188373e67bda4c483b571b.tar.zst
marcuscom-ports-fc7f35d286900e53f2188373e67bda4c483b571b.zip
Change the default behaviour regarding suspend.
Power button is shutdown now. display closed switch do nothing. And with/without battery x minutes idle action, do nothing. These settings are changeable with the gnome-tweak-tool. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15834 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gnome-settings-daemon3/Makefile3
-rw-r--r--sysutils/gnome-settings-daemon3/files/patch-data_org.gnome.settings-daemon.plugins.power.gschema.xml.in.in42
2 files changed, 44 insertions, 1 deletions
diff --git a/sysutils/gnome-settings-daemon3/Makefile b/sysutils/gnome-settings-daemon3/Makefile
index d0069569a..27ce181c1 100644
--- a/sysutils/gnome-settings-daemon3/Makefile
+++ b/sysutils/gnome-settings-daemon3/Makefile
@@ -3,11 +3,12 @@
# Whom: Koop Mast <kwm@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/sysutils/gnome-settings-daemon3/Makefile,v 1.19 2011/04/05 12:55:25 kwm Exp $
+# $MCom: ports/sysutils/gnome-settings-daemon3/Makefile,v 1.20 2011/04/07 07:30:24 kwm Exp $
#
PORTNAME= gnome-settings-daemon
PORTVERSION= 3.0.0.1
+PORTREVISION= 1
CATEGORIES= sysutils gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
diff --git a/sysutils/gnome-settings-daemon3/files/patch-data_org.gnome.settings-daemon.plugins.power.gschema.xml.in.in b/sysutils/gnome-settings-daemon3/files/patch-data_org.gnome.settings-daemon.plugins.power.gschema.xml.in.in
new file mode 100644
index 000000000..a3039f2d5
--- /dev/null
+++ b/sysutils/gnome-settings-daemon3/files/patch-data_org.gnome.settings-daemon.plugins.power.gschema.xml.in.in
@@ -0,0 +1,42 @@
+--- data/org.gnome.settings-daemon.plugins.power.gschema.xml.in.in.orig 2011-04-17 08:34:12.000000000 +0200
++++ data/org.gnome.settings-daemon.plugins.power.gschema.xml.in.in 2011-04-17 09:05:45.000000000 +0200
+@@ -51,7 +51,7 @@
+ <description>The amount of time in seconds the computer on AC power needs to be inactive before it goes to sleep.</description>
+ </key>
+ <key name="sleep-inactive-ac-type" enum="org.gnome.settings-daemon.GsdPowerActionType">
+- <default>'suspend'</default>
++ <default>'nothing'</default>
+ <summary>Whether to hibernate, suspend or do nothing when inactive</summary>
+ <description>The type of sleeping that should be performed when the computer is inactive.</description>
+ </key>
+@@ -66,7 +66,7 @@
+ <description>The amount of time in seconds the computer on battery power needs to be inactive before it goes to sleep.</description>
+ </key>
+ <key name="sleep-inactive-battery-type" enum="org.gnome.settings-daemon.GsdPowerActionType">
+- <default>'suspend'</default>
++ <default>'nothing'</default>
+ <summary>Whether to hibernate, suspend or do nothing when inactive</summary>
+ <description>The type of sleeping that should be performed when the computer is inactive.</description>
+ </key>
+@@ -86,18 +86,18 @@
+ <description>The action to take when the system sleep (non-specific type) button is pressed.</description>
+ </key>
+ <key name="button-power" enum="org.gnome.settings-daemon.GsdPowerActionType">
+- <default>'suspend'</default>
++ <default>'shutdown'</default>
+ <summary>Power button action</summary>
+ <description>The action to take when the system power button is pressed.</description>
+ </key>
+ <!-- See http://bugzilla.gnome.org/637473 for rationale -->
+ <key name="lid-close-battery-action" enum="org.gnome.settings-daemon.GsdPowerActionType">
+- <default>'suspend'</default>
++ <default>'nothing'</default>
+ <summary>Laptop lid close action on battery</summary>
+ <description>The action to take when the laptop lid is closed and the laptop is on battery power.</description>
+ </key>
+ <key name="lid-close-ac-action" enum="org.gnome.settings-daemon.GsdPowerActionType">
+- <default>'suspend'</default>
++ <default>'nothing'</default>
+ <summary>Laptop lid close action when on AC</summary>
+ <description>The action to take when the laptop lid is closed and the laptop is on AC power.</description>
+ </key>