在 Arch Linux 中永久反转屏幕

在 Arch Linux 中永久反转屏幕

我目前正在全新安装 Arch Linux(Antergos)。我已经安装了 nvidia 驱动程序和 bumblebee,我已经使用 sudo nvidia-xconfig 创建了 xorg.conf,并使用 sudo nvidia-settings 保存了设置,但是当我重新启动系统时,这里没有反转 xorg 文件文本。

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 331.38  (buildmeister@swio-display-x64-rhel04-15)  Wed Jan  8 19:53:03 PST 2014

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "QDS"
    HorizSync       30.0 - 75.0
    VertRefresh     60.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8400M GS"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-0"
    Option         "metamodes" "1280x800_60 +0+0 {rotation=invert}; nvidia-auto-select +0+0 {rotation=invert, viewportout=1280x720+0+40}; nvidia-auto-select +0+0 {rotation=invert, viewportin=1024x768, viewportout=1066x800+107+0}; nvidia-auto-select +0+0 {rotation=invert, viewportin=800x600, viewportout=1066x800+107+0}; nvidia-auto-select +0+0 {rotation=invert, viewportin=640x480, viewportout=1066x800+107+0}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

答案1

(可能是死帖,但嘿-)将用于反转屏幕的行(可能xrandr --output $output_name --rotate inverted在 x 启动时获取的文件中,该文件是什么取决于您的设置(您使用的窗口管理器和显示管理器)。在大多数情况下,此文件往往是〜/.xprofile

相关内容