More fun GTK1.2 stuff

Edit: Unfortunately, the images originally included in this post are gone, because of image hosting problems in late 2009. My apologies.

After my brief but satisfying flirtation with KDE, and after walking face-first into IceWM-lite, I spent a short time scraping together some GTK1.2-sized applications in Ubuntu. I’ve made GTK1.2-only desktops before, but since I had the opportunity, I thought I’d dig around a little more.

I deliberately omitted anything that drew in GTK2.0, anything that had the least reference to Gnome, and just to be fair, anything that had a QT dependency. I realize some of the early, early QT stuff would qualify, but it seemed balanced to leave those out. πŸ™„

(A short note: Everything here, unless I’ve noted otherwise, is in the Ubuntu Hardy repos. I haven’t checked if they’re in other distros, just because installing and exploring software is easier with Ubuntu than, for example, Crux. πŸ™„ Check your flavor and see what’s on the menu.)

Now of course, GTK1.2 is simply ugly, and no matter how many time I repeat my “pretty is a feature, ugly is subjective” mantra, it doesn’t get any easier on the eyes.

But what we give up in beauty, we recoup several times over in speed. And since the goal here is to playtest programs that may — or may not — win back speed for out-of-date hardware, a little ugliness is acceptable.

(I should mention that all these screenshots were taken with IceWM-lite as the window manager. There is, however, a very GTK1.2 window manager in the Ubuntu repos — it’s called amaterus.

Don’t expect much from it though — it mostly just follows the same theme as the desktop, with no-frills basic window manager functions available. You might be able to customize it a little and come up with something classy; take a shot and see what you get.)

Personally I find there are about four core applications that every desktop needs, regardless of its general role:

  • a Web browser, which can double as an image viewer in a pinch;
  • a file manager, unless you want to do everything at the CLI;
  • a text editor, which can serve any purpose from drafting e-mails to modifying configuration files; and
  • an audio application, which can stream audio or play music files, or whatever.

I haven’t included a terminal emulator on there because it’s more or less a given that a linux system is going to have a terminal emulator on it. Which one you use is your prerogative.

Just to be practical, and to try and round out our options a little, I’ve included a few that are outside the strict GTK1.2 boundaries. Take them as bonuses, since they generally behave the same way and at the same level, even if they’re FLTK or FOX or Tcl/Tk or whatever.

First, of course, is Dillo, in its current incarnation.

Dillo is probably the best — and fastest — browser you’ll get in GTK1.2. (Opera is a possible option too, provided your scruples and your hardware can both tolerate it.) After that, I don’t know of many GTK1.2-esque browsers … except for this possible relative unknown:

Yes, boys and girls, that’s Firefox 2, compiled with the GTK1.2 bindings, courtesy of Relatively ugly, and just as chubby, but quite usable actually. It seems to render faster without antialiasing and whatnot to worry about. And admitting that Dillo can’t do some things (like upload photos to πŸ‘Ώ ), it’s good to keep on hand. Decompress and execute, and it behaves a lot like every other Firefox 2 episode.

Of course, Firefox just can’t hold a candle to Dillo when it comes to speed. I still find myself sitting and waiting for something — anything — to appear in Firefox, when Dillo has all the important parts up and waiting. Unless there’s something you absolutely, positively need from Firefox, Dillo is just faster and better at GTK1.2.

I make it sound like those are the only two, but they’re not. You might take a look at hv3, which has the ability to handle some things that Dillo can’t. It’s not in the Hardy repos and you have to manually set it to run (and you’ll want to install the libstdc++5 dependency), but it’s worth keeping on hand so you can check your GMail account.

hv3 pulls the same stunt Kazehakase does — it waits until it has a majority of the page information in hand before it renders anything, which makes it look a bit faster on the draw (get it? on the draw! πŸ˜† 😐 ) — but it can handle graphical elements and styles a great deal more true-to-life than Dillo does at present. And beware: It’s still software under construction, and behaves like it at times.

If you can dig up any other browsers that don’t use GTK2 (but aren’t framebuffer- or console-driven either), let me know. I might have scraped the bottom of the barrel on that one. πŸ™‚

For a file manager I recommend emelfm, but I happen to prefer two-pane file managers over Explorer-type arrangements.

It’s slightly less feature-rich than it’s GTK2 brother, but that’s forgivable. Otherwise if you’ve worked with Norton Commander or something akin to it since it’s release 30 years ago, you’ll probably enjoy it. Here is another one in a similar vein: gentoo.

Gentoo (and this is the application, not the distro, of course πŸ˜‰ ) behaves a lot like the worker application, which is X-based really. And to be honest, there’s not much variation with this style. Left- and right-paned approach, tool buttons, a few right-click options. Lather, rinse, repeat.

