Dedicated to my late brave, beautiful and silly mummy, Debra Ross. I love you mumster.

Skip navigation

Mikuru, Fluxbox with ROX-Filer on FreeBSD

In my continuing saga to find the perfect FreeBSD desktop, I decided to set aside the fully fledged desktop environments (KDE, Gnome and Xfce) that I’ve reviewed so far and instead focus on one of the most lightweight window managers: Fluxbox. I figured if I could get it to work, and liked using it, I could adapt it to fit on my boss’s ThinkPad which can only just run IceWM or Windows 98 as it is ;).

Here’s my basic Fluxbox desktop running on FreeBSD on my MacBook Pro with Mozilla Firefox and Xterm with custom colours:

Fluxbox on FreeBSD

As you can see, it’s very lightweight. On a machine like this it loads faster than you can lift your finger off the return key when you type startx to launch it, it’s wild!

Unlike the aformentioned desktop environments and like other vanilla window managers, Fluxbox does exactly what it’s supposed to do; and that’s it. It’s entirely up to you to choose your web browser, email client, office suite, file maneger, terminal emulator and so forth which can take more time on your part but is very rewarding.

The first snag I came across installing Fluxbox on FreeBSD is that the port in the ports collection called fluxbox is actually not the one we want, but rather the fluxbox-devel. Despite the name, fluxbox-devel is the stable release. Caught me out the first time!

fluxbox.png

Once you have the base fluxbox window manager, just add exec fluxbox to your ~/.xinitrc file, then type startx to fire her up.

The configuration files are created in a new folder ~/.fluxbox in your home directory. The customisable settings are in the init file, and you can customise the right-click desktop menu with the surprisingly titled menu file. Is good yah.

To use your own custom desktop backgrounds, you need to install a seperate image viewing program, such as feh which can be found in the ports collection under graphics. After installing, just modify your init file so the line rootCommands: reads rootCommands: fbdeskbg -f /path/to/your/image. You can also pass images to feh on the command line to open them:

Chuck Norris Llamas

Chuck Norris and a Llama, what more do you need? :D ;)

As for file managers I chose ROX-Filer because it’s lightweight and zippy but still allows thumbnailing of images which is very impressive. Again, it’s in the ports collection:

ROX-Filer on Fluxbox

The verdict? Even on slow machines Fluxbox whoops some serious arse, and on my MacBook Pro it works faster than I can type the commands! For many situations I’ll definitely consider it, but I’m a sucker for nice graphics so for my production machines I’ll stick with the desktop environments for now; but I must admit Fluxbox + ROX-Filer is a very nice combination.

Surprisingly the folks over at Fluxbuntu have had a very similar idea and are implementing Fluxbox and ROX-Filer over Ubuntu Linux. If it weren’t for the fact it’s not FreeBSD I’d check it out, looks very intresting.

My other *NIX desktop environment related posts:

Happy Singles Awareness Day

Happy Vanentine’s Singles Awareness Day everyone. Yes, much more politically correct lah!

haruhikyon.jpg

On to other matters though, it seems the situation at home has become a bit more stable now, so I’m looking forward to creating the Rubenerd Show again starting later this week. Stay tuned for the latest.

As usual I’d like to thank Felix, Dave, Matt, Bird/Liz/Elizabeth/Something, Ruth, Hotaru-senpai (she really hates that), Jimbob and of course you for the support you’ve given my family and I over these last few weeks.

At the expense of possibly up-to-the-minute stories and so forth; I’ll be resuming the recording by doing shows a few days in advance to give myself some buffer space. Ideally I’d love to do shows a week in advance in case when something else happens but for the time being that seems a bit silly. I am still determined to do weekdaily shows instead of a weekend one though!

Do sarcastic girls turn you off?

Aretha!As if the original Blues Brothers wasn’t the best movie of all time, and as if Aretha Franklin doesn’t rock!

What started off as emails regarding arabican caffinated beverages (none of that robusta Nescafe junk) has now progressed to the point where I was asked:

Speaking of humor, I read that funny woman turn off men - women want a man who is a humor “generator,” while men seek a humor “appreciator.”

Based on experience, I say COMPLETELY True. Men are so threatened by sarcasm from women (Thanks, great professors of behavioral studies for only coming up with this now). What do you think?

I think there is some level of truth in your observations; it is true there is a feeling generated when you get someone to laugh that just feels darned good, and if it’s a member of the opposite sex, more power to you ;).

From where I stand, I think it takes a certain level of intelligence to be able to pull off randomness and sarcasm; I guess to some men random sarcastic women are scary because they don’t feel as smart and feel threatened intellectually.

To use computer networking terminology though (you speak what you know!): to me great humour isn’t a simplex connection, it’s duplex. In real world langauge, there isn’t any point to humour if it’s only one way. I want someone who I’ve just zinged to zing me back! To me telling a joke to someone and just getting laughter in response is boring because there’s no challenge. I might as well talk to a table with a canned laughter button (obligatory Monty Python reference).

