Ross Patterson <[EMAIL PROTECTED]> writes:

> When I resume from s2disk in X, X will intermittently resume with all of
> the display compressed into one row of pixels at the top of the screen
> and I have to restart the X server.  This only happend intermittently.
> Has anyone else experienced anything like this?
>
> My system is a Toshiba Satellite U205-5067 laptop running Debian
> unstable.
>
> Ross

Just for documentation purposes, I thought I'd follow up on my own
post.

It turns out that s2disk works just fine from X as long as Skype isn't
running.  I've attached a tiny shell script I use to kill Skype before
s2disk if anyone's interested.  I put it in /usr/local/sbin/s2disk and
everything works fine.

Ross

#!/bin/sh -x

# Kill Skype so we can resume
PID=`ps -C skype -o pid=`
if [[ $PID ]]; then
    kill $PID
fi

/usr/sbin/s2disk $*
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Suspend-devel mailing list
Suspend-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/suspend-devel

Reply via email to