我在办公桌上的笔记本电脑上使用 Ubuntu 14.04 和第二台显示器。当我与第二台显示器断开连接时---没有失败---我的 Emacs 窗口移出屏幕。
我可以 Alt-TAB 使 Emacs 成为活动窗口,然后盲目地停止 Emacs 以便我可以重新启动它,这会导致它重新出现在屏幕上。但是,在我看来,Ubuntu 中应该有一种方法可以将屏幕外窗口重新显示到屏幕上。在那儿?
当然,更好的解决方案是防止窗口因显示器断开连接而离开屏幕,我会接受该问题的解决方案。
更新:
xrandr连接到第二台显示器时的输出:
Screen 0: minimum 320 x 200, current 3200 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+1280+0 (normal left inverted right x axis y axis) 382mm x 215mm
1920x1080 60.0*+ 59.9
1680x1050 60.0 59.9
1600x1024 60.2
1400x1050 60.0
1280x1024 60.0
1440x900 59.9
1280x960 60.0
1360x768 59.8 60.0
1152x864 60.0
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
VGA1 connected 1280x1024+0+0 …Run Code Online (Sandbox Code Playgroud)