2010-10-07, 15:09
Hi.
I'm wondering if it's possible to run dual screens cloned, with one of the screens inverted (upside-down)?
I'm running XBMC Live, Dharma beta 2, on an Acer Revo R3610 (ION graphics). The HDMI output is connected to my amp, which in turn is connected both to my LCD TV (full HD, 1080p) and projector. The VGA output is connected to an LCD screen (full HD) mounted under a tinted glass table - which looks whicked The idea is to be able to use the screen beneath my table to control my music collection (and hopefully spotify soon) without switching on my TV or projector.
The problem is the view angle of the screen beneath the table - just try looking at an lcd screen from below. The solution, i thought, was to mount the screen upside-down, but i'm having seroius problems figuring out how to flip the image upside-down.
For now i've got a semi-solution to this. I'm running cloned screens, and when i'm going to just listen to music i flip both screens upside-down from a keyboard shortcut. What i've done is create two shell scripts to execute
(/home/me/screen_invert.sh):and
(/home/me/screen_normal.sh)and created two python scripts to execute the shell scripts:
(/home/me/screen_invert.py):and
(/home/me/screen_normal.py):
To execute the python scripts i've added two lines to /usr/share/xbmc/system/keymaps/keyboard.xml:
The scripts flip my screens almost instantaneous, so it sort of works, but i'd really like to flip just one of the screens...
My xorg.conf file looks like this:
Any help is greatly appreciated. A plain "No, that's not possible" is also ok, so i don't have to spend any more time trying
I'm wondering if it's possible to run dual screens cloned, with one of the screens inverted (upside-down)?
I'm running XBMC Live, Dharma beta 2, on an Acer Revo R3610 (ION graphics). The HDMI output is connected to my amp, which in turn is connected both to my LCD TV (full HD, 1080p) and projector. The VGA output is connected to an LCD screen (full HD) mounted under a tinted glass table - which looks whicked The idea is to be able to use the screen beneath my table to control my music collection (and hopefully spotify soon) without switching on my TV or projector.
The problem is the view angle of the screen beneath the table - just try looking at an lcd screen from below. The solution, i thought, was to mount the screen upside-down, but i'm having seroius problems figuring out how to flip the image upside-down.
For now i've got a semi-solution to this. I'm running cloned screens, and when i'm going to just listen to music i flip both screens upside-down from a keyboard shortcut. What i've done is create two shell scripts to execute
(/home/me/screen_invert.sh):
Code:
xrandr -o inverted
(/home/me/screen_normal.sh)
Code:
xrandr -o normal
(/home/me/screen_invert.py):
Code:
#! /usr/bin/env python
import os
os.system('sh /home/me/screen_invert.sh')
(/home/me/screen_normal.py):
Code:
#! /usr/bin/env python
import os
os.system('sh /home/me/screen_normal.sh')
To execute the python scripts i've added two lines to /usr/share/xbmc/system/keymaps/keyboard.xml:
Code:
<g>RunScript(/home/me/screen_invert.py)</g>
<h>RunScript(/home/me/screen_normal.py)</h>
The scripts flip my screens almost instantaneous, so it sort of works, but i'd really like to flip just one of the screens...
My xorg.conf file looks like this:
Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder75) Thu Apr 22 11:44:23 PDT 2010
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 26.0 - 68.0
VertRefresh 23.0 - 61.0
Option "DPMS"
Option "ExactModeTimingsDVI" "TRUE"
ModeLine "1920x1080" 148.35 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
ModeLine "1280x720" 74.18 1280 1390 1430 1650 720 725 730 750 +hsync +vsync
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "ModeValidation" "NoEdidModes"
EndSection
Section "Screen"
Option "FlatPanelProperties" "Scaling = Native"
Option "HWCursor" "Off"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "NoLogo" "True"
Option "DynamicTwinView" "False"
SubSection "Display"
Depth 24
Modes "1920x1080" "1280x720"
EndSubSection
Option "TwinView"
Option "TwinViewOrientation" "Clone"
Option "RandRRotation" "true"
EndSection
Section "Extensions"
Option "Composite" "Disable"
EndSection
Any help is greatly appreciated. A plain "No, that's not possible" is also ok, so i don't have to spend any more time trying