ft@0: # Configuration options common for suspending to disk or RAM. ft@0: # Options are not case sensitive. ft@0: # ft@0: # See hibernate.conf(5) for help on the configuration items. ft@0: ft@0: ############################################################################## ft@0: ### Some global settings ft@0: ############################################################################## ft@0: ft@0: Verbosity 0 ft@0: LogFile /var/log/hibernate.log ft@0: LogVerbosity 1 ft@0: # LogTimestamp yes ft@0: # AlwaysForce yes ft@0: # AlwaysKill yes ft@0: # HibernateVT 15 ft@0: Distribution debian ft@0: # XDisplay :0 ft@0: ft@0: ############################################################################## ft@0: ### Scriptlets ft@0: ### Scriptlets provide support for doing all sorts of things before and after ft@0: ### suspending. The defaults settings here should work for most people, but ft@0: ### you may wish to edit these to taste. Consult "hibernate -h" for help on ft@0: ### the configuration settings. ft@0: ############################################################################## ft@0: ft@0: ### bootsplash ft@0: ## If you use bootsplash, also enabling SwitchToTextMode is recommended if ft@0: ## you use X, otherwise you may end up with a garbled X display. ft@0: # Bootsplash on ft@0: # BootsplashConfig /etc/bootsplash/default/config/bootsplash-1024x768.cfg ft@0: ft@0: ### clock ft@0: SaveClock restore-only ft@0: #DirectIsa ft@0: ft@0: ### devices ft@0: # IncompatibleDevices /dev/dsp /dev/video* ft@0: ft@0: ### diskcache ft@0: # DisableWriteCacheOn /dev/hda ft@0: ft@0: ### fbsplash (enable SwitchToTextMode if you use this) ft@0: # FBSplash on ft@0: # FBSplashTheme tuxonice ft@0: ft@0: ### filesystems ft@0: # Unmount /nfsshare /windows /mnt/sambaserver ft@0: # UnmountFSTypes smbfs nfs ft@0: # UnmountGraceTime 1 ft@0: # Mount /windows ft@0: ft@0: ### grub ft@0: # ChangeGrubMenu yes ft@0: # GrubMenuFile /boot/grub/grub.cfg ft@0: # AlternateGrubMenuFile /boot/grub/grub-suspended.cfg ft@0: # BackupGrubMenuFile /var/backups/grub.cfg.hibernate ft@0: ft@0: # see http://bugs.debian.org/317479 ft@0: # RemountXFSBoot yes ft@0: ft@0: ### hardware_tweaks ft@0: # IbmAcpi yes ft@0: # RadeonTool yes ft@0: # Runi915resolution yes ft@0: # FullSpeedCPU yes ft@0: ft@0: ### lilo ft@0: # EnsureLILOResumes yes ft@0: ft@0: ### lock (generally you only want one of the following options) ft@0: ## For console you need vlock available. ft@0: ## For x you need xscreensaver-command-command available. ft@0: ## For gnome you need gnome-screensaver-command available. ft@0: ## For kde you need dcop, kscreensaver available. ft@0: ## For XAuto you need xautolock available. ft@0: ## For Xtr you need xtrlock available. ft@0: ## For Freedesktop (for example KDE4) you need dbus-send available ft@0: # LockConsoleAs root ft@0: # LockXScreenSaver yes ft@0: # LockGnomeScreenSaver yes ft@0: # LockFreedesktop ft@0: # LockKDE yes ft@0: # LockXLock yes ft@0: # LockXAutoLock yes ft@0: # LockXtrLock yes ft@0: ft@0: ### misclaunch ft@0: # OnSuspend 20 echo "Good night!" ft@0: # OnResume 20 echo "Good morning!" ft@0: ft@0: ### modules ft@0: # UnloadModules snd_via82cxxx usb-ohci ft@0: # UnloadAllModules yes ft@0: UnloadBlacklistedModules yes ft@0: LoadModules auto ft@0: # LoadModulesFromFile /etc/modules ft@0: ft@0: ### modules-gentoo ft@0: # GentooModulesAutoload yes ft@0: ft@0: ### network ft@0: # DownInterfaces eth0 ft@0: # UpInterfaces auto ft@0: ft@0: ### networkmanager ft@0: # EnableNMReconnect yes ft@0: ft@0: ### wicd ft@0: # EnableWICDReconnect yes ft@0: ft@0: ### pause_audio ft@0: # MuteAudio yes ft@0: # PauseAudio yes ft@0: ft@0: ### pcmcia ft@0: # EjectCards yes ft@0: ft@0: ### programs ft@0: # IncompatiblePrograms xmms ft@0: ft@0: ### services ft@0: # RestartServices laptop-mode anacron ft@0: # StopServices alsasound ft@0: # StartServices aumix ft@0: ft@0: ### vbetool ft@0: # EnableVbetool yes ft@0: # RestoreVbeStateFrom /var/lib/vbetool/vbestate ft@0: # VbetoolPost yes ft@0: # RestoreVCSAData yes ft@0: ft@0: ### xhacks ft@0: SwitchToTextMode yes ft@0: # UseDummyXServer yes ft@0: # DummyXServerConfig xorg-dummy.conf ft@0: ft@0: ### xstatus ft@0: ## This can be set to gnome, kde or x: ft@0: ## For gnome you need zenity available. ft@0: ## For kde you need dcop, kstart, kdialog available. ft@0: ## For x you need to have xosd OR xmessage available. ft@0: # XStatus gnome ft@0: # XmessageDisable yes ft@0: # XSuspendText Preparing to suspend... ft@0: # XResumeText Resuming from suspend... ft@0: ## When using XStatus x, and you have xosd installed: ft@0: # XosdSettings --font '-misc-fixed-medium-r-semicondensed--*-120-*-*-c-*-*-*' --colour=Green --shadow 1 --pos bottom --align center --offset 50 ft@0: ft@0: ### xbacklight ft@0: # BackLight yes ft@0: ft@0: ### gaim ft@0: ## You need to have dbus, gaim_remote available. ft@0: # LogoutGaim yes ft@0: # GaimRestoreStatus yes ft@0: # GaimLogoutMessage Hibernating ft@0: # GaimLoginMessage Back from hibernation ft@0: ft@0: ### pidgin ft@0: # LogoutPidgin yes ft@0: # PidginRestoreStatus yes ft@0: # PidginLogoutMessage Hibernating - bye! ft@0: # PidginLoginMessage I'm back! ft@0: ft@0: ### SSH and PGP keys ft@0: # AgentsClearGPG yes ft@0: # AgentsClearSSH yes ft@0: ft@0: ### Virtualbox ft@0: # SuspendVirtualbox yes ft@0: ft@0: # osecvm ft@0: StopServices vboxadd-service vboxadd rc.local ft@0: StartServices vboxadd vboxadd-service rc.local