Я искал что-то подобное этой проблеме, и я не нашел его. Я приношу извинения, является ли это дубликат.
Я пробую установленный ontop Xubuntu своей Ubuntu 13.10. Я пытался подключить внешний монитор и расширить рабочий стол. Это работало, нет жалуется там. Это - результат (оставленный: latop - право: 24-дюймовый внешний монитор VGA):
Однако, когда я возвращаюсь к экрану ноутбука, только строка меню исчезает, как показано на следующем снимке экрана:
Если я включаюсь в/активировать внешнем мониторе снова, он возвращается для работы обычно как показано ранее.
Обновление:
вывод xrandr согласно просьбе (никакой внешний монитор)
Screen 0: minimum 320 x 200, current 3286 x 1080, maximum 32767 x 32767
LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 277mm x 156mm
1366x768 60.0*+
1360x768 59.8 60.0
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
VGA1 disconnected 1920x1080+1366+0 (normal left inverted right x axis y axis) 0mm x 0mm
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
1920x1080 (0x4d) 148.5MHz
h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 67.5KHz
v: height 1080 start 1084 end 1089 total 1125 clock 60.0Hz
Внешний монитор включил:
Screen 0: minimum 320 x 200, current 3286 x 1080, maximum 32767 x 32767
LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 277mm x 156mm
1366x768 60.0*+
1360x768 59.8 60.0
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
VGA1 connected 1920x1080+1366+0 (normal left inverted right x axis y axis) 531mm x 299mm
1920x1080 60.0*+
1600x1200 60.0
1680x1050 60.0
1280x1024 75.0 60.0
1440x900 59.9
1280x960 60.0
1152x864 75.0
1024x768 75.1 70.1 60.0
832x624 74.6
800x600 72.2 75.0 60.3 56.2
640x480 75.0 72.8 66.7 60.0
720x400 70.1
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
Хорошо, проблема - то, что при отключении монитора настольные настройки не обновляются, и система все еще думает, что это имеет второй присоединенный монитор. Это может, вероятно, быть зафиксировано с помощью udev
правило, но они могут быть сложными для такого рода вещи. Я записал немного сценария, который обновляет мой рабочий стол, и я отобразил его на сочетание клавиш, таким образом, я могу легко выполнить его и зафиксировать этот тип проблемы. Я изменил его для соответствия установке на основе вывода Вашего xrandr
#!/usr/bin/env bash
## If the VGA1 screen is currenlty connected
if ( xrandr | grep VGA1 | grep -qw connected )
then
## print a pretty message
notify-send "Extending desktop to screen VGA1"
## extend the desktop to the external screen. If you want your panel
## to appear on the right hand screen move the '--primary' flag to
## the VGA1: --output VGA1 --primary ...
xrandr --output LVDS1 --auto --primary --output VGA1 --auto --right-of LVDS1
else
## If the external screen is not connected, refresh the desktop and
## make everything appear on the laptop's
xrandr --output LVDS1 --auto --primary --output VGA1 --off
fi
, Сохраняют этот сценарий как ~/screen_switch.sh
, делают его исполняемым файлом (chmod +x ~/screen_switch.sh
) и затем используют Параметры настройки системы для установки сочетания клавиш, которое выполняет его. Можно теперь использовать ярлык для решения проблемы.