[mdlug] Command-line utility to set screen resolution?

Ingles, Raymond Raymond.Ingles at compuware.com
Mon Nov 27 09:44:36 EST 2006


 Since Windows abandoned us a couple months back (it's been flaky for a while
but the partition won't even boot now) I've been moving several things over to
Linux. I've got several commercial games (my only Windows use) moved over now
to my Ubuntu 6.06 installation.

 Two that are slight sticking points - "Return to Castle Wolfenstein" and
"American McGee's Alice". The former has a proper Linux port, and the latter
runs apparently flawlessly under Wine. But they mess up the screen resolution
when they exit.

 I normally run at 1280x960. (1600x1200 is just a bit fuzzy on my monitor.) But
when RTCW exits, even though I'm running it at 1152x864, the resolution is set
to 1600x1200. When Alice (running under Wine) exits, it leaves the screen at
1152x864. Either way, I have to go to the "Preferences" menu and manually set
the "Screen Resolution" back to what I want.

 Now, both are run via startup scripts. If there was a command-line tool to
change the resolution, I'd just add a call to that to the scripts. But I
haven't turned one up in my searches. Anyone know of a tool like that? I
think I could hack one up with a bit of effort but I gotta believe someone's
already done this somewhere...

 Sincerely,

 Ray Ingles                                   (313) 227-2317

            Welcome to America, Land of the Free
      (Some restrictions apply, void where prohibited.)
The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. 



More information about the mdlug mailing list