
hwbrowser is a slick little GTK application that probes your Linux machine’s hardware and presents the results in a two pane window, in a similar fashion to OS X’s Hardware Profiler.

hwbrowser is a slick little GTK application that probes your Linux machine’s hardware and presents the results in a two pane window, in a similar fashion to OS X’s Hardware Profiler.

I was having trouble compiling Gnumeric from MacPorts and Pan this evening. Turns out gtk2 was failing to build because of a problem with the tiff port.
root# port -v install gtk2
–––> Extracting tiff
On Mac OS X 10.5, tiff 3.8.2 requires Xcode 3.1 or later but you have Xcode 3.0.
Error: Target org.macports.extract returned: incompatible Xcode version
Warning: the following items did not execute (for tiff): org.macports.activate org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
[...]
Error: Status 1 encountered during processing.
If you’re being given this error message too, as the error suggests you need to grab yourself a newer version of Xcode. Since I only just reinstalled Mac OS X Leopard on my MacBook Pro I installed the Xcode that came on the 10.5.6 DVD which as the error above shows is only Xcode 3.0.
What’s curious is the Apple Software Update has never told me about a newer Xcode. Is it because you need to login as a ADC member first perhaps?
Anyway, lesson learned: make sure you have the latest Xcode before attempting to compile software or built ports on your Mac! It’s not that it’s darn obvious you should, but that we need reminding sometimes :).
![]()
Screenshot of my Armada M300 as a lean, mean Google Reading machine!
Given this is Sunday (as of two minutes ago), I thought it would be logical to post a Sunday blog post. That was an entirely irrelevant and superfluous sentence; then again so was this one. And this one too.
I’ve started getting into the habit in Adelaide where I’m studying to catch up on my latest Google Reader and Bloglines feeds first thing in the morning and before I go to bed on my cute 2002-vintage Armada M300 subnotebook in my room because it’s interesting but also relaxing. At these times of day there isn’t much light out so I have an even lower tolerance for Blazing White® website themes, so I decided to completely re-theme the entire interface of the machine to accommodate my picky eyes.
ASIDE: This bizarre post is mostly geared towards Linux, FreeBSD and whatnot, but the browser specific whatnot could be adapted if you have a Mac user or if you use that obscure operating system a small software company in Redmond makes.
Firstly, if you’re a Mozilla Firefox or Opera user with Greasemonkey or an equivalent user style engine, I’ve found the Google Reader Dark-Blue-Grey user style by hronir to be by far the most readable dark theme. If your machine has limited screen real estate like mine, the Google Reader Maximize Vertical Space script by Chase Seibert makes a huge difference, and plays well with the colour changes — an important consideration!
Next the browser itself: I first downloaded the beautiful MidnightFox Dark Firefox Theme which I’ve had lots of success with on my MacBook Pro, but then I thought I might as well take advantage of the fact Firefox is a GTK+ application and use a theme that would affect all the applications I use. I really love the dark Xfce-dusk theme, so I downloaded the Xfce theme package and added the following line to my ~/.gtkrc-2.0 file. If you’re using a desktop environment you’d probably want to use it’s theme selector.
On Linux
include "/usr/share/themes/Xfce-dusk/gtk-2.0/gtkrc"On FreeBSD
include "/usr/local/share/themes/Xfce-dusk/gtk-2.0/gtkrc"On NetBSD or other systems with pkgsrc
include "/usr/pkg/share/themes/Xfce-dusk/gtk-2.0/gtkrc"
Finally I customised the window manager. I use dwm on my Armada M300 because it’s ridiculously fast and lightweight even when running on very modest hardware, plus it automatically tiles windows. In the config.h file in the dwm build directory I changed the following lines then recompiled and installed (you could substitute these hex colours into whichever window manager you’re using too):
[...] static const char normbordercolor[] = #404e63; static const char normbgcolor[] = #404e63; static const char normfgcolor[] = #000000; static const char selbordercolor[] = #222a36; static const char selbgcolor[] = #222a36; static const char selfgcolor[] = #ffffff; [...]
The results are what you saw at the beginning of the post. I love this colour scheme so much I’ve even started using it for when I’m writing code and assignments because it’s so easy on my eyes when stared at for hours on end. Good times ^_^.
![]()
So that I can reference what I use in future posts, I’ve already written a list of security and privacy extensions I use with Mozilla Firefox and commented that they’re the primary reasons I choose to use it over every other browser. Using a browser without those extensions (or equivalents) makes me feel naked and scared now! You can take that however you want.
I’ve installed far too many extensions over the years that I’ve later never used, but these are the usability ones that have stuck.
Absolutely essential, it reduces irritating distractions on pages and makes them render much faster because you’re downloading less stuff. Some people complain about Adblock Plus. I ask how many of them own a DVR which skips ads, or how many of them have a WC break or a snack instead of watching sponsors of a sports event. Enough said.
Greasemonkey ets you modify the appearance and function of individual sites and pages by clicking and automagically installing scripts from sites such as UserScripts and UserStyles. Once you have scripts installed, they work transparently and so fast you can’t tell they’re even there.
I started using this when I thought Google messed up Reader’s interface.
I mostly use the shell to quickly get sftp work done, but for tedious and repetitive tasks FireFTP makes it really simple. If you’re one of the few who haven’t tried it, it launches itself as a tab within Firefox and uses the split file manager metaphor like Norton Commander with the left pane showing your local drive and the right showing the remote server.
FireFTP is honestly polished enough to be a standalone application.
I find it curious that even if you explicitly download the "English (GB)" versions of Firefox, it still comes with the American spelling dictionary which battling with gets pretty old fast.
This extension is fairly old as far as extensions go, but it still works even in the lastest Firefox 3 builds. And besides, you could argue spelling doesn’t change as fast as builds of an open source project do. Wait, ignore what I just typed; that’s a Pandora’s box I would rather leave shut!
If you don’t like being scolded for not peppering your words with Zed, grab it!
Adds a world clock to either your status bar or your bookmarks bar; I choose the latter.Insanely useful to have right in your browser where you’re most likely to be viewing things and conversing with people from other parts of the world.
For example, I can check just by looking at it what the time is in Singapore when I’m in Adelaide and vica versa, as well as the eastern Aussie states, the UK, Talkeetna, Toronto, Tokyo… I thought that was some clever alliteration.
The Life-of-request info extension adds a really useful monitor to your status bar that shows how many seconds, how much data and how many requests a page took to render. Supposed to be used for people who want to monitor the performance of their own websites, but I use it for everything!
For example, did you know a Whole Wheat Radio page heavy with images and other media renders faster than many commercial websites? Wonder if it’s faster than the RIAA or ARIA…
I discussed these late last year. In a nutshell, these themes make Firefox look much more Mac like. Firefox 3 was a huge improvement over version 2, but it still looks a bit kludgy.
I use this theme for Firefox on my FreeBSD and Linux boxes. It replaces the default toolbar icons and styles with ones that match your other GTK+ applications. Fits really well with Xfce and window managers such as dwm or OpenBox where you’re using mostly GTK+ apps like RoxFiler and Gnumeric.
This post is going to be part of a series on Xfce, originally posted on my university blog. I’m republishing them here in the hopes that others might find them useful or interesting. Cheers!
You may have noticed a few weeks ago I announced that I was moving my primary machine over to GNOME from KDE, mostly because the applications I use most heavily on FreeBSD and GNU/Linux are all GTK+ based and it seemed silly to run them in a Qt system. I’m a sucker for eye candy and visual consistency.
Well here I am now typing this on my newly reinstalled FreeBSD, Xfce desktop and it’s running great.
You can be forgiven if you’re new to the world of Linux, BSD and X11 in general if you’ve never heard of Xfce; it certainty has been given far less publicity than the heavyweights GNOME and KDE despite it actually being born around the same time. Unlike GNOME and KDE which strive to be the ultimate desktops with all the bells and whistles, Xfce is designed to be lightweight and fast while still being a usable and complete desktop environment out of the box (as it were). This means unlike vanilla window managers such as Fluxbox it also includes a file manager, desktop background and icon support, graphical configuration, panels and so forth. A full list of included goodies is maintained on the Xfce projects site.
The real kicker for me is that as with GNOME, Xfce uses GTK+, meaning all my most used applications such as Gnumeric, Abiword, Mozilla Firefox, The Gimp, Inkscape, Thunderbird and the X11 version of VIM all look really slick and match the rest of the system. I’m a sucker for eye candy and visual consistency. Wait, I already said that.
In the coming days I’ll be posting many more entries about my experiences with Xfce including how I’ve customised and used it and some other tidbits I’ve picked up along the way. Stay tuned :-).
UPDATE: In fact I’m now trialling Xfce once again for my primary desktop because it satisfies all the criteria I outlined below as well as GNOME does, while being much more light weight.
It’s funny, I’m really only this fickle when it comes to software!
With a somewhat heavy heart and conscience I moved my primary desktop from KDE to GNOME this week.
![]()
Yes, that’s CC from Code Geass, the anime series Felix and I are watching!
While I think I still prefer KDE as a desktop environment, I think Gnome is more practical for what I do right now. Aside from Amarok and Ktorrent, virtually all the applications I use on a daily basis are GTK+ based, such as Gnumeric, Abiword, The Gimp, Gnucash, gEdit, Thunar (from Xfce, another nice DE), Firefox, Thunderbird… I could go on.
It is really nice to have a consistent user interface for the first time, where my applications and the desktop work and look the same. Having used GTK+ applications on KDE and Mac OS X for many, many years, it’s certainly a refreshing experience.
![]()
Too many GTK+ apps running in GNOME
On the whole I also prefer the simple design methodology behind a lot of what the GNOME people are doing. Despite Linus Torvald’s vocal opposition to it, I believe working hard to make interfaces simpler is an admiral goal.
I’ve still got KDE 3.5.9 on my Athlon XP desktop, but I guess I could say I’m a GNOME user now. For what it’s worth, this is another reason why I love using free and open source software, if I don’t like a particular user interface or environment, or I choose to use a another one, it is completely in my power to just slot in a different one. It’s fantastic!