#!/bin/sh
xmessage "Really hibernate?" -buttons Yes:2,No:3 -default No -nearmouse
if [ $? = "2" ]; then
  hibernate
fi

Save this script to a file (/usr/local/bin/hiberconfirm.sh for example) and then make the icon/launcher etc. start this file.

Don't forget to chmod +x /usr/local/bin/hiberconfirm.sh first!

None: GUIConfirm (last edited 2007-03-26 01:02:33 by BernardBlackham)