Category Archives: Arch Linux Forums

Two unusualΒ signs

Either someone is baiting me, or the tide has turned and the command line is regaining some prominence. Of course it probably never lost much prominence to start with, just suffered a little bad-mouthing, which no one ever died from.

But any time I spot two threads in the same day in the Ubuntu Forums — the Ubuntu forums mind you, where you’re more likely to meet complaints about the CLI than a notes of support for it — that poll its popularity or ask about X-less systems, then something is afoot.

There’s not a lot to be gleaned from a terrifically unscientific poll of command-line use, or a random callout for anyone running without X. In fact, had they occurred anywhere else — the Arch Forums, for example, or even the Debian forums — and you could probably safely overlook them altogether.

Arch Linux users, after all, are notorious command-line freaks who boast of their keyboarding prowess with screenshots of bizarre window managers like xmonad and Musca. And the elite of the elite of Debian peer down through the clouds that surround their aeries and wonder why you’re still using a mouse. Is your keyboard broken, perhaps?

I kid. I know it’s unusual to find an Ubuntu user who veers clear of X, since stripping away most of the graphical element of Ubuntu is stripping away most of Ubuntu … meaning that what’s left resembles other distros more than it resembles Ubuntu. You could call that the common denominator between all Linux systems, and it would be a warm, happy moment. πŸ™„

But … all things being equal, it’s nice to see some recognition of the command line, with a large percentage of that aforementioned terrifically unscientific poll going toward “daily use.” And it’s nice to hear about a few other people, in the midst of so many Ubuntu devotees, voicing a preference for such a large chunk of it omitted.

What it all means in the grand scope of things … I have no idea. πŸ˜‰

Something old, something new: Console file managers

I should know better than to mention console programs any more, because as soon as I do, someone tosses out another one and I have to try it. Curiosity gets the better of me and I can’t help myself.

Such was the case with ranger, an unusual file manager mentioned for its similarities to vifm. Take a look and you’ll see why I used the word “unusual” to describe it.


The directory tree shifts to the left as you explore in ranger. Moving up or down the list and then stepping to a new directory shifts the panes left or right accordingly. Right now there don’t appear to be much in the way of lines or boxes as visual guides, but this is still a work in progress from what I can see, so maybe they’ll appear later.

Moving your selection bar over a directory shows you a preview of what’s in that folder, and jumping to the right shifts the entire display to the left. And as you can see, file types are displayed in different colors, with a breadcrumb path along the top and file information at the bottom, along with a disk space count.

It takes a little while to get used to ranger, because the principle at work here is quite innovative. This is the only file manager I know of that scrolls horizontally, in columns, as you browse a file tree.

Like vifm, ranger uses vi-style keystrokes and commands to handle most chores. F1 shows you all the important commands, as well as how to get out of ranger … but saying it follows vi’s style might be enough for you to figure that out. πŸ˜‰

I’m going to keep an eye on ranger, mostly because it’s innovative, but also because it might turn into something very unique in the field of console file managers. At a time when it seems like everything has been done, and most efforts are actually rehashes of tried-and-true techniques, something new is worth watching.

Shifting gears only slightly, here’s something that has a history going back all the way to 1995: fdclone.

I know of fdclone obliquely, admitting only that I found it on a hand-me-down computer a year or two ago, and wondered what it was. If I understand it correctly, fdclone is an effort to mimic an ancient file tool called “fd,” which was popular in Japan as far back as 1989. So when we talk about software with a long lifespan, fdclone is a contender.

The layout here is very Norton Commander-ish, which appeals to some of us and is a turnoff for others. If you don’t have support for Japanese character sets you might see some oddball fonts at work, as you can see in my screenshots. As far as I can tell there’s no color at work here, and the keystroke labels you see on the screen might take a little time to get used to.

This is certainly no worse than most other console file managers, even if it seems rather bland by comparison. As you can see the tree mode is intuitive and easy to manage, and there is documentation in English as well as instructions on how to configure and build it.

