Latest Posts
Book Reviews
Petit guide de survie en belgique fédérale
The Metamorphosis
La démocratie des crédules
La crise: des subprimes au séisme financier planétaire
L'implosion: la finance contre l'économie, ce que révèle et annonce la
Aftershock: The Next Economy and America's Future
You Have to Fucking Eat
Zen Mind, Beginner's Mind: Informal Talks on Zen Meditation and Practice
The Playground
Une nation nommée narcisse
Krishnamurti et l'individualisme
Croyances et imaginaires contemporains
Feet of Clay
Contribution à la critique de la philosophie du droit de Hegel
Les Fatwas de Charb, tome II: Petit traité d'intolérance
Vers une laïcité dynamique
 
Follow me on…

Entries in macintosh (3)

Friday
May182007

More Mac Utilities

My latest post listed all the nifty little utilities and haxies I use to turn my Mac user interface into something funnier and more productive than what OS X gave me out of the box. Of course, having a great user interface to access your documents and applications isn't all that useful unless you also have top-notch tools to process these documents. The greatest application switcher in the world won't do you much good if the application you're switching to isn't all that great.

A friend of mine is currently switching to the Mac, and asked me about what really great applications lurk in the Macintosh world. There happens to be quite a few of them, and because I'm such a nice guy, I decided to blog about those I use.

Since I'm great and ambitious, this will be a three-part series. In this post I'll talk about the small stuff: little utilities that aren't all that important but still help in some way. The next one will talk about the big, expensive stuff. In the last one I'll deal with the Dashboard widgets I like (that one will be pretty short).

I've tried to put these in categories that make some kind of sense, but I'll freely admit it's a pretty weird kind. Let's start with system utilities first:

  • iTerm: this list has to start somewhere, so why not with an app that brings us back to the good ole' Unix days. There's nothing obviously wrong with Apple's Terminal, but iTerm looks a bit nicer, is more customizable, and it has tabs.

  • DarwinPorts: OS X implementation of the port package manager from Debian Linux. The command "port install python" will download the latest version of Python, as well as all its dependencies, then compile and install everything. It's one-click installs for unix software, and it Just Works. (Update: apparently new versions are called MacPorts for some reason.)

  • FolderShare: this small dotcom startup, recently bought by Microsoft (who sadly doesn't seem to be doing anything with it) is a real gem. It allows you to synchronize folders between any number of computers (PCs, Macs, Linux boxes) across the internet. After setting up your account, you first download and install a small program, then all subsequent configuration happens through the web interface. It allows you to access any file on any currently connected computer, as well as setting "libraries" of "synchronized" folders. All file transfers are peer-to-peer, so performance is pretty good. The big sour point is that there's no mechanism to automatically reconcile conflicting changes, so if you edit the same file on two different computers, you get two versions of the file and it's your job to make sense of them. Still, I work on three different computers all the time, and this is the best way I've found to make the process reasonably seamless.

Now for the obligatory "productivity" utilities:

  • TextExpander: this is great. In many word processors you can set up "macros", or one-word shortcuts for snippets of text you use over and over again. This is the same thing but it works system-wide. Especially useful for emails.

  • Growl: many programs run in the background waiting for something to happen so they can tell you about it. "File transfer complete". "annoying_jerk@hotmail.com wants to send you a file". "You have 237 new mail messages". etc. Usually this is stuff you want to know about, but maybe not right now. Growl gives you a central place for all those notifications. When you're feeling bored you can set it up to warn you of everything all the time, but as soon as you feel like actually getting stuff done, it only takes one click to get him to shut up for the time being.

  • Twitterific: This is a twitter client for Mac OS X, and with it you won't fail to waste all the time that the previous utilities saved you, and then some.

  • Synergy: Software KVM. Nice when you have multiple computers in the same place. Works with Mac OS X, all versions of Windows, Linux. I've also tried Teleport, which is more mac-like and can be installed without editing obscure configuration files. On the flip side, it's Mac-only, and I could never get it to work...

Let's call the next ones "multimedia utilities":

  • Flip4Mac: this allows you to play all (non-DRMed) Windows Media files in Quicktime and most web browsers.

  • TubeSock: download files from YouTube, converts them to whatever you want (iPod, H.264, etc.) and add them to iTunes, all in one click. At $15 it's pricey, but much faster than free solutions out there.

  • Senuti: if you have an iPod, you want this. Allows you to transfer any music file from an iPod back to iTunes. It's a real shame that Apple's iTunes no longer does this out of the box, but as long as Senuti works I don't mind too much.

  • Toast Titanium: This is the Mac's Nero. There's plenty of ways to burn CDs and DVDs from Mac OS itself, but Toast automatically splits data-sets that won't fit on a single disk, does one-click DVDs from most kinds of video and picture files, allows you to burn obscure formats like DVD-Audio, you name it. Slightly expensive for something you probably don't really need, but it's very good at what it does.

The following utilities you probably won't use frequently, or at all, but it's good to know they exist:

  • OmniDiskSweeper: No matter how big your hard drive is, at one point it'll get nearly full and you will have to delete some stuff. This (nearly-)free tool instantly shows you which files and folders take up the most space. (If you're a Unix geek you can think of it as "du -sh" with a GUI.) Very handy.

  • Pacifist: Chances are you'll never use this. I didn't. But a friend of mine swears by it, and it looks like it might be the only way out in some situations, so I'll mention it anyway. It allows you to look inside .mpkg installation packages and select individual files to install. Automatic installers usually work fine, but, hey, you never know.

  • Chicken of the VNC: VNC client. If you don't know what VNC is, you probably don't need it.


