Also ich hab die Konstellation:
hdmi: TV mit vdr-sxfe oder xbmc
vga: GraphTFT
Hier die xorg.conf dafür
- Section "ServerLayout"
- Identifier "Layout0"
- Screen 0 "Screen0" 0 0
- Screen 1 "Screen1" Below "Screen0"
- InputDevice "Keyboard0" "CoreKeyboard"
- InputDevice "Mouse0" "CorePointer"
- Option "Xinerama" "0"
- EndSection
- Section "Module"
- # Load "freetype"
- Load "dbe"
- Load "extmod"
- # Load "type1"
- Load "glx"
- EndSection
- Section "ServerFlags"
- Option "Xinerama" "0"
- EndSection
- Section "InputDevice"
- # generated from data in "/etc/conf.d/gpm"
- Identifier "Mouse0"
- Driver "mouse"
- Option "Protocol"
- Option "Device" "/dev/input/mice"
- Option "Emulate3Buttons" "no"
- Option "ZAxisMapping" "4 5"
- EndSection
- Section "InputDevice"
- # generated from default
- Identifier "Keyboard0"
- Driver "kbd"
- Option "XkbLayout" "de"
- Option "XkbVariant" "nodeadkeys"
- EndSection
Display More
Graphtft startet dann auf dem zweiten Bildschirm:
- DISPLAY=:0.1 /vdr/bin/graphtft-fe -h localhost -W 1024 -H 768 -r -n 2>&1 >/dev/null &
Der Rest defaukt auf 0:0
Ich denke mal, es sollte kein Thema sein, einen Window-Manager ebenso zu konfigurieren...
Und auf 0:0 läuft dann entweder xbmc oder vdr-sxfe. Der VDR läuft immer im Hintergrund.
Umgeschaltet (und auch ggfs Neugestartet) wird dann per lirc/irexec:
- begin
- remote = X10_pollin
- button = LIVETV
- prog = irexec
- repeat = 0
- config = /vdr/bin/SelectVDR
- end
- begin
- remote = X10_pollin
- button = RECTV
- prog = irexec
- repeat = 0
- config = /vdr/bin/SelectXBMC
- end
- begin
- remote = X10_pollin
- button = PHOTO
- prog = irexec
- repeat = 0
- config = /vdr/bin/RestartVDR
- end
- begin
- remote = X10_pollin
- button = MUSIC
- prog = irexec
- repeat = 0
- config = /vdr/bin/RestartXBMC
- end
Display More
Beispielhaft die "SelectVDR":
- /etc/init.d/xbmc stop
- /etc/init.d/LCDd stop
- /etc/init.d/boblight stop
- /usr/local/bin/svdrpsend.pl plug imonlcd on
- /etc/init.d/vdr-sxfe start
LCDd brauch ich unter xbmc fürs LCD, der boblightd macht mir unter XBMC das Atmolight, was VDR per Plugins ja mehr oder weniger nativ kann.
Den Rest kannste Dir vermutlich denken, bei Befarf poste ich das auch noch.