In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to connect the projector in linux. The content of the article is of high quality, so the editor will share it for you as a reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.
Option 1:
In general, you need the notebook currently using the same resolution as the projector in order to display the laptop's X on the projector. Then, you can run this command first:
$xrandr
For example, on my computer, the results are as follows:
[2007-04-11 09:03:20] zhangsen@zhangsen-desktop:/opt/src/emacs
$xrandr
SZ: Pixels Physical Refresh
* 0 1280 x 1024 (433mm x 346mm) * 50 54
1 1024 x 768 (346mm x 260mm) 51 60 61
2 800 x 600 (270mm x 203mm) 52 65 66 67 68
3 640 x 480 (216mm x 162mm) 53 73 74 75
4 1280 x 960 (433mm x 325mm) 55
5 1280 x 800 (433mm x 270mm) 56
6 1280 x 768 (433mm x 260mm) 57
7 1152 x 864 (390mm x 292mm) 58
8 1152 x 768 (390mm x 260mm) 59
9 960 x 600 (325mm x 203mm) 62
10 840 x 525 (284mm x 177mm) 63
11 832 x 624 (281mm x 211mm) 64
12 800 x 512 (270mm x 173mm) 69
13 720 x 450 (243mm x 152mm) 70
14 640 x 512 (216mm x 173mm) 71 72
15 640 x 400 (216mm x 135mm) 76
16 640 x 384 (216mm x 130mm) 77
17 576 x 432 (195mm x 146mm) 78
18 576 x 384 (195mm x 130mm) 79
19 512 x 384 (173mm x 130mm) 80 81 82
20 416 x 312 (140mm x 105mm) 83
21 400 x 300 (135mm x 101mm) 84 85 86 87
22 320 x 240 (108mm x 81mm) 88 89 90
Current rotation-normal
Current reflection-none
Rotations possible-normal
Reflections possible-none
Article 0 is marked with a *, indicating that this is the resolution currently used by laptops. If the resolution of the projector is 1024x768, then you need to change the resolution of the laptop. Because in the above result, 1024x768 corresponds to item 1, run this command to change the resolution:
$xrandr-s 1
This switches the resolution. Wait for the search of the projector.
First connect the VGA and execute the command (VGA for the monitor, LVDS for the laptop LCD screen):
$xrandr-output VGA-auto
The current desktop will be copied to VGA. If you execute xrandr, you will see that you have VGA-0.
Disconnect the VGA-0:
$xrandr-output VGA-0-auto
Extend the desktop in accordance with the current configuration:
$xrandr-output VGA-0-auto-left-of LVDS
This is to modify the xorg.conf, first execute xrandr without parameters to list the current display device and the mode supported by each device. Screen represents the total display area, VGA represents the monitor, and LVDS represents the notebook LCD screen.
Screen 0: minimum 320 x 200, current 1280 x 768, maximum 1280 x 1280
VGA connected (normal left inverted right x axis y axis)
1280x1024 75.0 + 69.8 59.9
1024x768 75.1 70.1 60.0
800x600 72.2 75.0 60.3
640x480 75.0 72.8 65.4 60.0
720x400 70.1
LVDS connected 1024x768+0+0 (normal left inverted right x axis y axis) 246mm x 184mm
1024x768 50.09 + 60.040.0
800x600 60.3
640x480 60.0 59.9
Modify:
Gksudo gedit / etc/X11/xorg.conf
After modification, it is as follows:
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
SubSection "Display"
Virtual 2304 1024 # expand double screen, 2304mm 1280mm 1024pm 1024max (1024768)
EndSubSection
EndSection
Note: the xorg.conf in Ubuntu 8.04 is already very compact. Subsection "Display" may have to be added by yourself. Don't forget EndSubSection.
The xrandr command line can easily switch between two screens. The common ways are as follows, and others can be explored by yourself:
Xrandr-output VGA-same-as LVDS-auto
Turn on the external monitor (highest resolution) and display the same content as the notebook LCD screen (clone)
Xrandr-output VGA-same-as LVDS-mode 1024x768
Turn on the external monitor (resolution is 1024x768) and display the same content as the notebook LCD screen (clone)
Xrandr-output VGA-right-of LVDS-auto
Turn on the external monitor (highest resolution) and set it to the right expansion screen
Xrandr-output VGA-off
Turn off the external monitor
Xrandr-output VGA-auto-output LVDS-off
Turn on the external monitor and turn off the notebook LCD screen (work with the external monitor only)
Xrandr-output VGA-off-output LVDS-auto
Turn off the external monitor and turn on the notebook LCD screen (laptop LCD screen only)
Option 2:
Open xorg.conf
Gksudo gedit / etc/X11/xorg.conf
Modify Section "Device" as follows:
Section "Device"
Identifier "Configured Video Device"
Option "TwinView"True" # turns on dual display support
Option "TwinViewOrientation"Clone" # replication mode, Relative is extended mode
Option "UseEdidFreqs"True" # Open refresh rate setting
Option "Metamodes"1024x768_60, 1024x768; 1024x768_60800x600" # refresh frequency mode, indicating the resolution of the two devices, the first before the comma is the local display device, the second after the comma is the external device, the semicolon separates multiple modes, and two or more programs can be set.
EndSection
Save. Connect the projector, restart Xwindows (Ctrl+Alt+Backspace) and OK.
On how to connect the projector in linux to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.