How To Install Tuxonice in Linux Mint 9

TuxOnIce makes hibernation faster and fun. With this program installed, hibernating and resuming a Linux session is faster than with the standard method and you even can have a graphical splash screen with custom background and a progress bar.

Before installing

sudo apt-get purge uswsusp


  • See the version of the TuxOnIce patch you are using:
cat /sys/power/tuxonice/version
sudo aptitude install libmng-dev libusplash-dev
# extract tuxonice-userui
make all
sudo make install
# Install the rest from a PPA:
sudo add-apt-repository ppa:tuxonice/ppa
sudo apt-get update
sudo apt-get install tuxonice-userui linux-generic-tuxonice linux-headers-generic-tuxonice hibernate
# If asked, replace files installed by the previous installation of UserUI


  • Sleep/Wake system:
gksudo gedit /etc/pm/config.d/00sleep_module
# SLEEP_MODULE="hibernate"
  • Configure hibernate script:
gksudo gedit /etc/hibernate/common.conf
FBSplash on
FBSplashTheme tuxonice
# tuxonice is a symlink to the folder containing one of the themes installed before in /etc/splash
Unmount /mnt/media
UnmountFSTypes smbfs nfs vfat fat msdos
Mount /mnt/media
  • Configure tuxonice:
gksudo gedit /etc/hibernate/tuxonice.conf
Compressor lzo
SuspendDevice UUID=48e3bee5-a9d3-4f5f-83bb-652244ae1da6
PowerdownMethod 4
ProcSetting userui_program /usr/local/sbin/tuxoniceui_fbsplash
FullSpeedCPU yes

OnSuspend and OnResume declarations in common.conf are only excecuted if sudo hibernate is called manually. Custom script ran upon suspend, resume, hibernate and thaw are managed by PM-Utils.
  • Check initramfs point to the correct swap partition:
sudo nano /etc/initramfs-tools/conf.d/resume

Graphical Mode

TuxOnIce graphical mode needs FbSplash to be installed. Let's do it.
  • Prerequisites: sudo aptitude install libgpm-dev libklibc-dev
  • Download FbSplash source from here.
  • Compile and install:
sudo make install
  • Download some splash themes from here and here and extract them in: /etc/splash
  • Personally use a splash featuring Frozen Tux, as shown above.
  • Prepare for early splash support:
mkdir -p ~/Documents/backup/TuxOnIce/early-toi/usr/local/sbin
cd ~/Documents/backup/TuxOnIce/early-toi/usr/local/sbin
cp /usr/local/sbin/tuxoniceui_fbsplash .
  • Update initrd image of the current kernel and append all fbsplash themes located in /etc/splash and the tuxoniceui_fbsplash program into it:
sudo update-initramfs -u -k `uname -r`
sudo splash_geninitramfs -o ~/Documents/backup/TuxOnIce/early-toi -a /boot/initrd.img-`uname -r` --all
Enhanced by Zemanta