in file /etc/acpi/hibernate.sh there's that code:
30 if [ -x /sbin/s2disk ]; then 31 DEVICE="/dev/disk/by-uuid/`awk -F= '{print $3}' </etc/initramfs-tools/conf.d/resume`" 32 if [ -f /etc/usplash.conf ]; then 33 /etc/usplash.conf 34 /sbin/s2disk -x "$xres" -y "$yres" $DEVICE
so, if you have s2disk, it seems that it's called with the parameters for a graphical suspend. ( asap i'll test it )
in file /etc/acpi/ hibernate. sh there's that code:
30 if [ -x /sbin/s2disk ]; then "/dev/disk/ by-uuid/ `awk -F= '{print $3}' </etc/initramfs -tools/ conf.d/ resume` "
31 DEVICE=
32 if [ -f /etc/usplash.conf ]; then
33 /etc/usplash.conf
34 /sbin/s2disk -x "$xres" -y "$yres" $DEVICE
so, if you have s2disk, it seems that it's called with the parameters for a graphical suspend.
( asap i'll test it )