I'm using Beryl/AIGLX on a Thinkpad T43 (Radeon Mobility X300, open-source drivers). None of the solutions worked for me. Since the T43 is a standard at UNC (my school), lots of us CS majors have had problems with this. However, I believe I just came up with a solution, and it's much simpler than anything else out there. In fact, nothing interacts with Beryl. I have this working on Edgy, by the way.
First, make sure you remove any of the files you put in your suspend.d and resume.d directories from other people's suggestions. Or just chmod -x all of them.
Now do
Code:
sudo gedit /etc/acpi/suspend.d/99-terminal-change.sh
In the file put:
Code:
#!/bin/bash
/usr/bin/chvt 13
What this will do is switch you to a separate virtual terminal in text mode. You don't need to put anything in resume.d, since it will resume back in the terminal that started the suspend (terminal 7).
Normally, this would interfere with the standard terminals you get by doing Ctrl-Alt-F1, however since you don't have an F13, this terminal is (basically) unimportant!
I'm not sure if this is some kind of horrible security thing or not, I'm far from a Linux or X guru. But this does work for me.
Bookmarks