boot into minimal wm & start mythtv?

Ryan Escarez ryan.escarez at gmail.com
Thu Jan 5 03:28:13 UTC 2006


On 1/5/06, Matt Price <matt.price at utoronto.ca> wrote:
> hi folks,
>
> have just successfully set up a mythtv box under breezy (yay!).

kewl!!!

> it's very cool, but it's running on a slowish machine that takes ages to
> boot.  I'm trying to reduce overhead, which so far mostly means
> booting into fluxbox instead of gnome (other suggestions are HEARTILY
> welcome!  I'm sure there's lots of stuff in the desktop-oriented main
> distro that isn't necessary for me).  ultimately I think I'd like to
> eliminate gdm altogether and just boot into the most minimal wm I can
> find (any suggestions for something quicker than fluxbox?  even that
> takes many seconds to load!); but I don't really know how to do that
> -- possibly add a file in /etc/init.d/ that runs a startx command?

First: try disabling gdm to prevent loading during startup (this will
make you prompted in CLI instead of GUI)

$ sudo update-rc.d -f gdm remove

Second: try adding entry of startx on your ~/.bashrc (mostly likely at
the bottom)


>
> In any case I'd like to know whether there's a standard place to put
> commands I want to be run on start by every xsession , because I would
> like for the mythtv frontend to start every time I log in.  Does gdm even
> see .xinitrc any more?  Would that be the place to put such a command?
>

you can try adding entry of mythtv on your ~/.fluxbox/startup


> I appreciate any suggestions, either in terms of further optimization
> or best-prcitces placement of ocnfiguration data.

you can check some script that are loading during startup by checking
/etc/init.d/ and disable some script you don't want to load (make
_sure_ you know what you're doing)

Have fun!

--
Ryan Escarez
CEBB F1E4 1E39 EC48 F05D  6B72 9C11 DD88 5E39 E471
$ gpg --keyserver pgp.mit.edu --recv-keys 0x5E39E471
main(k){float i,j,r,x,y=-16;while(puts(""),y++<15)
for(x=0;x++<84;putchar(" .:-;!/>)|&IH%*#"[k&15]))
for(i=k=r=0;j=r*r-i*i-2+x/25,i=2*r*i+y/10,j*j+i*i<11&&k++<111;r=j);}




More information about the ubuntu-users mailing list