2013-06-05, 00:42
Hi all,
I have a laptop with a cracked LCD. I connected another screen via the VGA port.
The problem is that when XBMC launches, it detects two screen and spreads the display across the two of them resulting in a 3200x1080 resolution (1280x800+1920x1080).
I would like XBMC to only display over VGA at 1920x1080.
I found a way to do this in XBMCbuntu using this script:
Or by disabling the LVDS screen in display settings.
However, these parameters are reset when I log out and back in with XBMC window manager.
How to permanently disable the LVDS display when running XBMC window manager?
It kinda works now when I go to change the resolution, set it to 640x480, wait until it times out then it goes back to a normal 1920x1080 displaying nothing on the internal screen but it's not very convenient nor clean.
Thanks for your help,
I have a laptop with a cracked LCD. I connected another screen via the VGA port.
The problem is that when XBMC launches, it detects two screen and spreads the display across the two of them resulting in a 3200x1080 resolution (1280x800+1920x1080).
I would like XBMC to only display over VGA at 1920x1080.
I found a way to do this in XBMCbuntu using this script:
Code:
VGA_MONITOR_LINE=$(xrandr | grep "^VGA.*connected")
VGA_MONITOR_LINE=${VGA_MONITOR_LINE%%ed*}
VGA_MONITOR=${VGA_MONITOR_LINE%% *}
VGA_MONITOR_STATUS=${VGA_MONITOR_LINE#* }
LVDS_MONITOR_LINE=$(xrandr | grep "^LVDS.*connected")
LVDS_MONITOR=${LVDS_MONITOR_LINE%% *}
if [ $VGA_MONITOR_STATUS = "connect" ]; then
xrandr --output $LVDS_MONITOR --off --output $VGA_MONITOR --auto
else
xrandr --output $LVDS_MONITOR --auto --output $VGA_MONITOR --off
fi
Or by disabling the LVDS screen in display settings.
However, these parameters are reset when I log out and back in with XBMC window manager.
How to permanently disable the LVDS display when running XBMC window manager?
It kinda works now when I go to change the resolution, set it to 640x480, wait until it times out then it goes back to a normal 1920x1080 displaying nothing on the internal screen but it's not very convenient nor clean.
Thanks for your help,