I’m running OpenSuse 11.0 with GNOME. Generally, I prefer to put my computer into some kind of a suspend. I’m running on a desktop; Pentium 4 3.2 HT, 4GB RAM, and an ATI Radeon 9600(?) graphic card.
This is my problem. When pressing sleep from the shut down dialog, it just logs me off. When using the suspend tools and going s2ram in terminal, it says my system is unrecognized, although that might be because it’s not a notebook.
I did finally come across a solution- echo -n mem > /sys/power/state
My problem with this is two-fold. First, it’s annoying to have to run it from terminal; it would be easier if I could just press the power button. And secondly, when it comes back up, it has colored lines where the top of the window should be, and I need to reload my window manager, after which FF crashes.
Is there any way to get around this/a better way to do this?
And also, is there a way to automatically have my PC wake up from its sleep and act as an alarm clock?
OK, got it to work from hitting sleep by adding in /etc/pm/config.d/ a file named config with ‘S2RAM_OPTS="-f"’ in it.
The colors (in emerald only) and FF crashing persist.
Hi!
The “official” SuSE way for suspending a computer is thoroughly described in Suspend to RAM - openSUSE
more specifically, the possible command-line options are listed in
Suspend to RAM - openSUSE
After you find - through trial and error - the “quirk” that works for you, you write the command to a text file you then save (under any name IIRC) into the folder /etc/pm/config.d.
As for Suspend2Disk: AFAIK it should work out of the box for practically any PC with a hard drive.
As for using your PC as an alarm clock: some olden AWARD BIOSes (from around 1998 - 2000) used to have an option in their PowerSaving section to kick your PC out of bed at a given time every day, but I’m not familiar with the current state of affairs (been almost exclusively using laptops since that era). Of course, with a little workaround and/or some soldering you could utilize any similar function (for example “Wake on LAN” or “Wake on IRQ9” etc.) for that purpose. I don’t think it’s an OS thing, though; I doubt you could implement that functionality at the OS level if it’s not already in the BIOS. At the OS level, you can only “wake” a machine that is not technically “turned off” - it must be “alive”, so to speak, e.g. sleeping, suspended etc. I remember Windows XP had such an option in its Task Scheduler: “Wake up the computer to execute this task” or something along this lines. Don’t have a clue if anything similar is possible with Cron…:X
Oops, seems I was 9 minutes late:P
Hmmm, I deduced that the weird colors have something to do with compiz; just not sure why.
Thanks for the advice on the clock, BTW.