Xserver Issues

From Blue-IT.org Wiki

Revision as of 17:26, 19 August 2006 by Apos (talk | contribs)

Start a program in fullscreen X session

If you like to start a single program, e.g. mythfrontend on another screen - e.g. a TV or a second monitor, simple use the next line:

xinit /bin/sh -c "DISPLAY=:1 mythfrontend" -- /usr/bin/X :1 -ac

And from HowTo Setup MythTV

[...] I have this first script run at boot up time:

#!/bin/bash
cd /root
HOME='/root'
export HOME
xinit /root/xinitmyth -- :0 &

and the startup file /root/xinitmyth

xsetroot -solid gray &
mythfrontend

[...]

Modline generator

GTF is a modline generator.

linux:> gtf
usage: gtf x y refresh [-v|--verbose] [-f|--fbmode] [-x|--xorgmode]
           x : the desired horizontal resolution (required)
           y : the desired vertical resolution (required)
     refresh : the desired refresh rate (required)
-v|--verbose : enable verbose printouts (traces each step of the computation)
 -f|--fbmode : output an fbset(8)-style mode description
-x|--xorgmode : output an Xorg-style mode description (this is the default
               if no mode description is requested)