[mythtv-users] Replacing KDE with Ratpoison

nate s nate.strickland at gmail.com
Wed Dec 8 20:14:15 UTC 2004

I was just writing a script like this myself last night.  The way I
did it was to use the ~/.xsession file, which gdm will execute if you
choose "Custom Session," and start both ratpoison and mythfrontend
there.  Also, notice that I started ratpoison with ratpoison &, and
then started mythfrontend with exec mythfrontend.  What this means is
that it will behave as if no window manager is there in that it will
log you out to gdm when you exit mythfrontend, but it aviods the other
problems of running myth without a windowmanager.  If you're having
problems with mythfrontend crashing, you can change this by doing the
exec on ratpoison rather than on mythfrontend (and you can do while
true or whatever to keep myth alive)

/usr/X11R6/bin/xset s noblank
/usr/X11R6/bin/xset s off
/usr/X11R6/bin/xset -dpms
/usr/bin/ratpoison &
exec mythfrontend

just put that in ~/.xesssion, and make it executable, then you're set.  

On Wed, 8 Dec 2004 09:43:50 -0500 (EST), Cory Papenfuss
<papenfuss at juneau.me.vt.edu> wrote:
> > id:3:initdefault: 1:2345:respawn:/sbin/mingetty --autologin mythtv tty1
> >
>         Beautifully simple!  Wish I'd thought of that before I wrote up a
> 'sudo'-based script hack to get things fired up manually.  Basically, I
> wrote a redhat-type init.d script that will fire up some things as root,
> and some things as user mythtv.  I think I'll try converting it over that
> way to make it cleaner.
> -Cory
> *************************************************************************
> * Cory Papenfuss                                                        *
> * Electrical Engineering candidate Ph.D. graduate student               *
> * Virginia Polytechnic Institute and State University                   *
> *************************************************************************
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

More information about the mythtv-users mailing list