----现在重新做人-2018-11-16
我终于会简单地拓展我的显示屏了,上次还给好朋友装[^ACD]了。
作案工具——xrandr
作案过程
简单的
- 一般把线插上去就已经完成了硬件的连接。
- 使用作案工具检测一下是否连接好了
- 如果没有连接好,那么检查显示器线路吧
- 如果存在2中显示的结果,那么使用作案工具连接上拓展屏吧
xrandr --output HDMI-1 --auto
- 连接上后不想要复制屏幕啊,那么就选择左边放置屏幕还是右边放置啊。
# 右边放置拓展屏
xrandr --output HDMI-1 --rotate normal --right-of eDP-1
- 选择自己的拓展屏为主屏
xrandr --output HDMI-1 --primary
- 简单作案就是这些了。
复杂作案
我现在也不会,没有需求就没有动力玩啊//。
以下是黑历史
先记着我的配置
1 <monitors version="1">
2 <configuration>
3 <clone>no</clone>
4 <output name="eDP-1">
5 <vendor>LGD</vendor>
6 <product>0x053c</product>
7 <serial>0x00000000</serial>
8 <width>1920</width>
9 <height>1080</height>
10 <rate>60</rate>
11 <x>0</x>
12 <y>0</y>
13 <rotation>normal</rotation>
14 <reflect_x>no</reflect_x>
15 <reflect_y>no</reflect_y>
16 <primary>yes</primary>
17 </output>
18 <output name="DP-1">
19 </output>
20 <output name="HDMI-1">
21 <vendor>LGD</vendor>
22 <product>0x053c</product>
23 <serial>0x00000000</serial>
24 <width>1920</width>
25 <height>1080</height>
26 <rate>60</rate>
27 <x>0</x>
28 <y>0</y>
29 <rotation>normal</rotation>
30 <reflect_x>no</reflect_x>
31 <reflect_y>no</reflect_y>
32 <primary>no</primary>
33 </output>
34 </configuration>
35 <configuration>
36 <clone>no</clone>
37 <output name="eDP-1">
38 <vendor>LGD</vendor>
39 <product>0x053c</product>
40 <serial>0x00000000</serial>
41 <width>1920</width>
42 <height>1080</height>
43 <rate>60</rate>
44 <x>0</x>
45 <y>0</y>
46 <rotation>normal</rotation>
47 <reflect_x>no</reflect_x>
48 <reflect_y>no</reflect_y>
49 <primary>yes</primary>
50 </output>
51 <output name="DP-1">
52 </output>
53 <output name="HDMI-1">
54 </output>
55 </configuration>
56 </monitors>