# hibernate.conf is split into separate configuration files. # # Each file is tried in the order below, until an available suspend # method is found. # # Options specific to a particular suspend method should be placed in the # appropriate configuration file (suspend2.conf, disk.conf or ram.conf). # Options common to all suspend methods should be placed in common.conf. # # See hibernate.conf(5) for help on the configuration items. #TryMethod disk.conf TryMethod ram.conf # This file is used when suspending to RAM. Use the *-ram.conf files to add # configuration options, or add them before the TryMethod lines in this file. # Options are not case-sensitive. # # See hibernate.conf(5) for help on the configuration items. # save to both, RAM and disk # (disabled by default, since it takes longer) # TryMethod ususpend-both.conf #TryMethod ususpend-ram.conf TryMethod sysfs-ram.conf # The following vbetool settings help with > 50% of laptops. EnableVbetool yes VbetoolPost yes # Users with a Radeon graphics card may need to enable this line for # suspend-to-ram, and install the radeontool program available from # http://fdd.com/software/radeon/ or your distribution's package. # # RadeonTool yes # Configuration options common for suspending to disk or RAM. # Options are not case sensitive. # # See hibernate.conf(5) for help on the configuration items. ############################################################################## ### Some global settings ############################################################################## Verbosity 3 LogFile /var/log/hibernate.log LogVerbosity 3 # LogTimestamp yes # AlwaysForce yes # AlwaysKill yes # HibernateVT 15 Distribution debian # XDisplay :0 ############################################################################## ### Scriptlets ### Scriptlets provide support for doing all sorts of things before and after ### suspending. The defaults settings here should work for most people, but ### you may wish to edit these to taste. Consult "hibernate -h" for help on ### the configuration settings. ############################################################################## ### bootsplash ## If you use bootsplash, also enabling SwitchToTextMode is recommended if ## you use X, otherwise you may end up with a garbled X display. # Bootsplash on # BootsplashConfig /etc/bootsplash/default/config/bootsplash-1024x768.cfg ### clock SaveClock restore-only ### devices # IncompatibleDevices /dev/dsp /dev/video* ### diskcache # DisableWriteCacheOn /dev/hda ### fbsplash (enable SwitchToTextMode if you use this) # FBSplash on # FBSplashTheme suspend2 ### filesystems # Unmount /nfsshare /windows /mnt/sambaserver # UnmountFSTypes smbfs nfs # UnmountGraceTime 1 # Mount /windows ### grub # ChangeGrubMenu yes # GrubMenuFile /boot/grub/menu.lst # AlternateGrubMenuFile /boot/grub/menu-suspended.lst # BackupGrubMenuFile /var/backups/grub.conf.hibernate # ## see http://bugs.debian.org/317479 # RemountXFSBoot yes ### hardware_tweaks # IbmAcpi yes # Runi915resolution yes ### lilo # EnsureLILOResumes yes ### lock (generally you only want one of the following options) # LockConsoleAs root # LockXScreenSaver yes # LockGnomeScreenSaver yes # LockKDE yes # LockXLock yes # LockXAutoLock yes ### misclaunch # OnSuspend 20 echo "Good night!" # OnResume 20 echo "Good morning!" ### modules # UnloadModules snd_via82cxxx usb-ohci # UnloadAllModules yes UnloadBlacklistedModules yes LoadModules auto # LoadModulesFromFile /etc/modules ### modules-gentoo # GentooModulesAutoload yes ### network DownInterfaces eth0 UpInterfaces auto ### pause_audio # PauseAudio yes ### pcmcia # EjectCards yes ### programs # IncompatiblePrograms xmms ### services # RestartServices laptop-mode # StopServices alsasound # StartServices aumix ### vbetool # EnableVbetool yes # RestoreVbeStateFrom /var/lib/vbetool/vbestate # VbetoolPost yes # RestoreVCSAData yes ### xhacks SwitchToTextMode yes # UseDummyXServer yes # DummyXServerConfig xorg-dummy.conf ### xstatus ## This can be set to gnome, kde or x: # XStatus gnome # XmessageDisable yes # XSuspendText Preparing to suspend... # XResumeText Resuming from suspend... ## When using XStatus x, and you have xosd installed: # XosdSettings --font '-misc-fixed-medium-r-semicondensed--*-120-*-*-c-*-*-*' --colour=Green --shadow 1 --pos bottom --align center --offset 50