Xfe is always an option, and recent versions have actually become attractive. Either that or my standards are dropping. πŸ™„

Xfe is a FOX toolkit application, and is meant to look and behave like the Windows Explorer. It does a good job of that, except it doesn’t crash as much. (That was a joke. πŸ˜‰ ) Depending on the visual style you adopt for your desktop, Xfe might be just the ticket (I use it in my pretend-Windows desktop in Arch Linux on my OLPC XO-1). Of course you might just prefer that way of doing things.

There are a few other file managers in the repositories, some of which are based on other toolkits, but I didn’t include them just because I found them counterintuitive or just not interesting. Dig around a little and see what you can find.

For a text editor, there are a couple of not-so-obvious choices. Ted is a text “word processor” really, but Ted was skittish and didn’t want to open a window for me, so I don’t have anything to show for it. It is quite heavy on the features though, and figures prominently in distros like DSL, so you might have seen it before.

My No. 1 pick is gtkedit, though.

This one looks and behaves just like a GTK1.2 version of Leafpad, or the old Windows Notepad. Not flashy, primitive in some senses, but does the job without a complaint.

For something more … replete, try NEdit.

This one comes from the Motif camp, and definitely meets the criteria for an ugly application. On the other hand, it’s fast, has a lot of coding features and does a lot more acrobatics than gtkedit will. And it includes quite a few ease-of-use options, like a tabbed interface. Can’t complain when the program does things right, I guess. And if you roll up your sleeves, maybe you can make it look a little more attractive. 😐

After those, you could hunt down the GTK1.2 version of Beaver, and build it manually. The newest versions made the jump to the newer toolkits, so they don’t technically qualify for this list, but so long as the earlier one is downloadable, I can see mentioning it.

And there’s a manedit utility in the repos, if you need that specific function. It’s GTK1.2, it works, and so I feel obligated to mention it. That might be something so exclusive that the people who need it already know about it though. πŸ™„

Moving on … as far as a music player goes, there’s really only one true option: XMMS, which isn’t in the Hardy repos any longer, as I mentioned (XOFF ignored, mumble mumble). This is running a clean and clear Winamp skin off

If you like music managers … you’ll have to seek out your own answer for an old machine. The fact of the matter is, I think the concept might postdate this level of graphic ability (does that make sense?). Of course, there are only about ten billion plugins for XMMS, so perhaps one will allow you to add enough function to XMMS to make it into something like a music manager. Why would you want that, I just don’t know. …

GTK1.2 has a few leftover utilities for music that didn’t make the cut for GTK2. Here’s ripperx, which I believe might satisfy the need to convert CD to digital audio.

To be completely honest, I toyed with it only long enough to see that interface, so perhaps it isn’t what you need in a CD ripper. Also in this category is gMP3info, which is somewhat rudimentary, when it comes to an ID3 tag editor.

It works though, so again, there’s no complaining. After that, I couldn’t find much in the way of GTK1.2-level audio applications that hadn’t made the jump to GTK2 or weren’t console based (come to think of it, there are probably more options in the audio category among terminal applications than there are for GTK1.2. Keep that in mind when you’re fleshing out your 200Mhz laptop πŸ˜‰ ).

In the image viewer category, I have only two suggstions: danpei and paul.

I actually like danpei a lot. This looks like GTK1.2 and behaves like a real image management application. It has its own thumbnailing system and built-in previewer, plus a means to interface with an external application (think: the Gimp). Lots of features, plenty of ways to customize or even curtail its behavior, and it runs pretty darned fast too. In one way I’m glad it’s not a GTK2 application because I probably wouldn’t have ever found it, but on the other hand, it would have been nice to see it improve even more.

paul is more of an image animation manager, and doesn’t totally qualify as a viewer since it seems to do more than that. If you want something that has a lot of photo-related options though, I would recommend it. It seems to work backwards, opening files first before adding them to a stack and … ah, you figure it out, and tell me. I’m just going to sound dumb trying to explain it.

(I should probably mention that, although they’re not required, it might be a good idea to install imagemagick with either or both of those applications. Some of the features appear to rely on the ever-present imagemagick tools to get the job done. πŸ™‚ )

There a few standbys for image viewing that I should mention. feh is acutally an image viewer, although most people use it to set the background image in an ultralight desktop system. Here’s more about that, if you need it.

And there are some others that I should mention. I liked xzgv, and I’ve mentioned it in other posts. It’s worth using and on a light system, that plus danpei should do just about anything you could want with a picture, short of pixel-by-pixel editing.

