[mythtv-users] Ratpoison
James Klaas
jklaas at appalachian.dyndns.org
Thu Jan 8 01:15:36 UTC 2009
On Tue, Jan 6, 2009 at 9:09 PM, Mitch Gore <mitchell.gore at gmail.com> wrote:
> Hi,
>
> Im trying to get my desktop environment as light as possible on my
> diskless frontend. Currently I am using fluxbox but have heard good
> things about ratpoison. I installed the package vi yum on my CentOS
> install but i dont have a option in Session on the login screen.
>
> What am i missing?
>
> Also, how/where do you enter commands for startup on login?
>
> Thanks
>
> --
> Mitchell
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
In order to get my frontend as light as possible from that
perspective, I eliminated any window manager at all and I don't run an
X login manager either. I run mythtv right on X. Here's how I did
it.
I use event.d instead of inittab, but the event.d structure is much
easier. I created an event.d file called mythtv:
----------------/etc/event.d/mythtv-------------
# mythtv
#
# This service starts mythtv from the point the system is
# started until it is shut down again.
start on runlevel 2
start on runlevel 3
start on runlevel 4
start on runlevel 5
stop on runlevel 0
stop on runlevel 1
stop on runlevel 6
respawn
exec /usr/bin/openvt -fwc 12 -- /bin/su - mythtv -c /usr/bin/startx
----------------/etc/event.d/mythtv-------------
Then, I created a .xinitrc for the mythtv user:
---------------/home/mythtv/.xinitrc---------------
/usr/bin/irexec &
mythfrontend --logfile /home/mythtv/mythfrontend.log
---------------/home/mythtv/.xinitrc---------------
If I ever need to have some sort of window manager, I just add it to .xinitrc.
James
More information about the mythtv-users
mailing list