Is there a simple way to change video modes that will work no matter
what server I am using. (Maybe XFree86, MetroX, or Accelerated-X.)
Most X servers support the ctrl-alt-+ and ctrl-alt-- key combinations to
cycle forward and backward through all the configured video modes.
Knowing this, is there a simple command I can type in a shell that would
simulate pressing these key combinations? (It would seem reasonable to
think you could echo the appropriate thing, or maybe even pipe something
to the applicable X socket.) Alternatively, do I have to write a small
C program that uses the X libraries to send the appropriate event? I
wanted to try to avoid this if there is an easier way. Any help would
be greatly appreciated.
Thanks.
Chris