Change display configuration [internal||external||both]

Hello Forum!

I’m a new user of OpenSuSe11.4 on my Dell - Notebook.
The propiertary nvidia-driver is installed and works good.

Now the NB should be used in 2 ways:

  • Only with the internal Display
  • Only with the external Display if it is attached to HDMI/VGA

Could I configure the X-System to switch automatically to HDMI/VGA and power down the internal display when an ext. TFT is attached?

I only have found the opinion with generating 2 different xorg.conf - Files and switch them via GRUB-Entrys. ( Not really comfortable )

Many Thanks for your help

Stefan

On 04/27/2011 11:36 AM, plinepa wrote:
>
> Now the NB should be used in 2 ways:

-=welcome=- new poster!

not that i can answer the question, but i do wonder what an “NB” is


CAVEAT: http://is.gd/bpoMD
[openSUSE 11.3 + KDE4.5.5 + Thunderbird3.1.8 via NNTP]
Q: What do you get if you divide the circumference of a jack-o-lantern
by its diameter?
A: Pumpkin Pi!

not that i can answer the question, but i do wonder what an “NB” is

The OP means ‘notebook’.

Could I configure the X-System to switch automatically to HDMI/VGA and power down the internal display when an ext. TFT is attached?

I only have found the opinion with generating 2 different xorg.conf - Files and switch them via GRUB-Entrys. ( Not really comfortable )

There probably is a way, but the ‘next best’ method, might be to use 2 simple executable scripts launched via icons on your task bar (or desktop). I think ‘xrandr’ will give you the names of the output (even if using the nvidia driver AFAIU).

xrandr

For example, to turn off a display output named LVDS

xrandr --output LVDS --off

To turn back on

xrandr --output LVDS --auto

The required xrandr commands can be added to the scripts as required.

This might be useful to you too:

linux - A tool for automatically applying RandR configuration when external display is plugged in - Unix and Linux - Stack Exchange