zoukankan      html  css  js  c++  java
  • Select Screen 0 with xrandr Ask QuestionScreen 0" here describes your whole virtual display made of these two outputs: eDP-1-

    Screen 0" here describes your whole virtual display made of these two outputs:

    • eDP-1-1: physical screen plugged to a display-port output
    • HDMI-1-1: physical screen plugged to a HDMI output

     

    Select Screen 0 with xrandr

    Asked 2 years, 9 months ago
    Viewed 8k times
    2

    I have a multi screen :

    xrandr
    Screen 0: minimum 8 x 8, current 3286 x 1080, maximum 16384 x 16384
    eDP-1-1 connected primary 1366x768+1920+0 (normal left inverted right x axis y axis) 344mm x 194mm
       1366x768      60.00*+
       1360x768      59.80    59.96  
       1024x768      60.04    60.00  
       960x720       60.00  
       928x696       60.05  
       896x672       60.01  
       960x600       60.00  
       960x540       59.99  
       800x600       60.00    60.32    56.25  
       840x525       60.01    59.88  
       800x512       60.17  
       700x525       59.98  
       640x512       60.02  
       720x450       59.89  
       640x480       60.00    59.94  
       680x384       59.80    59.96  
       576x432       60.06  
       512x384       60.00  
       400x300       60.32    56.34  
       320x240       60.05  
    HDMI-1-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 930mm x 530mm
       1920x1080     60.00*+  50.00    59.94  
       1920x1080i    60.00    50.00    59.94  
       1600x1200     60.00  
       1680x1050     59.88  
       1280x1024     75.02  
       1440x900      59.90  
       1280x960      60.00  
       1360x768      59.80  
       1152x864      75.00  
       1280x720      60.00    50.00    59.94  
       1024x768      75.08    70.07    60.00  
       832x624       74.55  
       800x600       72.19    75.00    60.32    56.25  
       720x576       50.00  
       720x576i      50.00  
       720x480       60.00    59.94  
       720x480i      60.00    59.94  
       640x480       75.00    72.81    66.67    60.00    59.94  
       720x400       70.08  
    DP-1-1 disconnected (normal left inverted right x axis y axis)
    

    But when i try to do :

    bussiere@kusanagi [22:03:53] [~/script] [master *]
    -> % xrandr --output Screen 0 --primary
    warning: output Screen 0 not found; ignoring
    bussiere@kusanagi [22:04:49] [~/script] [master *]
    -> % xrandr --output Screen 0 --primary 
    xrandr: unrecognized option '0'
    Try 'xrandr --help' for more information.
    

    it doesn't work. How to type correctly Screen 0 for the --primary command of xrandr please ?

    Thanks

    share  improve this question   
    •  
      Do you want to set either which screen by position, no matter the name, or by name? – Jacob Vlijm Nov 29 '17 at 21:41 
    7
     

    "Screen 0" here describes your whole virtual display made of these two outputs:

    • eDP-1-1: physical screen plugged to a display-port output
    • HDMI-1-1: physical screen plugged to a HDMI output

    (notice Screen 0 is 3286 pixel wide, which is 1366 + 1920, the two other outputs horizontal pixels)

    I guess you want to use HDMI-1-1 as primary output, and the following command will fix that:

    xrandr --output HDMI-1-1 --primary
  • 相关阅读:
    RSA私钥加密研究
    贪吃蛇 WPF
    随手写 --- 贪吃蛇
    canvas总结:线段宽度与像素边界
    canvas总结:元素大小与绘图表面大小
    【原】YUI Test自动化测试实例详解
    【译】Optimize for mobile-移动端优化
    【原】从一个bug浅谈YUI3组件的资源加载
    【译】Optimize caching-缓存优化
    【原】YUI3:js加载过程及时序问题
  • 原文地址:https://www.cnblogs.com/xuanbjut/p/13815237.html
Copyright © 2011-2022 走看看