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