Mac OS X is compatible with most of everything, and it's pretty rare to come upon a file that you can't open with what's in the default OS install. I've found two, and luckily there's free applications to handle both of them:

  • UnRarX expands .rar archives.

  • Chmox opens Microsoft's .chm files (Compiled Html) used for some documentation and ebooks.

That's it! In my next post, I'll talk about bigger, and probably more controversial, software choices. See you soon.

Monday
Apr302007

My Very Own Mac Desktop Interface

The Mac has a great user-interface. Everybody knows that. No-one can ever explain exactly what it is that makes it so great, but it's great. Any sane person only has to use a Mac for a little while to realize how superior it is to every other GUI, even those he's never heard of or those that aren't really implemented yet. Some people may disagree, but that just means they're Windows fanboys and thus not worth listening to.

Well, call me picky, but that perfection is just not good enough for me. And judging by the number of user-interface add-ons available for Mac OS X, I'm not alone. I've tweaked my Mac so much that it doesn't even look like a Mac anymore, and that's not because the Mac is that bad. It's just that from my perspective it can still be improved quite a lot, and since there's plenty of ways to do exactly that, I did it.

First thing first: the Dock sucks. Interaction design guru Tog wrote about this a while ago, and even though Tiger has improved a few things, most of his points still hold. The Dock is a low-density widget that only works well for someone who only ever uses the same five apps and three documents, and that's not me.

The other big problem is that the Mac interface is made for multi-tasking. (If you don't find that self-evident, ask yourself why the green "Zoom" button doesn't actually zoom.) That's awesome when you're working on stuff that requires multi-tasking, like blogging or reading emails or brainstorming with a bunch of people in an IM session. However it's not so great when you need to finish a boring report, especially if you're me and you have the attention span of a ferret with ADD and a caffeine addiction.

Hence after using a Mac for a couple of months, I got annoyed at some of its GUI quirks and decided to do something about it. I quickly came upon an article by Tog called Make Your Mac a Monster Machine, and since then my Mac Desktop has changed forever.

Nowadays I refuse to settle for a single user interface. I have two. The one I use most of the time is optimized for multi-tasking, just like the original Mac Desktop, and looks like this:

The other one I use when I need to focus on just one thing. It looks like this:

Unless you've tried this kind of setup before it probably looks stupid, but I've found it really helps me concentrate on what's really important for the work at hand.

