CLI

What is CLI?

CLI = Command Line Interface and GUI = Graphical User Interface. These two ways of interacting with one’s computer are often thought of as opposites or at least exclusive of each other.

However, in modern operating systems, one can have both simultaneously, with any number of terminal windows surrounded by GUI applications. Various scripting languages and utilities such as QuickSilver give even casual users the ability to bridge the CLI and GUI in new and creative ways.

Strangely enough for those accustomed to flashing lights and zooming windows, the simple, austere nature of the Command Line has its aesthetic appeal as well, with none of the “bells and whistles” typical to the GUI — which, for users trying to minimize distractions, is definitely a bonus.

osnews.com: The Command Line - The Best Newbie Interface?

The pain and politics of Linux choices

Or, Think(ing) different(ly).

In familiarizing myself with Linux as an OS and a community this last few years, I have of course come across the various internecine wars that have flared up during Linux’s evolution. I won’t try to summarize the kerfuffle for the uninitiated. Suffice to say that the conflicts start with the name of the OS itself (“Linux” vs. “GNU/Linux”) and blossom from there.

This is not a bad thing in and of itself — choice and change are welcome — but as a long-time Mac user approaching this personal terra incognita the result is, frankly, vertiginous. I just want to get some work done, and here I am needing to make a bunch of political choices.

Now, I don’t have to make a bunch of choices. I could go with the most popular distro (Ubuntu) and be done with it. Which is more or less what I did last year, as detailed in the post “Switching to Linux, but which one?” Then I flip-flopped between GNOME and Xfce for desktop environment.

But then the politics started creeping up:

Most recently is the discussion of replacing the OpenOffice suite with Google Docs in the Netbook version of Ubuntu (apparently not a done deal as “reported” by /.). As this comment by Qubit on that story says,

So they took a Free Software application out and replace it with a non-Free application from Google. What a great idea!

Although an office suite isn’t necessary for one to run Ubuntu, being able to create and consume office documents is admittedly a very common task. Making UNR able to interoperate “right out of the box” seems like a very high priority.

Qubit points to this essay by Bradley M. Kuhn from last month, “Back Home, with Debian!”, in which the author urges folks to switch to Debian to keep at bay Ubuntu’s apparent glee in incorporating non-free and proprietary software. His six specific reasons for moving away from Ubuntu and Canonical after several years are both damning and mirror my concerns. He sums it up:

When considering all this and taking a step back and look at the status of major distributions, my honest assessment is this: among the two primary corporate-controlled-but-dabbling-in-community-orientation distributions (aka Fedora and Ubuntu), Fedora is clearly much more software-freedom-friendly. Nevertheless, since I’ve twice gone corporate and ultimately regretted it, I decided it was time to go back home — back to Debian.

So, during the last week of 2009, I took nearly two full days off to reinstall and configure my laptop from scratch with lenny. I’ve thus been back on Debian since 2010-01-01. Twelve days in, I am very impressed. Really, all the things I liked about Ubuntu are now available upstream as well. This isn’t the distribution I left in 2004; it’s much better, all while being truly community-oriented and software-freedom-respecting. It’s good to be home. Thank you, Debian developers.

So, to recap my dilemma-filled experience thus far:

  1. I am sympathetic with the open source/free software cause. I do not like the idea that monolithic corporations and proprietary software vendors can hold my computing experience hostage.
  2. Thus, I am considering switching to Linux, especially due to the continuing over-commercialization of the Mac operating system and its integration of more and more hooks into various stores, locked-up user experiences, and other folderol.
  3. However, I am also uncomfortable about Ubuntu for many of the same reasons, with its increasing intermingling with non-free software.
  4. Likewise, GNOME’s flirting with Microsoft technology gives me the creeps.

What does that leave me with? Debian running Xfce maybe?

Of course, there’s always the option of going straight old-school CLI. ;D

vifm

