So to enable external output you can do this:

xrandr --output VGA-0 --auto --output LVDS --off

to switch back

xrandr --output VGA-0 --off --output LVDS --auto

you can assign this to some shortcuts. Or do a acpi script for the
hotkey. I have done similar for docking and undocking on my thinkpad.

Also you can use the tools for your DE, for example krandrtray for KDE
or gnome it has in Settings I think.

Robert.


V Fri, 27 Jan 2012 14:13:10 +0000 (GMT)
[email protected] napsáno:


> ----- Original Message -----From: Robert David Date: Friday, January
> 27, 2012 9:00 amSubject: Re: [gentoo-user] Video Out on laptopTo:
> [email protected]: [email protected]> Hi,> > what
> does xrandr say??> Connect the external monitor and type xrandr on
> console.> > Than something like: xrandr --output LVDS1 --off --output
> VGA1 --auto> > > Robert.> > V Fri, 27 Jan 2012 13:47:03 +0000 (GMT)>
> [email protected] napsáno:> > > I have an HP Pavilion
> Entertainment Laptop which has a video out> > port.  I want to hook
> up a projector or monitor to it, but > when I do> > there isn't a
> signal.  There is a function key that is suppose to> > turn it on and
> off, but it doesn't seem to work.  Is this a kernel> > setting?It's
> an AMD Athlon 64 Neo X2 Dual Core Processor L335 > running> a current
> updated Gentoo system with kernel 3.1.6.Thanks,dhk> > >Without the
> monitor xrandr says:Screen 0: minimum 320 x 200, current 1366 x 768,
> maximum 1366 x 1366LVDS connected 1366x768+0+0 (normal left inverted
> right x axis y axis) 293mm x 164mm   1366x768       60.0*+
> 1280x720       59.9   1152x768       59.8   1024x768       59.9
> 800x600        59.9   640x480        59.4VGA-0 disconnected (normal
> left inverted right x axis y axis)HDMI-0 disconnected (normal left
> inverted right x axis y axis)With the monitor xrandr says:Screen 0:
> minimum 320 x 200, current 1366 x 768, maximum 1366 x 1366LVDS
> connected 1366x768+0+0 (normal left inverted right x axis y axis)
> 293mm x 164mm   1366x768       60.0*+   1280x720       59.9
> 1152x768       59.8   1024x768       59.9   800x600        59.9
> 640x480        59.4VGA-0 connected (normal left inverted right x axis
> y axis)   1280x1024      60.0 +   75.0   1152x864       75.0
> 1024x768       75.0     70.1     60.0   832x624        74.6
> 800x600        72.2     75.0     60.3     56.2   640x480
> 75.0     72.8     66.7     59.9   720x400        70.1HDMI-0
> disconnected (normal left inverted right x axis y axis)


Reply via email to