And when you consider it reached version 3.00e in February 2010, this is not something that is going to expire any time soon. Fifteen years is a tremendous lifespan for any project. (P.S.: Ubuntu users have it in their repos; Arch/Crux users must build this one by hand.)

There you have it: Two file managers for the console, separated by about 15 years in the histories of their inceptions. As always, if you know of any others that I should explore, I would be happy to try.

Eagerly awaiting 2010

I don’t have many bookmarks, but I do have a few threads that I keep an eye on, for ideas about new software. This gargantuan thread in the Ubuntu forums was interesting for a while, but it has devolved into a list of Gnome-based software suites, which don’t interest me.

On the other hand, Archers are incorrigible speed freaks, and so the “light and fast awards” threads are great sources of ideas. Best of all, there has been one every year for the past four years — 2006, 2007, 2008 and 2009 — which means you’ll probably need a whole weekend to pick through all the suggestions there.

Add to that a small bonus — a thread that somehow involves Ubuntu, on the Arch forums. It seems a little oddball at first, but the ideas that are tacked on there are quite good.

In the meantime, I am eagerly awaiting the 2010 “light and fast awards,” so I can add still more ideas to my already-huge list of software to try. If you see it, send me a link. :mrgreen:

The KDE 4.3 migration has begun …

I wasn’t the first person to say it, but I’ll agree with Mazza558I see a lot more KDE desktops in the screenshot threads for both Ubuntu and Arch forums these days. True, the Arch forums have always had a strong KDE presence, what with the fantastic effort that is KDEmod and/or the Chakra Project. I have never heard of an Arch user who hasn’t at least acknowledged that KDEmod is a stroke of genius.

But skimming through the screenshot threads suggests another trend, although I’m not part of it so I won’t make any predictions. If KDE is picking up speed, I say it’s high time … if this is just an illusion, I still say it’s high time — for KDE fans to make a concerted effort to show how much more beautiful KDE is — by default — than that ugly gobstopper called Gnome. πŸ˜›

And you can quote me on that. 😈

Putting the Pentium back to work

It’s been a few months since I worked with my old Pentium laptop. The ambient humidity has fallen a little bit since the local rainy season ended, and as a result the hardware eccentricities on a 13-year-old laptop have evened out a little. In other words, I’m not afraid I’ll send spontaneous pulses of electricity through the thing, just by turning it on.

Initially I wanted to rebuild the graphical desktop I created about six months ago, for no other reason than morbid curiosity. I found the Musca window manager on the Arch Forums the other day, and I was thinking that might be even more appealing than Awesome … since Musca apparently weighs in at an emaciated 600Kb+, while running. It sounded perfect for a machine that has only 16Mb of memory to start with.

But it was not to be. I’ve tried two different installations, building each one by scratch on a surrogate machine, and neither one would reach the graphical desktop. X complains every time that there is inadequate memory to start anything graphical, which is odd, since I have proof of the opposite.

But hey, I had wondered the same thing, often for weeks at a time, way back in February. How in the world did I get it working so many times in the winter? Beats me. Maybe it’s the humidity again.

But anyway, I took the hint and decided what I could really use is a dedicated machine for passing files back and forth between the other two. And a host for the only two torrents I actually feel “responsible” for — the old Lowarch ISO and the short-lived Ubuntu GTK1.2 Remix. And a Crux ports server. And … and … and …

So I rebuilt the thing, this time using the freshest software cut-to-fit a Pentium Classic, and set it up with ssh, nfs, rtorrent, screen-vs, cron and so forth. I’m keeping it on a wired connection this time, mostly because I don’t see any real improvement between the quirky ASIX-based Corega card I found, or the ancient Linksys WPC11 card I sometimes use. The internal hardware freaks out when it sees transfers above 256Kbps or so anyway. That’s so low that nothing is lost or gained by using one card or the other.

And I like it in this role. It’s silent, it’s low-power, it doesn’t need a raft of side packages to do the job, and it makes me feel like an old, old machine is finally getting back to work, instead of sitting in the closet.

