Reset Res, Version 1.0
This is a wrapper to prevent programs from crashing and leaving X in a lower resolution than normal. This is mainly noticeable in games.
To use, simply run ./reset_res.py the_game_you_want_to_run -arguments For example, "./reset_res.py p47 -nosound" will act the same as "p47 -nosound", except that if p47 crashes, the resolution will be restored from 640x480 to whatever you have. (I don't think there are any crash bugs in p47, though.) Obviously, this only is useful when the program in question runs fullscreen.
reset_res_10.tar.gz Version 1.0.