- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我有一台 4K 显示器 (3840 x 2160) 和两台 QHD 显示器 (2560 x 1440),我想将它们并排放置。虽然目前这是不可能的,因为为此所需的水平虚拟分辨率是 8960 像素(3840+2560+2560),但 X 服务器设置的最大(水平)虚拟分辨率是 8192 像素。有没有办法将最大虚拟分辨率提高到 8192x8192 像素以上?
到目前为止我尝试过的:
xorg.conf
文件 - 我尝试自己手动创建一个,包括 "Display"
子部分并在其中设置不同的 "Virtual"
值,重新启动,没有任何改变。 xrandr
命令变体,将 --fb
和/或 --panning
参数设置为所需的最大值 ( 8960x2160+0+0
),再次无济于事。 (输出:xrandr: screen cannot be larger than 8192x8192 (desired size 8960x2160)
)Core i7-6700HQ
图形处理器的
Intel HD Graphics 530
CPU,但不幸的是无法确认)此信息 - 希望情况并非如此。
#: glxinfo -l | grep GL_MAX_TEXTURE_SIZE
GL_MAX_TEXTURE_SIZE = 16384
GL_MAX_TEXTURE_SIZE = 16384
Screen 0: minimum 320 x 200, current 8192 x 3600, maximum 8192 x 8192
eDP-1 connected primary 3840x2160+2560+0 (normal left inverted right x axis y axis) 346mm x 194mm
3840x2160 60.00*+
2048x1536 60.00
1920x1440 60.00
1856x1392 60.01
1792x1344 60.01
1600x1200 60.00
1400x1050 59.98
1280x1024 60.02
1280x960 60.00
1024x768 60.04 60.00
960x720 60.00
928x696 60.05
896x672 60.01
800x600 60.00 60.32 56.25
700x525 59.98
640x512 60.02
640x480 60.00 59.94
512x384 60.00
400x300 60.32 56.34
320x240 60.05
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 connected 2560x1440+4519+2160 (normal left inverted right x axis y axis) 527mm x 296mm
2560x1440 59.95*+
2048x1152 59.90
1920x1200 59.95
1920x1080 60.00 50.00 59.94 24.00 23.98
1920x1080i 60.00 50.00 59.94
1600x1200 60.00
1680x1050 59.88
1280x1024 75.02 60.02
1280x800 59.91
1152x864 75.00
1280x720 60.00 50.00 59.94
1024x768 75.03 60.00
800x600 75.00 60.32
720x576 50.00
720x576i 50.00
720x480 60.00 59.94
720x480i 60.00 59.94
640x480 75.00 60.00 59.94
720x400 70.08
DP-2 connected 2560x1440+0+285 (normal left inverted right x axis y axis) 597mm x 336mm
2560x1440 59.95*+
1280x720 59.86
HDMI-2 disconnected (normal left inverted right x axis y axis)
最佳答案
我能够通过以下步骤修复此问题以生成和修改 xorg.conf
文件并将其放入 /etc/X11/xorg.conf
.
我在 Ubuntu 16.04 上使用 gnome-session-fallback
使用 metacity
每当我尝试使用所有三个完整分辨率时,我都会收到关于虚拟大小无法超过 8192x8192
的错误。 .
我不确定您是否在 gnome
上是否重要unity
metacity
或不。
重新启动前 - 生成 xorg.conf.new
文件。
$ sudo X :2 -configure
# will make a file /home/$USER/xorg.conf.new or ~/xorg.conf.new
$ cat ~/xorg.conf.new |grep Screen|more
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
Section "Screen"
Identifier "Screen0"
Section "Screen"
Identifier "Screen1"
Screen Sections
例如,我正在尝试使用 3 个显示器 - 我认为您不需要三个
Screen Sections
无论生成什么。
Monitor 1: 3840x2160 x 32 in
Monitor 2: 3840x2160 x 32 in
Monitor 3: 1920x1080 x 22 in
8192x8192
如果你需要超过这个尺寸。
glxinfo -l | grep GL_MAX_TEXTURE_SIZE
GL_MAX_TEXTURE_SIZE = 16384
GL_MAX_TEXTURE_SIZE = 16384
xorg.conf.new
文件在您的
/home/username
目录并添加
glxinfo
中的大小命令
Virtual 16384
sudo nano ~/xorg.conf.new
Display
与
Depth
两个部分共 24 个
Screen
添加
Virtual 16384
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Virtual 16384 16384 <-- ADD THIS.
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Virtual 16384 16384 <-- ADD THIS.
EndSubSection
EndSection
xorg.xonf.new
至
/etc/X11/xorg.conf
然后重新启动。
sudo cp /home/user/xorg.conf.new /etc/X11/xorg.conf # Modify user
sudo shutdown -r now
gnome
中设置您的监视器,
metacity
或
unity
或任何你使用的。
gnome
问题可能与此错误有关:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1292398
https://askubuntu.com/questions/6137/saving-monitor-settings
cd ~/.config
mv ~/.config/monitors.xml{,.bak}
~/.config/monitors.xml
具有适当设置的文件。
$ ls -l ~/bin
# if you don't have this directory then create it - do not be logged in as root here.
$ mkdir /home/$USER/bin
$ echo $PATH
# should show /home/username/bin if the dir existed or if you had to create.
$ wget -P ~/bin https://raw.githubusercontent.com/alextomko/monitors/master/monitors
$ chmod +x ~/bin/monitors
# Log out, lock, reboot or whatever it takes to make monitor settings lost for you and run the script.
$ monitors
关于screen-resolution - Xorg 将虚拟屏幕大小增加到 8192 x 8192,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46569550/
我在 * nix 中相当新。有没有办法创建一个屏幕,它会立即执行给定的命令序列(带有自己的参数)?两个小时的谷歌搜索一无所获——也许是因为我不能 清楚地陈述问题。 我希望像 screen -dmS n
我顺风顺风margin配置文件中的属性: module.exports = { theme: { extend: { 'margin': {
我正在 cygwin 环境中配置 GNU 屏幕。实际上重新配置——它之前总是有效,当我升级到 cygwin-64 时,相同的配置文件给了我意想不到的行为。 发生的情况是,每当我在终端中执行溢出全屏的操
关闭。这个问题是off-topic .它目前不接受答案。 想改善这个问题吗? Update the question所以它是 on-topic对于堆栈溢出。 10年前关闭。 Improve this
我想使用 GNU screen 来监视这样的串行 USB 端口: $ screen /dev/ttyUSB0 115200 但我需要调整一些终端线路设置。我已经进行了几次尝试,但似乎都没有奏效。例如,
我需要在我的 .screenrc 中放入什么才能创建嵌套 session (即:屏幕中的屏幕)? 目前,如果我运行 screen再次从打开的屏幕选项卡中,而不是在该选项卡中打开一个新的屏幕 sessi
我通常像这样使用 gnu 屏幕: 1. 为我的所有任务启动一个屏幕 session 2.当我登录到一台机器时,我连接到我同事制作的屏幕 session (screen -x)(因此这使它成为“内部屏幕
使用屏幕,我知道我可以按名称命名和重新附加到 session : screen -S screen -r 当我执行 screen -ls我得到一个 session 列表,但
如何增加screen中可以查看的行数? 我想查看从运行screen -S 到当前操作的那几行。例如,如何将缓冲区长度增加到大约50000行? 我已经尝试过^a :scrollback ,但是它不会增加
很难说出这里问的是什么。这个问题模棱两可、含糊不清、不完整、过于宽泛或言辞激烈,无法以目前的形式合理回答。如需帮助澄清此问题以便可以重新打开,visit the help center . 8年前关闭
作为设置桌面的启动脚本的一部分,我初始化了一个带有多个窗口的 screen 。为此,我启动一个守护进程并向其发送 -X screen 和 -X stuff 命令,最后使用 -r 重新连接。 不幸的是,
当我开始时 screen ,我收到以下消息: Screen version 4.00.03jw4 (FAU) 2-May-06 Copyright (c) 1993-2002 Juergen Weig
刚刚开始使用 Screen 与 Vim 进行远程配对编程。 想知道是否有办法调整窗口大小,因为我们的终端空间在默认设置下非常有限。 目前我正在进入这样的屏幕: User 1: screen -R te
所以我一直在尝试寻找一些关于 GNU screen 实际上如何在 high 下工作的信息,而不必真正阅读源代码,但我一直无法这样做。 screen 做了什么,即使在终端 session 关闭时它也能保
我有一个游戏服务器。它通过 dotnet 在 linux 上运行。我在“screen ” session 中运行它。但是我正在努力重新启动此服务器。从外面看,很容易。我只是通过名称杀死现有 scree
我想使用 mac/linux 命令 screen 启动多个 screen ,让每个 screen 执行我的 .bashrc,然后从该 .bashrc 运行一系列别名/函数。我尝试在我的 .screen
当我在终端工作时,我会看到最后一个 shell 命令执行输出的历史记录。如果我运行 vim,我会看到我全屏打开的文件。当我退出 vim 时,我可以再次看到最后一个 shell 命令的历史。 但是,当我
我正在写一个小脚本,它确实向正在运行的屏幕 session 发送命令。此命令会停止屏幕,但不会立即停止。我需要等待它完成才能继续执行脚本的其余部分。 这就是我停止屏幕的方式: screen -S $S
我们在办公室经常使用 gnu screen ,有时如果我不注意,我最终会迷失在我已经在哪个 screen session 中。 所以我的问题是,你怎么知道你在哪个屏幕 session 中?你有办法查吗
我想知道 Mozenda Screen Scraper 是如何编码的? http://www.mozenda.com/screen-scraper 我展示了一个浏览器,用户可以在其中选择他想要删除的字
我是一名优秀的程序员,十分优秀!