That’s my goal. :mrgreen:

The wrong reasons to use Linux

Everybody has a list of reasons to use Linux; I have my own, more or less, spread out over the length and breadth of this blog. Still, aside from the misinformation spewed forth by Redmond, I believe there are “wrong” reasons to use Linux. Which is to say, I think there are things that attract people to trying Linux, but I would not use as a selling point. Up front though, I should say that whatever draws you to Linux is your business, and not my concern at all.

  1. Compiz. You might read that and feel like you just got hit in the face with a glass of cold water. After all, Compiz is way cool. It’s smooth, clever, innovative, years ahead of the competition and best of all, free-as-in-beer. What’s to dislike?

    I don’t dispute any of that. I also think it’s cool and smooth, and even cooler and smoother because you can get a vastly superior desktop experience on hardware so outdated, Vista’s requirements are suddenly a joke. I mean, I even tried to run it on an ancient GeForce2 card with only 16Mb of memory once, and got somewhere near an end result.

    No, my concern is simple — Compiz is flair. It’s shiny-glossy-pretty, but doesn’t necessarily make using a computer any more successful. And for as many people as I have seen scrap Linux because they couldn’t get Compiz working … well, again, I just think that’s the wrong reason to switch.

    I would much prefer people moved to Linux because they can pick up a window manager that allows them to rearrange and organize multiple desktops and wallpapers by theme, or even better, because they have a need for a desktop that’s lighter and faster than anything Microsoft or Apple sells now.

  2. Speed. I’m going to split hairs here, and make a few distinctions. It is, after all, a little ironic that I would call out Linux on speed while writing a post on a blog dedicated to eking out the last smidgin of speed from outdated hardware.

    And it’s true, yes, that Linux machines can run faster and speedier and more efficiently than most other operating systems. Unfortunately that requires a degree of experience to achieve, and the average first-run-in with Linux is more likely to be with heavier, bulkier distributions.

    And judging by the occasional thread on the Ubuntu Forums or the Arch Forums, the speed of the included software is sometimes suspect. Firefox in Linux is regularly lambasted for being a sludge, when an identical system with Windows XP is generally snappier. Who’s at fault? Beats me.

    But that’s where I’m coming from when I say speed isn’t a good enough reason to use Linux. Distros like Ubuntu or Fedora and so forth are great introductions, but come with weight problems that don’t reinforce speed as a selling point. Over time and with the right software selections, it’s always possible to carve a system down to a true speed demon. But that usually requires a measure of experience and curiosity, and I think most Linux newcomers might lack one or the other.

  3. Gaming. A year or so ago, I coached a World of Warcraft player through an Ubuntu-plus-Wine installation, which was a particularly hairy experience. In the end it worked, but not to the satisfaction of the player. Frame rates were lower than a native Windows system, the game felt laggy, and effects didn’t show like they “should have.” As you might imagine, within a week or so, Ubuntu was gone and Windows was back on, and to the best of my knowledge, it will probably never be back.

    I think it’s important not to hold out Linux as a solution to Windows gamers who want to get away from Microsoft. But notice that I said solution there. As an option I think it’s fine. But holding out Ubuntu or another distribution as a platform for Wine as a solution to running Windows Game X … is a mistake in my opinion. Invariably the experience falls short of what people want, and if they are gamers already, they’re unlikely to be willing to suffer any performance hit whatsoever, just to assuage their conscience on some other tertiary issue, like licensing.

    On the other hand, I heartily endorse Linux as a gaming platform for Linux games — that should go without saying. If you can get someone hooked on Neverwinter Nights or Tremulous or Warzone 2100, that’s a fantastic reason to keep a Linux machine in the house. But trying to shoehorn Linux into a machine and expect a hardcore Windows gamer to be happy … well, I’ll just say I’ve never seen it happen.

  4. Duress. This is probably the worst possible reason I can think of — using Linux because you’re forced to. Even common-sense psychology dictates that forcing someone to use a tool they don’t know or didn’t elect to use is doomed to breed dissatisfaction. Spoon-feeding Linux to an unwilling user is, in my experience, a guaranteed turnoff.

    That might sound a bit hypocritical since one of the things I do in my spare time is polish an IceWM knockoff of Windows 2000, but the two ideas are not necessarily mutually exclusive. If ease-in-transition is an issue, it makes sense to create a desktop as similar as possible to what someone already knows. Transition is already a foregone conclusion.

    On the other hand, forcing someone to use Linux — or any operating system, really — is stripping out one of the core principles that Linux stands for: freedom. And in this case, freedom to choose includes the freedom to choose Windows or Mac OS or whatever. I would never allow someone to suffer through using Linux if what they really want is something else. It’s just not good business.

    (This is where I tip my hat and acknowlege that in a workplace, the rules are changed. If your job requires you use Linux or another operating system, it’s a different story. But it’s also no longer an issue of free choice, so I suppose I can dodge the bullet that way. πŸ™„ )