An alternative to the Midnight Commander file manager utility. It’s available in the Ubuntu repositories (sudo apt-get install vifm) and via MacPorts (sudo port install vifm).

Vifm is a ncurses based file manager with vi like keybindings. If you use vi, vifm gives you complete keyboard control over your files without having to learn a new set of commands.

http://vifm.sourceforge.net/

While you’re getting in touch with your inner geek, don’t forget vimwiki, the personal wiki also based on vim:

http://code.google.com/p/vimwiki/

Switching to Linux, but which one?

virtualmachines.png In VirtualBox at the moment, I have three virtual machines:

The last of those is my most recent, after I started doing a bit of reading on Xfce, which in turn was prompted by the combination of Gnome getting more and more embedded with Mono apps/libs (and therefore infected with Microsoft cooties) and also the UI direction Gnome is headed for in version 3.

Both of these things can be “undone” on a case-by-case basis by uninstalling Mono folderol or enabling old UI bits, but I’m reluctant to put that much work into making a desktop usable and then having to monitor it all to make sure it doesn’t keep happening. Also, this recent brouhaha creeped me out about Gnome.

In trying to decide what exactly I’m switching to next year (or next month possibly), I’ve been experimenting with a few options. In addition to the above, I’ve tried out Kubuntu, a Debian install, a Mint install, and a GUI-less build this year.

KDE’s interface just felt entirely too clunky — like what I imagine a Windows user would want if they didn’t want to use Windows anymore but still wanted to feel comfortable. [Shudder!] There are a lot of great apps available, but naturally those are available on other desktop environments if I don’t mind the library overhead.

Debian was fine, but there were enough moments where things didn’t just work (or just didn’t work) where they did in Ubuntu that I decided to leave Debian aside for now. In switching operating systems, I will have enough to adjust to without worrying about fundamental OS pieces not working. However, I will revisit it in the future.

Mint, while pretty to look at, didn’t really add much value for me to consider it an improvement over Ubuntu or, indeed, Debian.

The GUI-less server install I will be using quite a bit as I switch servers from Mac to Linux, but I’m not going to go completely CLI with my initial desktop/laptop changeover. See Debian above. Maybe some day. ;)

So…more on this later, but at the moment I suppose I am actually trying to decide between Ubuntu 9.04 and Xubuntu 9.04.

TextMate to Vim transition resources

Articles for people looking to transition from TextMate to Vim.

Arthur Debert (Stimuli): “Hello VIM, or quitting TextMate cold turkey”

In my last post I’ve mentioned my way through VIM. Quiting TextMate cold turnkey wasn’t easy. But fear not: there are a bunch of plugins that will make it a breeze.

Jeff Ober (Artful Code): “From TextMate to Vim”

TextMate is an excellent editor, but it is beginning to show its age. It has a few squeaky wheels that have yet to be oiled, and it looks as though the author may be getting bogged down in the minutiae of his next release. With the next version apparently due sometime after the colonization of Mars, it seemed an auspicious time to try out another editor.

Jamis Buck (the buck blogs here): “Coming home to Vim”

Fast forward three years. The vim landscape is different now. There is actually a Mac-friendly GUI version of vim now, MacVim, which actually looks like it belongs on OS X. Vim 7 supports UI tabs, and a much more powerful auto-completion mechanism than before. And plugins like rails.vim and fuzzyfinder.vim mean that TextMate no longer has a corner on powerful project navigation.

On Reddit: “Ask /r/vim: How do you work with a project in vim?”

What I love about TextMate is that I can open a directory and it will list its hierarchy in a drawer, making it very easy to navigate files. Add to that the wonderful Cmd+T which incrementally lets me search for files within this hierarchy and quickly open one in a new tab.

I’m looking for something like this in vim. Or I’m wondering how other people solve the problem of working on a project which requires quickly opening different files and navigating within a hierarchy?

Also useful for those switching from Mac to Linux. ;)

Syndicate content