haruhisign.gifI guess you could say that I’m the exact opposite; I really like girls who can make me laugh! That’s the reason why I am particularly drawn to the The Melancholy of Haruhi Suzumiya anime over most others: the protagonist is so ridiculous and preposterous in her actions and so completely random!

I’d be interested to hear what other peoples have to say about it. Do sarcastic women turn you off? Do you prefer women that will just laugh at anything you say and not threaten you intellectually? Do you wear matching socks?

Kuala Lumpur International Airport WiFi is sweet!

So I was at the Kuala Lumpur International Airport (KLIA to people in the know) for a long drawn out reason which I won’t attempt to explain here, and I found myself trying their free WiFi access. Given my experience with TMNet’s WiFi at the Starbucks coffee shops here I was a bit skeptical about how good it was going to be. As it turns out it was faster than out DSL at home!

As you would know if you read this site in any manner resembling regularity I love screenshots, so here are some from my WiFi adventures :D.

Here’s the initial welcome screen when I logged on for free on my MacBook Pro:

klia_mac_thumb.png

Here’s the welcome screen when I booted into Haruhi KDE FreeBSD ;):

Haruhi KDE FreeBSD

And what better thing to do on free WiFi network in a Malaysian airport but listen to Whole Wheat Radio?

klia_wholewheatradio_thumb.png

Haruhi Suzumiya dancing on FreeBSD?

Today was pretty amazing. Why? I ate a small mango after brushing my teeth and was not bothered by the nauseating spearmint infused citrus flavour.

Actually something big did happen for me today and it’s something that I’ve been wanting to do for ages. I installed FreeBSD on several PCs and without looking at any of the documentation for the first time. I’m dangerous!

The BSD Beastie   haruhisign.gif

In a manner similar to how DarkMirror in Singapore talks about learning Japanese, my knowledge of FreeBSD didn’t consciously happen, it evolved and eventually clicked. Like most people starting out in the FOSS world after living on Mac OS X and… heaven forbid… Windows, I was somewhat confused by the more intricate details of compiling kernels with optimisation flags and updating port trees with CVS; but after a week of informal study I pulled my old 200MHz Pentium MMX machine out and installed FreeBSD without looking at any documentation. Without realising it until after I finished, the process of installing and configuring has become second nature.

I really am impressed with the quality of the BSDs and the open source community’s efforts. Xorg + KDE 3.5 or Xfce 4.2 on a FreeBSD 6.1 box with the correct optimisations works flawlessly even on hardware that would struggle with Windows 98! Suddenly all the old machines that litter my expat family’s house have uses. Heck I’m even looking at my old Amiga in a funny way now…

I feel such an overwhelming sense of power now than I did before in a way that proprietary operating systems never really allow. Open source rocks! If I don’t like my X window manager, my desktop environment, my CLI text editor, my shell, my file browsers, my titlebar widgets or even my daemon services that manage SQL or the web, I can just change them or swap them for something else. A company doesn’t dictate what software has to be installed, I do. And if something doesn’t exist or I need to do something mundane, a quick keyboard lashing session later I’ve got Perl doing it for me.

The BSD Beastie   haruhisign.gif

Now I could have continued my exploration of Linux or just continued to hack away at Mac OS X, but I really do appreciate the strict conventions that the BSDs follow and the unwritten mantra that “if something works it’s good” should actually be “if it’s good it will work”. FreeBSD, NetBSD (and from what I can tell from my currently limited experience, OpenBSD) are elegant, fast, very well documented and extremely robust.

It’s got to the stage now where I’m even considering dual booting my MacBook Pro with FreeBSD and Mac OS X just to be able to use this stuff more and more in my day to day life.

For posterity (and because I think they’re cool) I’ve posted some screenshots of some of the boxes I have happily running now. You can see the Mac OS X influence in my thinking with both the KDE and Xfce panels set up to look like the Dock and the permanent menu bar ;).

Here’s Haruhi happily living in KDE 3.5/FreeBSD on my old HP box, (with the cursor unfortunately positioned on her face!!):

Haruhi on KDE + FreeBSD

And here she is again in Xfce/FreeBSD on my 200MHz (with MMX… wow!) 1997 Sim Lim Square box:

Haruhi on Xfce + FreeBSD

I’ve also configured an old 133MHz Pentium box I picked up for peanuts to run as a dedicated firewall and local intranet webserver to serve up the Schade family wiki, kinda like a digital refrigerator door! Of course I couldn’t put Haruhi on this because I don’t want or need X on this machine. Ah well, can’t win them all!

My next weekend project is to create a Perl script to download portsnap updates so they’re residing on a local hard drive, then configure portsnap on each machine to look up the local server instead of retrieving the same image from the interent four times! Unless anyone knows of a port that already does something similar to this?

The SOS Stack!