xrandr - Bildschirm Ausgange Einschalten, Ausschalten und Konfigurieren / xrandr - Screen outputs Switching on, switching off and configuring (DE / EN)

in #deutsch3 years ago

(English Below / Englisch unten)

xrandr - Bildschirm Ausgange Einschalten, Ausschalten und Konfigurieren

xrandr wird eingesetzt um die Bildschirm Ausgänge (z.b LCD, VGA oder DVI) ein/auszuschalten oder zu Konfigurieren. xrandr ist ein Kommandozeilen Programm das die randr Erweiterungen des X Servers (re)konfigurieren kann ohne das der X-Server neu gestartet werden muss. Es ist auch in der Lage die Einstellungen fuer die einzelnen Modes automatisch auszulesen und kann die Einstellungen der Schnitstellen im laufenden Betrieb neu konfigurieren. Ein einfacher Aufruf von xrandr zeigt auf meinem Laptop folgende Ausgabe:

xrandr



Screen 0: minimum 320 x 200, current 1600 x 900, maximum 8192 x 8192
LVDS1 connected 1600x900+0+0 (normal left inverted right x axis y axis) 382mm x 214mm
   1600x900       60.3*+
   1440x900       59.9
   1360x768       59.8     60.0
   1152x864       60.0
   1024x768       60.0
   800x600        60.3     56.2
   640x480        59.9
VGA1 connected (normal left inverted right x axis y axis)
   1920x1080      60.0 +
   1600x1200      60.0
   1680x1050      60.0
   1400x1050      60.0
   1280x1024      60.0
   1280x960       60.0
   1360x850       60.0
   1280x800       74.9     59.8
   1024x768       75.1     70.1     60.0
   800x600        72.2     75.0     60.3     56.2
   640x480        75.0     60.0
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)

Aus der Ausgabe ist ersichtlich das der Laptop die Ausgänge:
LVDS1 (Der eingebaute Bildschirm)
VGA1 - der externe VGA Anschluss
HDM1 - HDMI Ausgang
DP1 - Displayport
hat. Angeschlossen sind aber nur LVDS1 und VGA1 .

Mit der Anweisung:

xrandr --output VGA1 --auto --scale 1x1

habe ich den zusätzlichen VGA Ausgang des Laptops aktiviert, die Bildschirmauflösung für diesen Anschluss wird automatisch gewählt.

xrandr --output VGA1 --auto --scale 2x2

Aktiviert den zusätzlichen VGA Ausgang des Laptops , die Bildschirmauflösung für diesen Anschluss wird automatisch gewählt, bei dieser Skalierung wird das angezeigte Bild auf dem angeschlossenen Bildschirm sowohl in der Höhe als auch in der Breite halbiert.

xrandr --output VGA1 --auto --scale 0.5x0.5

Aktiviert den zusätzlichen VGA Ausgang des Laptops , die Bildschirmauflösung für diesen Anschluss wird automatisch gewählt, bei dieser Skalierung wird das angezeigte Bild auf dem angeschlossenen Bildschirm sowohl in der Höhe als auch in der Breite Verdoppelt.

xrandr --output VGA1 --auto --scale 1x0.83

Aktiviert den zusaetzlichen VGA Ausgang des Laptops , die Bildschirmauflösung fuer diesen Anschluss wird automatisch gewählt, bei dieser Skalierung wird das angezeigte Bild auf dem angeschlossenen Bildschirm nur in der in der höhe verbreitert und passt damit in das Format des Fernsehers.

xrandr --output VGA1 --off

Abschalten der Schnittstelle.

xrandr --output LVDS1 --mode 1024x768

Diese Anweisung ändert die Auflösung auf dem Laptop Bildschirm nach 1024x768

xrandr --output LVDS1 --auto

Damit wird der Bildschirm wieder auf die default einstellung zurückgesetzt.


English Version

xrandr - Screen outputs Switching on, switching off and configuring

xrandr is used to turn on/off or configure the screen outputs (e.g. LCD, VGA or DVI). xrandr is a command line program that can (re)configure the randr extensions of the X server without having to restart the X server. It is also able to read the settings for each mode automatically and can reconfigure the settings of the interfaces on the fly. A simple call to xrandr shows the following output on my laptop:

xrandr



Screen 0: minimum 320 x 200, current 1600 x 900, maximum 8192 x 8192
LVDS1 connected 1600x900+0+0 (normal left inverted right x axis y axis) 382mm x 214mm
   1600x900       60.3*+
   1440x900       59.9
   1360x768       59.8     60.0
   1152x864       60.0
   1024x768       60.0
   800x600        60.3     56.2
   640x480        59.9
VGA1 connected (normal left inverted right x axis y axis)
   1920x1080      60.0 +
   1600x1200      60.0
   1680x1050      60.0
   1400x1050      60.0
   1280x1024      60.0
   1280x960       60.0
   1360x850       60.0
   1280x800       74.9     59.8
   1024x768       75.1     70.1     60.0
   800x600        72.2     75.0     60.3     56.2
   640x480        75.0     60.0
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)

From the output you can see that the laptop has the following Outputs:
LVDS1 (Th builtin Screen))
VGA1 - external VGA
HDM1 - HDMI Output
DP1 - Displayport
Only LVDS1 and VGA1 are connected.

The Command:

xrandr --output VGA1 --auto --scale 1x1

had activated the additional VGA output of the laptop, the screen resolution for this port is selected automaticall

xrandr --output VGA1 --auto --scale 2x2

Enables the additional VGA output of the laptop, the screen resolution for this port is selected automatically, with this scaling the displayed image on the connected screen is halved both in height and width.

xrandr --output VGA1 --auto --scale 0.5x0.5

Enables the additional VGA output of the laptop, the screen resolution for this port is selected automatically, with this scaling the displayed image on the connected screen is doubled both in height and width.

xrandr --output VGA1 --auto --scale 1x0.83

Activates the additional VGA output of the laptop, the screen resolution for this port is automatically selected, with this scaling the displayed image on the connected screen is only widened in height and thus fits into the format of the TV set.

xrandr --output VGA1 --off

Switching off the interface.

xrandr --output LVDS1 --mode 1024x768

This instruction changes the resolution on the laptop screen to 1024x768

xrandr --output LVDS1 --auto

This resets the screen to the default setting.

Sort:  

Du hast ein Upvote von mir bekommen, diese soll die Deutsche Community unterstützen. Wenn du mich unterstützten möchtest, dann sende mir eine Delegation. Egal wie klein die Unterstützung ist, Du hilfst damit der Community. DANKE!

Coin Marketplace

STEEM 0.17
TRX 0.16
JST 0.029
BTC 61823.88
ETH 2390.97
USDT 1.00
SBD 2.57