[mythtv] How do you run mythfrontend automatically after WindowMaker starts ?
Rick Warner
mythtv-dev@snowman.net
Sun Jan 5 23:36:47 EST 2003
--Boundary-00=_PGMG+PYJqnEMeJA
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
On Sunday 05 January 2003 05:58 pm, Chris wrote:
If myth can run without a window manager at all, you can do something similar
to my setup for mplayer. i use the attached scripts to play movies on my tv
/etc/X11/mplayer.initrc - initrc file specifically for playing movies
/usr/local/bin/TVmovie - sets up a temp file that contains the name/location
of the movie and starts X using the mplayer.initrc file
With these scripts, I just have add them as an action for movies to kde's file
manager(i use kde on my normal desktop),and I can just click on the movie to
play it on the tv :)
Oh, i have also attached my XF86Config-4 file so you can understand the
options I pass to X
> Trying to put together a mythtv that will work with lirc remote only. I
> wonder if it is possible to run a mythtv box without keyboard and
> mouse. Trying to figure out how to get mythtv .7 to automatically
> launch after Window Maker starts. Any ideas? rc.local doesnt work/
> Using redhat 8. Thanks
>
>
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev@snowman.net
> http://www.snowman.net/mailman/listinfo/mythtv-dev
--Boundary-00=_PGMG+PYJqnEMeJA
Content-Type: text/plain;
charset="iso-8859-1";
name="mplayer.xinitrc"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="mplayer.xinitrc"
xhost +
xterm -exec /tmp/moviechoice
--Boundary-00=_PGMG+PYJqnEMeJA
Content-Type: application/x-shellscript;
name="TVmovie"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="TVmovie"
#!/bin/bash
mixer -master=100
#clears out old moviechoice file
> /tmp/moviechoice
echo mplayer -osdlevel 1 -fs \"$@\" > /tmp/moviechoice
chmod 777 /tmp/moviechoice
xinit /etc/X11/mplayer.xinitrc -- :1 -ac -screen screen1
--Boundary-00=_PGMG+PYJqnEMeJA
Content-Type: text/plain;
charset="iso-8859-1";
name="XF86Config-4"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="XF86Config-4"
# File generated by XFdrake.
# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of
# this file.
# **********************************************************************
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:7100"
EndSection
# **********************************************************************
# Server flags section.
# **********************************************************************
Section "ServerFlags"
# Uncomment this to cause a core dump at the spot where a signal is
# received. This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging
#NoTrapSignals
# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.
#DontZap
# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences. This allows clients to receive these key events.
#DontZoom
# This allows the server to start up even if the
# mouse device can't be opened/initialised.
AllowMouseOpenFail
EndSection
# **********************************************************************
# Input devices
# **********************************************************************
# **********************************************************************
# Keyboard section
# **********************************************************************
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "250 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
# **********************************************************************
# Pointer section
# **********************************************************************
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "MouseManPlusPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"
# ChordMiddle is an option for some 3-button Logitech mice
# Option "ChordMiddle"
EndSection
Section "Module"
# This loads the DBE extension module.
Load "dbe"
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
#Option "omit xfree86-dga"
EndSubSection
# This loads the Type1 and FreeType font modules
Load "glx"
Load "type1"
Load "freetype"
EndSection
# **********************************************************************
# Monitor section
# **********************************************************************
# Any number of monitor sections may be present
Section "Monitor"
Identifier "TV"
HorizSync 30-50
VertRefresh 60
EndSection
Section "Monitor"
Identifier "monitor1"
VendorName "Unknown"
ModelName "Unknown"
# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
HorizSync 30-86
# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
VertRefresh 50-160
# This is a set of extended mode timings typically used for laptop,
# TV fullscreen mode or DVD fullscreen output.
# These are available along with standard mode timings.
# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection
# **********************************************************************
# Graphics device section
# **********************************************************************
Section "Device"
Identifier "Generic VGA"
Driver "vga"
EndSection
Section "Device"
Identifier "NVIDIA GeForce3 monitor"
VendorName "Unknown"
BoardName "Unknown"
Driver "nvidia"
# VideoRam 65536
# Clock lines
# Uncomment following option if you see a big white block
# instead of the cursor!
# Option "sw_cursor"
Option "DPMS" "on"
EndSection
Section "Device"
Identifier "NVIDIA GeForce3 TV"
VendorName "Unknown"
BoardName "Unknown"
Driver "nvidia"
VideoRam 65536
# Clock lines
# Uncomment following option if you see a big white block
# instead of the cursor!
# Option "sw_cursor"
# Option "DPMS" "on"
Option "ConnectedMonitor" "TV"
EndSection
# **********************************************************************
# Screen sections
# **********************************************************************
Section "Screen"
Identifier "screen0"
Device "NVIDIA GeForce3 monitor"
Monitor "monitor1"
DefaultColorDepth 16
Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
Section "Screen"
Identifier "screen1"
Device "NVIDIA GeForce3 TV"
Monitor "TV"
DefaultColorDepth 24
Subsection "Display"
Depth 8
Modes "640x480" "320x240"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "640x480" "320x240"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "640x480" "320x240"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 32
Modes "640x480" "320x240"
ViewPort 0 0
EndSubsection
EndSection
Section "Screen"
Identifier "screen2"
Device "NVIDIA GeForce3 TV"
Monitor "TV"
DefaultColorDepth 24
Subsection "Display"
Depth 8
Modes "800x600" "640x480" "320x240"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "800x600" "640x480" "320x240"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "800x600" "640x480" "320x240"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 32
Modes "800x600" "640x480" "320x240"
ViewPort 0 0
EndSubsection
EndSection
Section "ServerLayout"
Identifier "layout1"
Screen "screen0"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
--Boundary-00=_PGMG+PYJqnEMeJA--
More information about the mythtv-dev
mailing list