To achieve this setup, I use a lot of different utilities and applications. Although I use all of them, there's no reason you have to, so I've decided to simply list them all and describe what they do. I guess most people will try them one at a time and figure out whether they work for them or not. So, without further ado, here's the list:

  • VirtueDesktops: If you've used Linux recently, you probably know what virtual desktops are and how useful they can be. VirtueDesktop is a pretty good implementation of the idea, and it's free. The two features I really like is first how easy it is to bind applications, forcing them to always stay on the desktop where they make the most sense (I've got Mail, iCal and Address Book bound to my "In" desktop.) and the wealth of keyboard and mouse triggers you can set up to go from one desktop to another or move applications around. This will likely be replaced by Spaces once Leopard comes out.

  • QuickSilver: This thing is unbelievably cool. The first time you use it it looks like Just Another Application Launcher: hit ⌃-space, iTunes, ↩ and iTunes appears. That's already pretty useful if you're a keyboard junkie, but when it comes to Quicksilver, launching is not so much scratching the surface as polishing it with a soft cloth. From its minimalist interface, Quicksilver allows you to open documents with any app, navigate the filesystem, create folders, move and copy files. It also comes with a wealth of plug-ins that allows for FTP upload, controlling iTunes, creating iCal appointments, reading your address book, searching Google, and pretty much everything you can think off, all in just a few keystrokes. After using it for a few days, you won't believe how you ever managed without it.


Most "power-users" think the mouse is inherently inefficient and that you can be a lot faster with keyboard shortcuts. This is mostly true, but for some tasks the mouse feels a lot more natural, and with a well-designed interface it can be mighty fast, too. The next four utilities make launching and switching between applications with a mouse much faster.

  • DragThing: This is a bit like the dock, except it is better in all possible ways. It can store hundreds of applications, documents or urls in a fraction of the Dock's footprint. Best of all, it puts them in predictable places, which makes finding them with a mouse a lot faster. As an added bonus, you get a nice trash can in the bottom right corner of the screen, which is a lot faster to access than the dock's.

  • Application Switcher Menu: This is just like the Applications menu from OS 9. It sits in the top right corner corner of your screen and shows all your open applications. With a single click you can switch to an app, quit it or hide it, without ever touching the keyboard. It's especially useful with VirtueDesktop, since Expose only shows Apps from the current desktop.

  • WindowShadeX: This is another haxie that revives a nice feature of OS9. It gives two new behaviours to all your windows: WindowShade, which rolls up the window inside it's title bar, and minimize-in-place, which shrinks it on the side of your desktop. Both are very handy when you have many windows open on a small screen.

  • StickyWindows: I found out about this one only a few days ago, and I'm starting to like it even though it's a bit redundant with WindowShade. It allows you to minimize windows into tabs and "stick" them on you screen's edges. By default these tabs are "automatic", meaning that whenever a stuck windows looses focus it minimizes to its tab, keeping screen clutter to a minimum.

Just a small hint: if you install the previous four applications, you'll quickly notice that you never use the dock anymore and it's just taking space there for no reason. Luckily, it can be totally hidden from view, even though the feature isn't well-documented. Just open up a terminal window and type these commands:

$ defaults write com.apple.dock launchanim -bool no
$ defaults write com.apple.dock magnification -bool no
$ defaults write com.apple.dock autohide -bool yes
$ defaults write com.apple.dock orientation -string top
$ defaults write com.apple.dock pinning -string end
$ defaults write com.apple.dock tilesize -int 16

then either log out and log back in or just force-quit the Finder. The dock is now hidden in the top-right corner, beneath the menu bar. If at one point you really need to see it again, hit ⌘⌥D. More info here. (By the way, don't you love operating systems that you can easily customize using undocumented NeXTStep commands that Just Works? Never mind...)

This takes care of my multi-tasking desktops. As said earlier, I also have a "single-tasking" (aka sensory-deprived) desktop, inspired by the distracted mac from the Macbreak podcast. This uses two more utilities:

  • Backdrop: This just displays a uniform wallpaper above your desktop, hiding all your icons and other applications. Originally it was made for taking nice screenshots, but it works great as a focusing aid for the attention-challenged.

  • MenuShade: Okay, you've got Backdrop running and your whole desktop is hidden. Suddenly that menu bar on top of the screen looks really bright and it's kinda annoying. MenuShade allows you to dim it, either totally black or totally bright or anything in between. When you hover your mouse near the top it reverts to full brightness for best legibility. I set it to not quite black, so that when I'm looking at it I can still aim for the right menu, but the rest of the time it simply disappears.

I've added those last two utilities to my Login Items, so they launch automatically when I turn the computer on. Using VirtueDesktop, I've bound them to my third desktop, which is called "Work in Progress". This way I always get the same setup when I log in, with the usual interface, and when I need to concentrate on something, the sensory-deprived desktop is only a keystroke away.

This is it! A super-powerful user-interface explained in just a dozen paragraphs! Don't you wish everything was that simple ?

Wednesday
Mar142007

The Macintosh Keyboard

I've just noticed that I've been writing this blog for a few months now, and I've never posted a proper tech rant. A "tech rant" is when a blogger gets up on a metaphorical podium with a decent piece of design or technology that millions of people use everyday without hassle, and tell those millions of people what a stinkin' piece of crap they've been unknowingly stuck with all this time. It's fun.

Our subject of the day will be: the Macintosh keyboard. I know, it won a gazillion prizes for industrial design, it's the main human-interaction device for the most user-friendly OS in existence, it has a wonderful soft-touch feel, and it's on display in the San Francisco Museum of Modern Art.

Well, it stinks.

First, there's a bunch of symbols missing. I can empathize with the designer's wish for a clean and pure layout, and it looks awesome in photographs, but googling "mac special characters" when you forget that ~ on an AZERTY keyboard is ⌥-n-space gets old real quick. Of course everybody knows that tilde is mostly used in spanish for the letter 'ñ', so that makes the ⌥-n-space shortcut really intuitive.

Speaking of intuitiveness, what kind of sick deranged mind ever came up with the idea of Glyph Notation ? In case you don't know, glyph notation is the amusing practice of referring to special keys (in menus, documentation, even help files) not by the key's name (conveniently written on the key itself) but with symbols that have absolutely no relation whatsoever with the key's name/shape/form/usage/history. For example, esc is ⎋, ctrl is ⌃, the option key (you know, the key with "alt" written on it) is ⌥ and the command key is ⌘, which surprisingly is drawn on the key, along with a hollow apple that doesn't appear anywhere else. (In case you're wondering: no, "command" isn't written anywhere on the keyboard.) Even though I get a real kick out of having a key with a hollow apple drawn on it, because it's cute and reminds me of the Apple IIc that introduced me to computing twenty years ago, I must admit that it doesn't make any kind of sense.

And don't get me started on "enter" (⌅) and "return" (↩). There's a key with "enter" written on it, and another one with both "return" and "enter". (I believe that if I were to forget about the existence of the "enter" key I could get the same effect with fn-return, but it might be the other way around.) According to legends, old folk tales and post-it notes some guy claims to have seen on Steve Jobs' desktop, both keys have subtly different effects. I sure hope so, because they're taking up valuable keyboard real estate on my PowerBook G4, which is so small and optimized that it doesn't even have "insert" or "delete" keys. Very sad, considering "insert" has the outstanding quality that at least I know what the hell it's for.

Despite all those non-sensical gotchas in what I'll call (for lack of a better word), the "design" of the Mac Keyboard, Mac fans seem to love it. Self-described power users even brag about how much more powerful their keyboard shortcuts are because there's four modifier keys on a Mac.

People who don't use both platforms regularly might not be aware of the subtle differences between them, so allow me to explain. Disclaimer: reading the following paragraph might cause your brain to give up on you and move to Ecuador in search of better climate and a less life-deprived body. You've been warned.

PCs don't have the ctrl (⌃) key. I mean, yeah, they have the Ctrl key, (note the capital "C") but their Ctrl key is really the equivalent of the command (⌘) key, not ctrl (⌃). So Windows PCs have three modifier keys (Ctrl, Alt, Shift) and Macs have four (cmd, alt, ctrl, shift). Now I know some of you annoying smart asses are going to tell me that PCs have the AltGr key — which Macs don't have — but this doesn't really count, because AltGr is really Ctrl+Alt, so it's not an independent key. [Update: Windows developer Deadly Smurf points out that it's possible for an application to distinguish between AltGr and Ctrl+Alt, although very few ever do, and having different behaviour in the two cases is generally considered bad design.] There's also the Windows key, but this is reserved for the OS (or seems to be. I've never seen it used by a client application) and is a joke anyway, the product of an underused mind somewhere at Microsoft, who one day looked at the space between "Ctrl" and "Alt" and thought "What a waste. Let's replace this useless empty space with a useless key, and make it do vaguely useful things in Windows 95". He brought it up to marketing, who immediately loved it, thinking that if by some off-chance the Briefcase failed to cause mass-adoption of the new OS, this "Windows key" certainly would. Last but not least, if anyone comes up with how the Mac's ctrl (⌃) is not needed on the PC because PC mouses have more than one button — on a Mac ctrl-clic gets you a right-click. Confused yet ? — I'll just have to take him outside and shoot him, because ctrl (⌃) is used in keyboard shortcuts, so it is a full-fledged modifier key.

Now where was I ? Oh, yes. Mac power users. (Am I the only one who thinks of "power users" as "people who spend so much time customizing their computer and optimizing their settings and tweaking their applications and whatever that they never use their computer to actually do anything" ? Just wondering.) So, they're bragging about those four modifier keys. As if that was obviously a good thing. As if there really was such a dire need for more key combinations.

Have you ever computed how many combinations you could get with three modifier keys ? I'm not very good at combinatorial arithmetics, but three keys should have as many states as a three bit register, which is, I think, eight. In any context where you're inputing text, using either no modifier key or Shift alone will simply input the corresponding character. And Alt is the menu key in Windows, so we're left with "only" five usable combinations for keyboard shortcuts.

The vast majority of Windows programs use Ctrl for the really obvious stuff (Save / Close / etc.) and Ctrl+Shift for the slightly less obvious stuff (Save As...), leaving three other combinations for obscure functionalities and user-defined shortcuts. As a rule, most programs don't use Alt-Shift nor Ctrl-Alt-Shift, so this means that whenever you think a function is worthy of a keyboard shortcut but Ctrl- is already taken, there's a good chance that Ctrl-Shift- or Ctrl-Alt- will be it. This is good. It means that most windows programs have very predictable keyboard shortcuts, and ease of use is all about predictability.

Now on the Mac, not only do you have four modifiers but there's no designated menu key. (It's ctrl-F2. Which means ctrl-fn-F2 on laptops. Apple obviously thinks Mac OS' menu bar's mouse implementation is so fast that there's no reason to ever use the keyboard. Amazingly this is mostly true.) This gives you fourteen possible combinations for every key on the keyboard. Which is very impressive until you realize that you effectively have zero chance of ever guessing a keyboard shortcut you've not seen before.

What compounds the problem is that beyond the really obvious (New/Open/Save/Close/Quit and clipboard ops) there's almost no convention for keyboard shortcuts across applications. Even really basic stuff like "move caret to beginning of current line" (the "caret" is the blinking vertical line that shows where you currently are in a document) can be either home or ⌘←. Move to next window/tab is either ⌘˜ (on US keyboards), ⌘> (on many other keyboards), ⌘→, ⌥⇥, ⌘⌥→
or nothing (which means either use the mouse or ⌃F2, W, ↑, something).

Things don't have to be this way: application developers could just follow best practices and standardize on something sensible. "Sensible" doesn't mean "the best design possible in a world where no other application exists", but "the design which will make our application easiest to use for our target audience, given what programs they've used in the past and the habits they've acquired in so doing."

Until this becomes widespread practice, user interface on the Mac will be a far cry from the total perfection described by fans.