display_settings.sh
von Rhutos- SNIPPET_TEXT:
-
- #!/bin/sh
- Primary_Name="DP-4"
- Primary_Width=3840
- Primary_Height=2160
- Secondary_Name="DP-0"
- Secondary_Width=3840
- Secondary_Height=2160
- HDTV_Name="HDMI-0"
- HDTV_Width=1920
- HDTV_Height=1080
- xrandr \
- --output "$Primary_Name" \
- --primary \
- --mode "${Primary_Width}x$Primary_Height" \
- --pos "`expr $Secondary_Width + $HDTV_Width`x0" \
- --output "$Secondary_Name" \
- --mode "${Secondary_Width}x$Secondary_Height" \
- --left-of "$Primary_Name" \
- --pos "${HDTV_Width}x0" \
- --output "$HDTV_Name" \
- --mode "${HDTV_Width}x$HDTV_Height" \
- --left-of "$Secondary_Name" \
Quellcode
Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. PASTEBIN_DOWNLOAD_SNIPPET_EXPLAIN