1 |
So to enable external output you can do this: |
2 |
|
3 |
xrandr --output VGA-0 --auto --output LVDS --off |
4 |
|
5 |
to switch back |
6 |
|
7 |
xrandr --output VGA-0 --off --output LVDS --auto |
8 |
|
9 |
you can assign this to some shortcuts. Or do a acpi script for the |
10 |
hotkey. I have done similar for docking and undocking on my thinkpad. |
11 |
|
12 |
Also you can use the tools for your DE, for example krandrtray for KDE |
13 |
or gnome it has in Settings I think. |
14 |
|
15 |
Robert. |
16 |
|
17 |
|
18 |
V Fri, 27 Jan 2012 14:13:10 +0000 (GMT) |
19 |
dhkuhl@×××××××××.net napsáno: |
20 |
|
21 |
|
22 |
> ----- Original Message -----From: Robert David Date: Friday, January |
23 |
> 27, 2012 9:00 amSubject: Re: [gentoo-user] Video Out on laptopTo: |
24 |
> gentoo-user@××××××××××××.orgCc: dhkuhl@×××××××××.net> Hi,> > what |
25 |
> does xrandr say??> Connect the external monitor and type xrandr on |
26 |
> console.> > Than something like: xrandr --output LVDS1 --off --output |
27 |
> VGA1 --auto> > > Robert.> > V Fri, 27 Jan 2012 13:47:03 +0000 (GMT)> |
28 |
> dhkuhl@×××××××××.net napsáno:> > > I have an HP Pavilion |
29 |
> Entertainment Laptop which has a video out> > port. I want to hook |
30 |
> up a projector or monitor to it, but > when I do> > there isn't a |
31 |
> signal. There is a function key that is suppose to> > turn it on and |
32 |
> off, but it doesn't seem to work. Is this a kernel> > setting?It's |
33 |
> an AMD Athlon 64 Neo X2 Dual Core Processor L335 > running> a current |
34 |
> updated Gentoo system with kernel 3.1.6.Thanks,dhk> > >Without the |
35 |
> monitor xrandr says:Screen 0: minimum 320 x 200, current 1366 x 768, |
36 |
> maximum 1366 x 1366LVDS connected 1366x768+0+0 (normal left inverted |
37 |
> right x axis y axis) 293mm x 164mm 1366x768 60.0*+ |
38 |
> 1280x720 59.9 1152x768 59.8 1024x768 59.9 |
39 |
> 800x600 59.9 640x480 59.4VGA-0 disconnected (normal |
40 |
> left inverted right x axis y axis)HDMI-0 disconnected (normal left |
41 |
> inverted right x axis y axis)With the monitor xrandr says:Screen 0: |
42 |
> minimum 320 x 200, current 1366 x 768, maximum 1366 x 1366LVDS |
43 |
> connected 1366x768+0+0 (normal left inverted right x axis y axis) |
44 |
> 293mm x 164mm 1366x768 60.0*+ 1280x720 59.9 |
45 |
> 1152x768 59.8 1024x768 59.9 800x600 59.9 |
46 |
> 640x480 59.4VGA-0 connected (normal left inverted right x axis |
47 |
> y axis) 1280x1024 60.0 + 75.0 1152x864 75.0 |
48 |
> 1024x768 75.0 70.1 60.0 832x624 74.6 |
49 |
> 800x600 72.2 75.0 60.3 56.2 640x480 |
50 |
> 75.0 72.8 66.7 59.9 720x400 70.1HDMI-0 |
51 |
> disconnected (normal left inverted right x axis y axis) |