Now that the major needs are covered, here are a few other suggestions.

First, Sylpheed has an antique version in the Hardy repos called sylpheed-gtk1. It’s a functional, if somewhat outdated, version of the long-running Sylpheed e-mail client.

I’m a Sylpheed fan, so I don’t have any others to suggest aside from that one. Since there’s a Claws split from Sylpheed, and Claws, as I understand it, is still going strong, it’s possible you might find a GTK1.2 version of that client too. Let me know if you do.

There’s also — and this is exceptionally esoteric — a gbuffy applicationlet that might be of interest to you. It’s basically a GTK1.2 version of the X-based biff applicationlet. 😐 As far as I can tell, and I don’t have a proof for this, it throws up a little flag when a new mail message arrives. You play with that and see how it works.

In the other-network-tools category, there’s an ancient Napster client called Lopster available.

I suppose if you wanted to tinker with it, it might still serve a purpose. And I’ll admit I’m not up to speed on Napster any longer (ten years ago, maybe), but maybe there are still active networks for it. I don’t know.

For a truly nifty and functional tool though, check out xtraceroute (which goes by the package name “xt” in the repos … don’t ask).

I haven’t fully configured it, but judging by the home page it actually has little lines that jump around the globe to follow your network routing. Cool!

The only downside is that it relies on OpenGL, and if your machine doesn’t have something with adequate muscle, it might suffer. You be the judge though. Those little lines … they look so cool … !

In fact, nifty tools like xtraceroute seem to be where GTK1.2 still has a few holdouts. Consider this: gPS, which despite the conventional connotations, has nothing to do with global positioning. This is a process viewer, and a darned good one too.

Kill processes, stack and sort them by any category, set to refresh continually and at quarter-second increments … just like any up-to-snuff process viewer. And it’s light as a feather too. Just right!

Here’s another, somewhat unusual GTK1.2-based applicationlet that will be useful for you: gmemusage.

A nice, clean, easy-to-read stack that shows the major (and minor) memory hogs. It’s customizable from the command line so you might argue that it’s not quite a GTK1.2 application, but I thought I’d mention it. It would be a shame to omit it.

Next, a triumvirate: xbindkeys-config, gtkfontsel and gcrontab. These are a little more unusual, and seem to fill gaps you would otherwise use the console and nano to manage.

However, if you have some unusual cron requirements, or your keys need configuration, or if you just want to find a core font without messing with xfontsel, these are truly useful. See if they do anything for you. πŸ™‚

Last, here are two games that will actually keep you occupied while you’re waiting to download software updates across the 14.4K modem in your 166Mhz laptop: gtkpool and codebreaker, both GTK1.2-based and depending on your definition, actually kind of fun.

There are actually more games to pick from in this “category,” I just didn’t have the time or desire to download everything and test them all. The “l-” series games (like lbreakout2, lmarbles and so forth) are all low-resource-friendly, so search a little on your own and see what else can keep you occupied. And don’t forget emulators, which can logarithmically expand the number of game options you have available. And most are easy on the processor.

And to be honest, that’s about all I have to offer. There are some glaring omissions in this field, for what I expect. I couldn’t find a viable, graphical FTP client for GTK1.2, although it’s possible there are some out there (I think DSL uses gFTP, if I’m not mistaken, but that seems to want GTK2 in Ubuntu). Likewise, an IM client and/or a chat client escaped me. And a strictly GTK1.2 PDF viewer was seemingly missing. There were some others.

If you have any suggestions for this, please tack them on. I find myself referring to these pages, so one comment can sometimes save me trouble in the future. Cheers, and have fun. :mrgreen:


