Advertisement
Guest User

Untitled

a guest
Mar 17th, 2012
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.36 KB | None | 0 0
  1. # Configuration options common for suspending to disk or RAM.
  2. # Options are not case sensitive.
  3. #
  4. # See hibernate.conf(5) for help on the configuration items.
  5.  
  6. ##############################################################################
  7. ### Some global settings
  8. ##############################################################################
  9.  
  10. Verbosity 0
  11. LogFile /var/log/hibernate.log
  12. LogVerbosity 1
  13. # LogTimestamp yes
  14. # AlwaysForce yes
  15. # AlwaysKill yes
  16. # HibernateVT 15
  17. Distribution arch
  18. OnSuspend 00 sync; echo 3 > /proc/sys/vm/drop_caches
  19. # XDisplay :0
  20.  
  21. ##############################################################################
  22. ### Scriptlets
  23. ###   Scriptlets provide support for doing all sorts of things before and after
  24. ###   suspending. The defaults settings here should work for most people, but
  25. ###   you may wish to edit these to taste. Consult "hibernate -h" for help on
  26. ###   the configuration settings.
  27. ##############################################################################
  28.  
  29. ### bootsplash
  30. ## If you use bootsplash, also enabling SwitchToTextMode is recommended if
  31. ## you use X, otherwise you may end up with a garbled X display.
  32. # Bootsplash on
  33. # BootsplashConfig /etc/bootsplash/default/config/bootsplash-1024x768.cfg
  34.  
  35. ### clock
  36. SaveClock restore-only
  37. #DirectIsa
  38.  
  39. ### devices
  40. # IncompatibleDevices /dev/dsp /dev/video*
  41.  
  42. ### diskcache
  43. # DisableWriteCacheOn /dev/hda
  44.  
  45. ### fbsplash (enable SwitchToTextMode if you use this)
  46. # FBSplash on
  47. # FBSplashTheme tuxonice
  48.  
  49. ### filesystems
  50. #Unmount /mnt/win
  51. # UnmountFSTypes smbfs nfs
  52. UnmountGraceTime 1
  53. #Mount /mnt/win
  54.  
  55. ### grub
  56. # ChangeGrubMenu yes
  57. # GrubMenuFile /boot/grub/menu.lst
  58. # AlternateGrubMenuFile /boot/grub/menu-suspended.lst
  59. # BackupGrubMenuFile /boot/grub/menu.lst.hibernate.bak
  60.  
  61. # see http://bugs.debian.org/317479
  62. # RemountXFSBoot yes
  63.  
  64. ### hardware_tweaks
  65. # IbmAcpi yes
  66. # RadeonTool yes
  67. # Runi915resolution yes
  68. # FullSpeedCPU yes
  69.  
  70. ### lilo
  71. # EnsureLILOResumes yes
  72.  
  73. ### lock (generally you only want one of the following options)
  74. ## For console you need vlock available.
  75. ## For x you need xscreensaver-command-command available.
  76. ## For gnome you need gnome-screensaver-command available.
  77. ## For kde you need dcop, kscreensaver available.
  78. ## For XAuto you need xautolock available.
  79. ## For Xtr you need xtrlock available.
  80. ## For Freedesktop (for example KDE4) you need dbus-send available
  81. # LockConsoleAs root
  82. # LockXScreenSaver yes
  83. # LockGnomeScreenSaver yes
  84. # LockFreedesktop
  85. # LockKDE yes
  86. # LockXLock yes
  87. # LockXAutoLock yes
  88. # LockXtrLock yes
  89.  
  90. ### misclaunch
  91. # OnSuspend 20 echo "Good night!"
  92. # OnResume 20 echo "Good morning!"
  93.  
  94. ### modules
  95. # UnloadModules snd_via82cxxx usb-ohci
  96. # UnloadAllModules yes
  97. UnloadBlacklistedModules yes
  98. LoadModules auto
  99. # LoadModulesFromFile /etc/modules
  100.  
  101. ### modules-gentoo
  102. # GentooModulesAutoload yes
  103.  
  104. ### network
  105. # DownInterfaces eth0
  106. # UpInterfaces auto
  107.  
  108. ### networkmanager
  109. # EnableNMReconnect yes
  110.  
  111. ### pause_audio
  112. # MuteAudio yes
  113. # PauseAudio yes
  114.  
  115. ### pcmcia
  116. # EjectCards yes
  117.  
  118. ### programs
  119. # IncompatiblePrograms xmms
  120.  
  121. ### services
  122. # RestartServices laptop_mode anacron
  123. # StopServices alsasound
  124. # StartServices aumix
  125.  
  126. ### vbetool
  127. EnableVbetool yes
  128. RestoreVbeStateFrom /var/lib/vbetool/vbestate
  129. VbetoolPost yes
  130. RestoreVCSAData yes
  131.  
  132. ### xhacks
  133. #SwitchToTextMode yes
  134. #UseDummyXServer yes
  135. #DummyXServerConfig xorg-dummy.conf
  136.  
  137. ### xstatus
  138. ## This can be set to gnome, kde or x:
  139. ## For gnome you need zenity available.
  140. ## For kde you need dcop, kstart, kdialog available.
  141. ## For x you need to have xosd OR xmessage available.
  142. # XStatus gnome
  143. # XmessageDisable yes
  144. # XSuspendText Preparing to suspend...
  145. # XResumeText Resuming from suspend...
  146. ## When using XStatus x, and you have xosd installed:
  147. # XosdSettings --font '-misc-fixed-medium-r-semicondensed--*-120-*-*-c-*-*-*' --colour=Green --shadow 1 --pos bottom --align center --offset 50
  148.  
  149. ### xbacklight
  150. # BackLight yes
  151.  
  152. ### gaim
  153. ## You need to have dbus, gaim_remote available.
  154. # LogoutGaim yes
  155. # GaimRestoreStatus yes
  156. # GaimLogoutMessage Hibernating
  157. # GaimLoginMessage Back from hibernation
  158.  
  159. ### pidgin
  160. # LogoutPidgin yes
  161. # PidginRestoreStatus yes
  162. # PidginLogoutMessage Hibernating - bye!
  163. # PidginLoginMessage I'm back!
  164.  
  165. ### SSH and PGP keys
  166. # AgentsClearGPG yes
  167. # AgentsClearSSH yes
  168.  
  169. ### Virtualbox
  170. # SuspendVirtualbox yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement