Use xrandroid for multiple Screen Display

Source: Internet
Author: User

Gnome 3 does not have good support for multiple screen display. It is therefore necessary to useXrandroidFor such purpose. It can be used as follows.

Display the mappings:

$ xrandrScreen 0: minimum 8 x 8, current 1680 x 1050, maximum 16384 x 16384VGA-0 disconnected (normal left inverted right x axis y axis)LVDS-0 connected (normal left inverted right x axis y axis)   1920x1080      60.0 +   50.0DP-0 disconnected (normal left inverted right x axis y axis)DP-1 disconnected (normal left inverted right x axis y axis)DP-2 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 474mm x 296mm   1680x1050      60.0*+   60.0   1600x1000      60.0   1440x900       75.0     59.9   1280x1024      75.0     72.0     60.0   1152x864       75.0   1024x768       75.0     70.1     60.0   800x600        75.0     72.2     60.3   640x480        75.0     72.8     59.9DP-3 disconnected (normal left inverted right x axis y axis)DP-4 disconnected (normal left inverted right x axis y axis)DP-5 disconnected (normal left inverted right x axis y axis)

Disconnect a display:

$ xrandr --output LVDS-0 --off         # This is the LCD of the laptop

Set mode of the external display:

$ xrand --output DP-2 --mode 1680x1050    # This is the external monitor in office$ xrand --output DP-2 --auto            # Or use automatic detection

After configuration, FVWM shocould be restarted. Or if needed, X Server shocould be restarted.

[13/6/20] At present, GNOME environment is used instead of FVWM or sawfish. And three scripts have been created to change the monitor settings.

1. Only use the external monitor:Extdisp. Sh

#!/bin/bashxrandr --output DP-2 --mode 1680x1050 --primary --output LVDS-0 --off

2. Use two monitors, the external monitor as the primary monitor:Dbldisp. Sh

#!/bin/bash xrandr --output DP-2 --mode 1680x1050 --primary --right-of LVDS-0 --output LVDS-0 --auto

3. Use Only laptop monitor:Lapdisp. Sh

#!/bin/bash xrandr --output DP-2 --off --output LVDS-0 --auto

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.