From c9d609a8ea66a4ef6c5ffd927bafdf2dbf740823 Mon Sep 17 00:00:00 2001 From: fbrehm Date: Thu, 31 May 2012 02:43:13 +0200 Subject: [PATCH] saving uncommitted changes in /etc prior to emerge run --- .etckeeper | 1 + UPower/._cfg0000_UPower.conf | 60 ++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 UPower/._cfg0000_UPower.conf diff --git a/.etckeeper b/.etckeeper index 3ec63da..48002bb 100755 --- a/.etckeeper +++ b/.etckeeper @@ -70,6 +70,7 @@ maybe chmod 0644 './NetworkManager/nm-system-settings.conf' maybe chmod 0755 './NetworkManager/system-connections' maybe chmod 0644 './NetworkManager/system-connections/.keep_net-misc_networkmanager-0' maybe chmod 0755 './UPower' +maybe chmod 0644 './UPower/._cfg0000_UPower.conf' maybe chmod 0644 './UPower/UPower.conf' maybe chmod 0755 './X11' maybe chmod 0755 './X11/Sessions' diff --git a/UPower/._cfg0000_UPower.conf b/UPower/._cfg0000_UPower.conf new file mode 100644 index 0000000..23f06f8 --- /dev/null +++ b/UPower/._cfg0000_UPower.conf @@ -0,0 +1,60 @@ +# Only the system vendor should modify this file, ordinary users +# should not have to change anything. + +[UPower] + +# This is the smallest amount of time that UPower gives to session and system +# processes after the suspend or hibernate request is given. +# If the session power management component uses AboutToSuspend() then the +# session process can only make this time larger than the value below, never +# smaller. +# +# Reducing this time means the suspend happens quicker, but might also not give +# some processes enough time to save state. +# +# default=1000 +SleepTimeout=1000 + +# This controls whether hibernate is allowed when using encrypted swap. +# +# default=true +AllowHibernateEncryptedSwap=true + +# This controls whether we want the powersave commands to be run when running +# on battery or plugging AC. +# +# default=true +RunPowersaveCommand=true + +# Enable the Watts Up Pro device. +# +# The Watts Up Pro contains a generic FTDI USB device without a specific +# vendor and product ID. When we probe for WUP devices, we can cause +# the user to get a perplexing "Device or resource busy" error when +# attempting to use their non-WUP device. +# +# The generic FTDI device is known to also be used on: +# +# - Sparkfun FT232 breakout board +# - Parallax Propeller +# +# default=true +EnableWattsUpPro=true + +# Poll the kernel for dock state changes. +# +# Some drivers are still broken, and do not send out uvents when the +# connected state changes. +# +# default=false +PollDockDevices=false + +# Do we ignore the lid state +# +# Some laptops are broken. The lid state is either inverted, or stuck +# on or off. We can't do much to fix these problems, but this is a way +# for users to make the laptop panel vanish and for programs like +# gnome-power-manager to not suspend on system startup. +# +# default=false +IgnoreLid=false -- 2.39.5