Screen size help

When I type stepmania in the terminal. I get the crash. But the problem is when the crash heppen. It forces my screen size really small. So if I get this crash again I like to fix it. Don’t want to restart my computer just to fix my screen size. So how would I get my screen to 1280x1024? Using 11.1 kde4.1.3