And that’s where I’ll stop. It’s a delicate situation, trying to convince someone to use a different operating system. Linux and its brethren have a huge list of advantages, but pushing the wrong one on the wrong person is going to backfire catastrophically. Evangelize, by all means, but don’t make the wrong sale. You only get one chance to make a first impression.

uzbl is quite usable

Arch LinuxI’m always excited when I discover a new browser. Firefox is like the obligatory pacifier for any open-source software discussion. Yes, I suppose it deserves a place in the list of free software successes, but I still feel slightly guilty whenever I use it, because of that little voice in the back of my head that whines, “Firefox, again?!

Firefox is not the only, or the best option for most people. There are dozens — maybe even hundreds — of workable browsers out there, but Firefox is like the teacher’s pet — that annoying kid at school who wasn’t necessarily the brightest or most talented, but got all the attention anyway.

In any case, finding something completely new and original in the field of Web browsers is an added fillip to the joy of discovering a new application. I apologize if this is somewhat inconsiderate, but any one browser is generally arranged and works like every other. They all look the same to me.

So uzbl — I’m assuming it’s pronounced “usable” — blindsided me. Your father’s browser, this is not. This is, for all practical purposes, an Arch-only weapon, although I’m sure it can be installed in other distros. But the easy way to get at it, if you want it, is to install Arch and conjure it up through the magic of AUR.

And the end result? How about a box, with a page in it. So what, you say? So look closely: It’s a box with a page in it.


And that’s all. No buttons, no address bars, no back and forth controls, no home button, no reload button, no hotbutton bars, no rss dropdown menus, no up, up, down, down, left, right, left, right, b, a or anything like that. It’s a box with a page in it.

So where’s the joy in that, you ask? Well, look back at the original manifesto for uzbl, which reads a bit like the American Declaration of Independence. In short: Everyone else is doing it wrong, and we will do it right.

Right it is, too. vim-style keybindings, simple one-key url-entry commands, infinitely customizable through the configuration file (there’s a sample in the package that you really want to start with; no configuration file makes uzbl sort of … unusable πŸ™„ ), and best of all … fast.

Wicked fast. Frighteningly fast. A speed Firefox can’t even dream of. I swear I have LCD image persistence from the speed of uzbl drawing up a page. 😐 Okay, maybe not.

Of course, a lot of that speed comes from Webkit, but part of it also comes from the fact that uzbl weighs about a buck-oh-five. Without all those knobby buttons and cutesy icons, there’s room to move fast.

All the same, this won’t appeal to everyone. It takes a little while to get used to, and of course, there are those oh-so-critical extensions Firefox addicts cling to, like security blankets. (One day someone will invent an extension that strips out all the other extensions, and everyone will realize how encrusted with extensions they had become.)

But if you enjoy a minimal environment, perhaps something tiled or even just exceedingly svelte, uzbl deserves a hero’s welcome. It’s light, it’s fast, it’s flexible to the nth degree, it’s unobtrusive, unforgiving and obviously designed by and for people who enjoy making their computers do exactly what they tell them to.

If you count yourself in the same group, check it out.