画面名を xrandr に変更します。

画面名を xrandr に変更します。

xrandrを使用して画面を設定するのに問題があります。

これは私のxrandr出力です。

DP-0.8 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440     59.95*+
   2048x1152     60.00  
   1920x1200     59.88  
   1920x1080     60.00    59.94    50.00    29.97    25.00    23.98  
   1680x1050     59.95  
   1600x1200     60.00  
   1280x1024     75.02    60.02  
   1280x720      60.00    59.94    50.00  
   1200x960      59.90  
   1152x864      75.00  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    59.94    59.93  
HDMI-0 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 connected 2560x1440+2560+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440     59.95*+
   2048x1080     60.00    24.00  
   1920x1080     60.00    59.94    50.00  
   1600x1200     60.00  
   1280x1024     75.02    60.02  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    59.94    59.93  
DP-5 disconnected (normal left inverted right x axis y axis)

ご覧のとおり、何らかの理由でわかりませんが、私の画面の1つは次のように認識されます。DP-0.8。これは、SDDMで画面を置き換えるために使用したいXsetupなどのxrandrスクリプトに問題を引き起こします。

私は密接に関連する2つの質問を持っており、同じ投稿に質問するのは妥当だと思います。

  • なぜこれが起こるのですか?画面が整数ではなく浮動小数点として指定される例を見たことはありません。
  • この設定をどのように変更しますか(例:DP-0.8からDP-5へ)。

ベストアンサー1

おすすめ記事