PDA

View Full Version : question: Howto auto start mythtv on tv display?


duby229
04-04-2006, 09:04 PM
I'm running gnome, and I tried putting this.....

DISPLAY=":0.1" mythfrontend

in the Session manager under Desktop > Preferences > Sessions. I got nothing Mythtv wont start that way. But If I start a terminal and run that same command there, it starts fine.

I'm the only person that uses mythtv, so I only want it to start when I log in.

Any suggestions? Here is a copy of my xorg.conf.....



Section "ServerLayout"
Identifier "Simple Layout"
Screen 0 "Monitor"
Screen 1 "TV" Leftof "Monitor"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "Module"
Load "dbe"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "freetype"
Load "glx"
EndSection

Section "Files"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier "CTX EX700"
EndSection

Section "Monitor"
Identifier "Sanyo TV"
EndSection

Section "Device"
Identifier "GeForce 6200 (Monitor)"
Driver "nvidia"
BusID "PCI:01:00:00"
Screen 0
EndSection

Section "Device"
Identifier "GeForce 6200 (TV)"
Driver "nvidia"
Option "TVOutFormat" "SVIDEO"
Option "TVStandard" "NTSC-M"
Option "ConnectedMonitor" "TV"
BusID "PCI:01:00:00"
Screen 1
EndSection

Section "Screen"
Identifier "Monitor"
Device "GeForce 6200 (Monitor)"
Monitor "CTX EX700"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1024x768"
ViewPort 0 0
EndSubsection
EndSection

Section "Screen"
Identifier "TV"
Device "GeForce 6200 (TV)"
Monitor "Sanyo TV"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "640x480"
ViewPort 0 0
EndSubsection
EndSection

Section "DRI"
Mode 0666
EndSection