Starting X with VGA on and LVDS off
Adam Jackson
ajax at redhat.com
Thu Jan 5 08:29:29 PST 2012
On Thu, 2012-01-05 at 17:07 +0100, Wolfgang Draxinger wrote:
> On Thu, 5 Jan 2012 00:15:20 +0100
> Andre Majorel <aym-11x at teaser.fr> wrote:
>
> > What arguments do you pass to startx to enable the VGA output
> > and disable the LVDS output ?
>
> Technically not a startup option, but you can switch the output
> configuration right wenn your .xinitrc is executed, before starting the
> WM/DE. Add this as your first command in .xinitrc
>
> xrandr --output VGA1 --auto --output LVDS1 --off
Actually you need to do this _after_ the window manager has started.
Otherwise, once the xrandr command completes, the server will regenerate
and the output order will be reset.
- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20120105/5c43d3b4/attachment.pgp>
More information about the xorg
mailing list