To kk:
I know you idea now. You want powerctrl swap on/off partition, I have thought about it, there are some problem may cause system crash:
1. When swap off the last partition, the system can not move swap data out and crash.
2. Swap partition is not suitable for C3XXX, since they have fixed storage.
3. Sytem mount swap partition automatically.
4. Swap file is more flexible and simple in C1000 and C8XX
To Meanie:
I have install icewm + idesk + rotate for powerctrl testing.
But when screen rotate, my mb-applet-powerctrl always be killed, and other applets which I do not want, like volume, battery, blanker.
Finally, I found the problem. rotate use the file "~/.icewm/icedock" or "/etc/icewm/icedock", we should clear the content and add the wanted applet.