1 # Configuration options common for suspending to disk or RAM.
2 # Options are not case sensitive.
4 # See hibernate.conf(5) for help on the configuration items.
6 ##############################################################################
7 ### Some global settings
8 ##############################################################################
11 LogFile /var/log/hibernate.log
20 ##############################################################################
22 ### Scriptlets provide support for doing all sorts of things before and after
23 ### suspending. The defaults settings here should work for most people, but
24 ### you may wish to edit these to taste. Consult "hibernate -h" for help on
25 ### the configuration settings.
26 ##############################################################################
29 ## If you use bootsplash, also enabling SwitchToTextMode is recommended if
30 ## you use X, otherwise you may end up with a garbled X display.
32 # BootsplashConfig /etc/bootsplash/default/config/bootsplash-1024x768.cfg
35 SaveClock restore-only
39 # IncompatibleDevices /dev/dsp /dev/video*
42 # DisableWriteCacheOn /dev/hda
44 ### fbsplash (enable SwitchToTextMode if you use this)
46 # FBSplashTheme tuxonice
49 # Unmount /nfsshare /windows /mnt/sambaserver
50 # UnmountFSTypes smbfs nfs
56 # GrubMenuFile /boot/grub/grub.cfg
57 # AlternateGrubMenuFile /boot/grub/grub-suspended.cfg
58 # BackupGrubMenuFile /var/backups/grub.cfg.hibernate
60 # see http://bugs.debian.org/317479
66 # Runi915resolution yes
70 # EnsureLILOResumes yes
72 ### lock (generally you only want one of the following options)
73 ## For console you need vlock available.
74 ## For x you need xscreensaver-command-command available.
75 ## For gnome you need gnome-screensaver-command available.
76 ## For kde you need dcop, kscreensaver available.
77 ## For XAuto you need xautolock available.
78 ## For Xtr you need xtrlock available.
79 ## For Freedesktop (for example KDE4) you need dbus-send available
81 # LockXScreenSaver yes
82 # LockGnomeScreenSaver yes
90 # OnSuspend 20 echo "Good night!"
91 # OnResume 20 echo "Good morning!"
94 # UnloadModules snd_via82cxxx usb-ohci
95 # UnloadAllModules yes
96 UnloadBlacklistedModules yes
98 # LoadModulesFromFile /etc/modules
101 # GentooModulesAutoload yes
104 # DownInterfaces eth0
108 # EnableNMReconnect yes
111 # EnableWICDReconnect yes
121 # IncompatiblePrograms xmms
124 # RestartServices laptop-mode anacron
125 # StopServices alsasound
126 # StartServices aumix
130 # RestoreVbeStateFrom /var/lib/vbetool/vbestate
132 # RestoreVCSAData yes
136 # UseDummyXServer yes
137 # DummyXServerConfig xorg-dummy.conf
140 ## This can be set to gnome, kde or x:
141 ## For gnome you need zenity available.
142 ## For kde you need dcop, kstart, kdialog available.
143 ## For x you need to have xosd OR xmessage available.
145 # XmessageDisable yes
146 # XSuspendText Preparing to suspend...
147 # XResumeText Resuming from suspend...
148 ## When using XStatus x, and you have xosd installed:
149 # XosdSettings --font '-misc-fixed-medium-r-semicondensed--*-120-*-*-c-*-*-*' --colour=Green --shadow 1 --pos bottom --align center --offset 50
155 ## You need to have dbus, gaim_remote available.
157 # GaimRestoreStatus yes
158 # GaimLogoutMessage Hibernating
159 # GaimLoginMessage Back from hibernation
163 # PidginRestoreStatus yes
164 # PidginLogoutMessage Hibernating - bye!
165 # PidginLoginMessage I'm back!
172 # SuspendVirtualbox yes
175 StopServices vboxadd-service vboxadd rc.local
176 StartServices vboxadd vboxadd-service rc.local