Re: [Xpert]change X resolution
On Monday 01 July 2002 12:55, you wrote: > > Hello, > > > > I know about CTR-ALT- + for moving from 1024x768 to 640x480 on fly > > without restart X. > > > > How could i move from 1024x768 to 640x480 in my program code? > > Any examples. > > See the source code for xvidtune. If you run 'xvidtune -next', you'll get > the same behaviour as Ctrl-Alt-Plus and 'xvidtune -prev' switches to the > previous mode like Ctrl-Alt-Minus. > > If you have several modes and the one you want doesn't happen to be the > next or previous one, you have two choices: (1) do a next/prev switch > repeatedly or (2) use XF86VidModeSwitchToMode(). See the XF86VidMode man > page for details. > > ___ > Xpert mailing list > [EMAIL PROTECTED] > http://XFree86.Org/mailman/listinfo/xpert Thanks a lot of for the help me It looks like it is working Nikita ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]change X resolution
On Mon, 1 Jul 2002, nikita wrote: > Hello, > > I know about CTR-ALT- + for moving from 1024x768 to 640x480 on fly without > restart X. > > How could i move from 1024x768 to 640x480 in my program code? See the man page on XF86VidModeSwitchMode. This is an XFree86- specific extension and will only work on XFree86. Mark. ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
Re: [Xpert]change X resolution
> Hello, > > I know about CTR-ALT- + for moving from 1024x768 to 640x480 on fly without > restart X. > > How could i move from 1024x768 to 640x480 in my program code? > Any examples. See the source code for xvidtune. If you run 'xvidtune -next', you'll get the same behaviour as Ctrl-Alt-Plus and 'xvidtune -prev' switches to the previous mode like Ctrl-Alt-Minus. If you have several modes and the one you want doesn't happen to be the next or previous one, you have two choices: (1) do a next/prev switch repeatedly or (2) use XF86VidModeSwitchToMode(). See the XF86VidMode man page for details. ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert