hibernate/common.conf
author ft
Thu, 27 Feb 2014 17:12:59 +0100
changeset 0 60bc07f3f415
permissions -rw-r--r--
initial commit
     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 debian
    18 # XDisplay :0
    19 
    20 ##############################################################################
    21 ### Scriptlets
    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 ##############################################################################
    27 
    28 ### bootsplash
    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.
    31 # Bootsplash on
    32 # BootsplashConfig /etc/bootsplash/default/config/bootsplash-1024x768.cfg
    33 
    34 ### clock
    35 SaveClock restore-only
    36 #DirectIsa
    37 
    38 ### devices
    39 # IncompatibleDevices /dev/dsp /dev/video*
    40 
    41 ### diskcache
    42 # DisableWriteCacheOn /dev/hda
    43 
    44 ### fbsplash (enable SwitchToTextMode if you use this)
    45 # FBSplash on
    46 # FBSplashTheme tuxonice
    47 
    48 ### filesystems
    49 # Unmount /nfsshare /windows /mnt/sambaserver
    50 # UnmountFSTypes smbfs nfs
    51 # UnmountGraceTime 1
    52 # Mount /windows
    53 
    54 ### grub
    55 # ChangeGrubMenu yes
    56 # GrubMenuFile /boot/grub/grub.cfg
    57 # AlternateGrubMenuFile /boot/grub/grub-suspended.cfg
    58 # BackupGrubMenuFile /var/backups/grub.cfg.hibernate
    59 
    60 # see http://bugs.debian.org/317479
    61 # RemountXFSBoot yes
    62 
    63 ### hardware_tweaks
    64 # IbmAcpi yes
    65 # RadeonTool yes
    66 # Runi915resolution yes
    67 # FullSpeedCPU yes
    68 
    69 ### lilo
    70 # EnsureLILOResumes yes
    71 
    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
    80 # LockConsoleAs root
    81 # LockXScreenSaver yes
    82 # LockGnomeScreenSaver yes
    83 # LockFreedesktop
    84 # LockKDE yes
    85 # LockXLock yes
    86 # LockXAutoLock yes
    87 # LockXtrLock yes
    88 
    89 ### misclaunch
    90 # OnSuspend 20 echo "Good night!"
    91 # OnResume 20 echo "Good morning!"
    92 
    93 ### modules
    94 # UnloadModules snd_via82cxxx usb-ohci
    95 # UnloadAllModules yes
    96 UnloadBlacklistedModules yes
    97 LoadModules auto
    98 # LoadModulesFromFile /etc/modules
    99 
   100 ### modules-gentoo
   101 # GentooModulesAutoload yes
   102 
   103 ### network
   104 # DownInterfaces eth0
   105 # UpInterfaces auto
   106 
   107 ### networkmanager
   108 # EnableNMReconnect yes
   109 
   110 ### wicd
   111 # EnableWICDReconnect yes
   112 
   113 ### pause_audio
   114 # MuteAudio yes
   115 # PauseAudio yes
   116 
   117 ### pcmcia
   118 # EjectCards yes
   119 
   120 ### programs
   121 # IncompatiblePrograms xmms
   122 
   123 ### services
   124 # RestartServices laptop-mode anacron
   125 # StopServices alsasound
   126 # StartServices aumix
   127 
   128 ### vbetool
   129 # EnableVbetool yes
   130 # RestoreVbeStateFrom /var/lib/vbetool/vbestate
   131 # VbetoolPost yes
   132 # RestoreVCSAData yes
   133 
   134 ### xhacks
   135 SwitchToTextMode yes
   136 # UseDummyXServer yes
   137 # DummyXServerConfig xorg-dummy.conf
   138 
   139 ### xstatus
   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.
   144 # XStatus gnome
   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
   150 
   151 ### xbacklight
   152 # BackLight yes
   153 
   154 ### gaim
   155 ## You need to have dbus, gaim_remote available.
   156 # LogoutGaim yes
   157 # GaimRestoreStatus yes
   158 # GaimLogoutMessage Hibernating
   159 # GaimLoginMessage Back from hibernation
   160 
   161 ### pidgin
   162 # LogoutPidgin yes
   163 # PidginRestoreStatus yes
   164 # PidginLogoutMessage Hibernating - bye!
   165 # PidginLoginMessage I'm back!
   166 
   167 ### SSH and PGP keys
   168 # AgentsClearGPG yes
   169 # AgentsClearSSH yes
   170 
   171 ### Virtualbox
   172 # SuspendVirtualbox yes
   173 
   174 # osecvm
   175 StopServices vboxadd-service vboxadd rc.local
   176 StartServices vboxadd vboxadd-service rc.local