hibernate/common.conf
changeset 0 60bc07f3f415
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/hibernate/common.conf	Thu Feb 27 17:12:59 2014 +0100
     1.3 @@ -0,0 +1,176 @@
     1.4 +# Configuration options common for suspending to disk or RAM.
     1.5 +# Options are not case sensitive.
     1.6 +# 
     1.7 +# See hibernate.conf(5) for help on the configuration items.
     1.8 +
     1.9 +##############################################################################
    1.10 +### Some global settings
    1.11 +##############################################################################
    1.12 +
    1.13 +Verbosity 0
    1.14 +LogFile /var/log/hibernate.log
    1.15 +LogVerbosity 1
    1.16 +# LogTimestamp yes
    1.17 +# AlwaysForce yes
    1.18 +# AlwaysKill yes
    1.19 +# HibernateVT 15
    1.20 +Distribution debian
    1.21 +# XDisplay :0
    1.22 +
    1.23 +##############################################################################
    1.24 +### Scriptlets
    1.25 +###   Scriptlets provide support for doing all sorts of things before and after
    1.26 +###   suspending. The defaults settings here should work for most people, but
    1.27 +###   you may wish to edit these to taste. Consult "hibernate -h" for help on
    1.28 +###   the configuration settings.
    1.29 +##############################################################################
    1.30 +
    1.31 +### bootsplash
    1.32 +## If you use bootsplash, also enabling SwitchToTextMode is recommended if
    1.33 +## you use X, otherwise you may end up with a garbled X display.
    1.34 +# Bootsplash on
    1.35 +# BootsplashConfig /etc/bootsplash/default/config/bootsplash-1024x768.cfg
    1.36 +
    1.37 +### clock
    1.38 +SaveClock restore-only
    1.39 +#DirectIsa
    1.40 +
    1.41 +### devices
    1.42 +# IncompatibleDevices /dev/dsp /dev/video*
    1.43 +
    1.44 +### diskcache
    1.45 +# DisableWriteCacheOn /dev/hda
    1.46 +
    1.47 +### fbsplash (enable SwitchToTextMode if you use this)
    1.48 +# FBSplash on
    1.49 +# FBSplashTheme tuxonice
    1.50 +
    1.51 +### filesystems
    1.52 +# Unmount /nfsshare /windows /mnt/sambaserver
    1.53 +# UnmountFSTypes smbfs nfs
    1.54 +# UnmountGraceTime 1
    1.55 +# Mount /windows
    1.56 +
    1.57 +### grub
    1.58 +# ChangeGrubMenu yes
    1.59 +# GrubMenuFile /boot/grub/grub.cfg
    1.60 +# AlternateGrubMenuFile /boot/grub/grub-suspended.cfg
    1.61 +# BackupGrubMenuFile /var/backups/grub.cfg.hibernate
    1.62 +
    1.63 +# see http://bugs.debian.org/317479
    1.64 +# RemountXFSBoot yes
    1.65 +
    1.66 +### hardware_tweaks
    1.67 +# IbmAcpi yes
    1.68 +# RadeonTool yes
    1.69 +# Runi915resolution yes
    1.70 +# FullSpeedCPU yes
    1.71 +
    1.72 +### lilo
    1.73 +# EnsureLILOResumes yes
    1.74 +
    1.75 +### lock (generally you only want one of the following options)
    1.76 +## For console you need vlock available.
    1.77 +## For x you need xscreensaver-command-command available.
    1.78 +## For gnome you need gnome-screensaver-command available.
    1.79 +## For kde you need dcop, kscreensaver available.
    1.80 +## For XAuto you need xautolock available.
    1.81 +## For Xtr you need xtrlock available.
    1.82 +## For Freedesktop (for example KDE4) you need dbus-send available
    1.83 +# LockConsoleAs root
    1.84 +# LockXScreenSaver yes
    1.85 +# LockGnomeScreenSaver yes
    1.86 +# LockFreedesktop
    1.87 +# LockKDE yes
    1.88 +# LockXLock yes
    1.89 +# LockXAutoLock yes
    1.90 +# LockXtrLock yes
    1.91 +
    1.92 +### misclaunch
    1.93 +# OnSuspend 20 echo "Good night!"
    1.94 +# OnResume 20 echo "Good morning!"
    1.95 +
    1.96 +### modules
    1.97 +# UnloadModules snd_via82cxxx usb-ohci
    1.98 +# UnloadAllModules yes
    1.99 +UnloadBlacklistedModules yes
   1.100 +LoadModules auto
   1.101 +# LoadModulesFromFile /etc/modules
   1.102 +
   1.103 +### modules-gentoo
   1.104 +# GentooModulesAutoload yes
   1.105 +
   1.106 +### network
   1.107 +# DownInterfaces eth0
   1.108 +# UpInterfaces auto
   1.109 +
   1.110 +### networkmanager
   1.111 +# EnableNMReconnect yes
   1.112 +
   1.113 +### wicd
   1.114 +# EnableWICDReconnect yes
   1.115 +
   1.116 +### pause_audio
   1.117 +# MuteAudio yes
   1.118 +# PauseAudio yes
   1.119 +
   1.120 +### pcmcia
   1.121 +# EjectCards yes
   1.122 +
   1.123 +### programs
   1.124 +# IncompatiblePrograms xmms
   1.125 +
   1.126 +### services
   1.127 +# RestartServices laptop-mode anacron
   1.128 +# StopServices alsasound
   1.129 +# StartServices aumix
   1.130 +
   1.131 +### vbetool
   1.132 +# EnableVbetool yes
   1.133 +# RestoreVbeStateFrom /var/lib/vbetool/vbestate
   1.134 +# VbetoolPost yes
   1.135 +# RestoreVCSAData yes
   1.136 +
   1.137 +### xhacks
   1.138 +SwitchToTextMode yes
   1.139 +# UseDummyXServer yes
   1.140 +# DummyXServerConfig xorg-dummy.conf
   1.141 +
   1.142 +### xstatus
   1.143 +## This can be set to gnome, kde or x:
   1.144 +## For gnome you need zenity available.
   1.145 +## For kde you need dcop, kstart, kdialog available.
   1.146 +## For x you need to have xosd OR xmessage available.
   1.147 +# XStatus gnome
   1.148 +# XmessageDisable yes
   1.149 +# XSuspendText Preparing to suspend...
   1.150 +# XResumeText Resuming from suspend...
   1.151 +## When using XStatus x, and you have xosd installed:
   1.152 +# XosdSettings --font '-misc-fixed-medium-r-semicondensed--*-120-*-*-c-*-*-*' --colour=Green --shadow 1 --pos bottom --align center --offset 50
   1.153 +
   1.154 +### xbacklight
   1.155 +# BackLight yes
   1.156 +
   1.157 +### gaim
   1.158 +## You need to have dbus, gaim_remote available.
   1.159 +# LogoutGaim yes
   1.160 +# GaimRestoreStatus yes
   1.161 +# GaimLogoutMessage Hibernating
   1.162 +# GaimLoginMessage Back from hibernation
   1.163 +
   1.164 +### pidgin
   1.165 +# LogoutPidgin yes
   1.166 +# PidginRestoreStatus yes
   1.167 +# PidginLogoutMessage Hibernating - bye!
   1.168 +# PidginLoginMessage I'm back!
   1.169 +
   1.170 +### SSH and PGP keys
   1.171 +# AgentsClearGPG yes
   1.172 +# AgentsClearSSH yes
   1.173 +
   1.174 +### Virtualbox
   1.175 +# SuspendVirtualbox yes
   1.176 +
   1.177 +# osecvm
   1.178 +StopServices vboxadd-service vboxadd rc.local
   1.179 +StartServices vboxadd vboxadd-service rc.local