Wouldn't using bumblebee do exactly what this article describes, but automatically and with the advantage of using the nvidia GPU for specific applications?
At least that's what I've been using for over a year now.
At least that's what I've been using for over a year now.