Thanks, but both should be working, if possible.Alt+Tab
No, I often get the problem of a complete freeze. My script is also not working yet, gonna try to improve it when I've time for that. I would so or so prefer to limit the ressources of programs instead of killing them.If you can still open a terminal and the mouse works, the application "xkill" might work for you. Or the command "restartwm", to restart the desktop instead of a full reboot.
Found something else: My notebook is not shutting down or going to sleep mode when batteries are empty. Seriously? Yeah, there may be a program for that, but this should be in the standard distro. Especially if you think of the problem that puppy can't fsck an encrypted filesystem at startup.