21 thoughts on “More fun GTK1.2 stuff

  1. juanjo

    hi kmandla,

    a long time reader of your tiny little site that could πŸ˜‰

    First of all, I beleive that opera is based on QT libs, not Gtk.

    Second of all, if it’s for lower resources machines, isn’t better work with console based apps? there’s a lot of easy to use apps for the console in *nix-land πŸ™‚

    And lastly, for great browsers with little resource requeriments, i would recommend you to try links2 (i beleive that in *buntu there’s xlinks2 package), is awesome!

    Greetings from Argentina πŸ™‚

  2. Cosay Nold

    Another interesting article K.Mandla.

    Personally, to keep things light, I try to keep my Arch system very command line oriented. If I can do it via the command line, I do so. Aside from Xorg and its included utilities, I have only a few GUI applications on my system: Firefox, Feh, Imagemagick, Rxvt-Unicode, and Mplayer.

    Here is how my system looks now:

  3. James

    I was also just about to recommend Links. It has a nice graphical mode which I used on my old 300MHz machine for a while.

    There’s also something called NetFront, which is a lot more powerful then Dillo, but the company making it appears to have died. I think I spent several hours tracking down a binary years ago, but I couldn’t get it to run due to a library issue (which I could probably solve if I found it again :-P).

  4. George Thomas

    I have a 1996 era Panasonic Toughbook CF-25 with Pentium 50/75/100(?), 40 MB of RAM, 800×600 display, 2xPCMCIA, and swappable 8xCDROM/floppy. I’m pretty sure the hard drive is 2.1GB or so. I EBay-ed this in 2000 for about $400 so I could take notes and program at class in college. It worked reasonably well with updated Win98, but has been more or less locked up since I graduated the next year and got issued a “real” computer (Dell Inspiron 4150).

    The system can’t boot from CD in the BIOS, and can’t have both floppy and CD in place at once… so install is not much fun. About 20 months ago I pulled it out and managed to get GRUB installed with chainloader for CDROM boot. The system choked when I tried to install alternate CD of Ubuntu Dapper (maybe Edgy?). This also managed to bring down my GRUB setup so I had to start over. The holidays called and I put it away again…

    I ran across this blog when looking for a faster Ubuntu on my work laptop last August. (Went with Fluxbuntu for nine months and now to Ubuntu Hardy Gnomw/Openbox.) I kept reading about the “ugly laptop” and knew I had it older, heavier sibling – it’s made of Magnesium!

    It got dusted off again two months ago so I could try to get Puppy 4.0 working on it.

    [It seems like an unneccessary notion to take a 13 year old computer and expect it to go, but really all I want it to do is get it online and run RDesktop to manage some Windows servers.]

    I was stumped on doing the chainloader thing from a floppy again and installed the default system onto the hard drive installed into my Dell laptop. More shenanigans followed and it was back to unbootable upon first restart.

    In a week or two I’m going to try again and maybe do SliTaz and take some notes. I’ve been running Linux on and off for years but am pretty green on compiling and assembling a distro from a command line. If I get reasonable speed I will keep it simple, but might do a GTK 1.2 substitution as the opportunity presents.

    Thanks for your blog! It’s the webspace that launched a thousand distro ISO burns! (At least 6 by me!)

  5. Pingback: Enjoy the silence? « Motho ke motho ka botho

  6. K.Mandla Post author

    juanjo: Yes, I think you’re right, it’s qt-based. It has an odd look about it for someone used to GTK2. It’s rather fast though, so if you don’t mind that it’s closed, it works well.

    I also avoided mentioning links2 specifically because it’s … well, more of a framebuffer application, the way I understand it. xlinks2 is a great option for a slow machine, but I didn’t think I could include it just because it didn’t really fit in this category.

    And yes, console apps are best for old, old, old machines, but if you’re one of those people who doesn’t care for console applications, and if your machine can handle a minor video workload, you can still use Firefox 2 over w3m. πŸ˜‰

    Colin Jones: You’re right; it’s AxY. I was mistaken. I couldn’t get that to run in Ubuntu though; it would compile, but then spin madly out of control and crash violently with error messages about loops and nesting. Perhaps there’s a deb somewhere. … 😐

    James: I hadn’t heard of NetFront. Let me know if you get it working. It looks promising.

    George Thomas: You’re welcome! :mrgreen:

  7. K.Mandla Post author

    I enabled universe and multiverse and so forth manually, from the command line. Then I added the software via sudo aptitude install --without-recommends. I didn’t use Synaptic for this, because it’s GTK2. :biggrin:

    I think the only things that aren’t in the Hardy repos are hv3, the GTK1.2 Firefox 2 and maybe that Winamp skin for XMMS. Everything else was found by cruising the package site or using apt-cache search. πŸ™‚

  8. Pingback: More fun X-based stuff « Motho ke motho ka botho

  9. Pingback: Making feh work for you « Motho ke motho ka botho

  10. Pingback: Cousin Mila « Motho ke motho ka botho

  11. Pingback: Ubuntu GTK1.2 Remix « Motho ke motho ka botho

  12. thealphanerd

    Take the .debs from interpid and publish them somewhere when Jaunty comes out. In this world, NOTHING IS OBSOLETE! πŸ˜›

  13. thealphanerd

    Crap, now sylpheed-gtk1 is gone! Mark Shuttleworth and friends must really hate GTK1.2. I’m guessing GTK1.2 will be gone next.

    1. technosaurus

      “I’m guessing GTK1.2 will be gone next.”
      yes and it is gone from debian 6 too

  14. Pingback: One downside to a CLI setup « Motho ke motho ka botho

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s