linux n00b

Motherboard Transplants, Debian, Fluxbox and Auto Starting Applications

Posted in Distributions, Window Managers by downforce on July 2, 2007

I’ve recently decided that it’s time to stop letting Mark Shuttleworth hold my hand in my Linux experience and start getting my hands more dirty!

As a result, I’ve decided to start installing Debian on my machines as and when required.

Yesterday, after 5 hours of PC transplant surgery, transposing 4 motherboards in 3 PC’s, what is my HTPC decided it didn’t like the transplant. Very strangely, I changed from this C 2.4GHz 478/533FSB MB to a P4 287.GHz 478/800FSB and it handled it fine. Changing the board back again and X-Windows didn’t want to start, kept crashing out after logging in with GDM.

My HTPC was running Ubuntu 6.10 Edgy w/ E17. Now I realise I could have spent some time fixing it, but I couldn’t be bothered as I didn’t want to run E17 as my HTPC environment anymore anyway, mainly due to conflicting keybindings when using MythBrowser.

So I took the plunge and stuck Debian 4.0 Etch on it via a Net Install. Thanks to using a Debian Etch VM not so long ago, my proxy server had cached a fair bit so the install was pretty quick. I selected Standard System only, not Desktop System. After installing the base system, I installed FluxBox, GDM, MythTV Frontend, nVidia Legacy driver from nvidia.com for my MX4000 PCI and Alsa.

All installed fine (subject to installing some dependencies), however as of today, still haven’t got the sound working correctly. TBH this is driving me nuts and sound in Linux has always been my Achilles heel.

Anyway, one of the crucial elements is having MythTV automatically load at startup. Using my Googlefu I discovered 3 methods, involving editing .xinitrc or .fluxbox/startup. Neither was working!

Turned out that to get these to run, need to start FluxBox with /usr/bin/startfluxbox, not /usr/bin/fluxbox, which Debain does by default!

The solution is to change the alternatives!
update-alternatives --install fluxbox x-window-manager /usr/bin/startfluxbox 100
update-alternatives --config x-window-manager

Next time you login, you’re apps will run! I’ve dumped FluxBox 3 times because of this problem. I might install it on my main PC when it get’s rebuilt!

Now just to figure out how to get my Creative SB Live! Value working!

Advertisements