This is xvidsetmode, a simple utility for setting the video mode of an X server directly, without cycling through successive modes. The way it works is: 1. In the mode you need, invoke 'xvidtune -show' and save the result. 2. Do something to change the video mode. 3. Run 'xvidsetmode ...' with the result of 'xvidtune -show' saved beforehand. For example, on my Matrox video card, the 1024x768x24bpp mode produces the following xvidtune output: [roam@snark ~]> env DISPLAY=:0 xvidtune -show "1024x768" 94.50 1024 1072 1168 1376 768 769 772 808 +hsync +vsync [roam@snark ~]> After I've changed the mode to 800x600x24bpp, I invoke xvidsetmode (the following is all on a single line): [roam@snark ~]> env DISPLAY=:0 xvidsetmode "1024x768" 94.50 1024 1072 1168 1376 768 769 772 808 +hsync +vsync ...and voila, my X display is back into 1024x768x24bpp mode! Of course, as with any program, there are bound to be a couple of bugs in this one; please let me know if/when you find any :) Peter Pentchev $Ringlet: c/x11/xvidsetmode/README,v 1.1 2004/07/14 16:56:56 roam Exp $