Switching to MacOS X
I made the switch from a Sony laptop running Linux to a 17" Apple Power Book around two months ago. Here's a list of some of thing things that I had to learn.
Before making a purchase I had two worries: one was over a specific piece of software I had to use and the second was how fast the machine would be. I decided to rent an iBook for a week. This demonstrated that the software I had a concern over would indeed work, but it also taught me that iBooks are fine machine. Now that I've finally made the Power Book purchase I'm happy with the performance. I had been using a Pentium III 800Mhz laptop with 256M of memory: the 1GHz Power Book with 1G of memory is a huge improvement... but that could mostly be the memory for all I know.
Now here's that list...
-
Connecting to a windows share. I run Samba on a home server, and it took me a while to figure this out. To connect, I selected the Finder and then did Apple-K (or Go/Connect to Server in the menus). It works. The network share appears on the desktop.
-
Customizing dock, background, screen saver, auto software updates etc. Under the Apple menu, select System Preference... it's all in there.
-
How to get Eclipse into the dock? I use the Eclipse IDE. You download this, install it, it works. But I couldn't figure out how to get it into the Dock so I could easily launch it. The answer is: launch the application, so it appears in the doc, then CTRL-Click on it and select "Keep in dock". Or, right-click if you've installed a two butto mouse, which I have.
-
About the Dock: it's a list of applications, with arrows underneath the apps that are running. To the right there are a list of windows which have been minimized.
-
How to grab additional packages like wget, gcc or cvs. First, download and install the developer kit from Apple Developer Connection (ADC). It's a big CD worth of stuff. Also download and install the Apple X11 implementation (this is now on the OS install CD). If you need more stuff, you can use Fink, but I've now switched to using Darwin Ports. This may seem more complicated, but oddly I find it easier to use: you check-out darwin ports from CVS and build it. From what I can make out, the CVS repository contains ports of applications, so you can just build them. It downloads any extra pieces it needs. The only thing I had to do after make-ing the application was to edit
/etc/ports/sources.conf
to add the line file:///usr/local/src/darwinports/dports
- /usr/local/src
being the place I put Darwin ports when I checked it out of CVS. From there it's all plain sailing using the port
command from the shell (e.g., port list | more
). [Update: I've found I've not been using Fink or Darwin Ports much... seems I have much of what I need installed already]
-
By default the shell is tcsh. To change it use:
sudo niutil -createprop / /users/richard shell /bin/bash
.
Note that it's /users not /Users, that's because
it has something to do with /Applications/Utilities/NetInfo Manager
not the filesystem.
-
The root account is disabled, but you have sudo so that's fine. If you want to
enable the root account, take a look at the excellent macosxhints.com.
-
For products like Tomcat it's good to set
$JAVA_HOME
, and the right value for this is /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
.
Also, it's a good idea to set this in your own ~/.profile
because /etc/profile
seems to get
overwritten during some OS X updates.
-
Safari's 60 second timeout too short.
Install SafariNoTimeout and change the settings with
defaults write com.unsanity.snt Timeout 300
(300 = 300 seconds).
-
TextEdit supports utf-8 (and many other encodings). The Preferences window allows you to set default the character encoding used for reading and writing.
-
From the shell, the
open
command is handy for opening something using whatever MacOs X wants to use. E.g., open .
opens the current directory in the Finder. open foo.log
opens foo.log in the log viewer thingy. Or you can do something like open -a TextEdit foo.log
which will open foo.log in the TextEdit application.
-
I didn't like it at first, but iTerm is a good substitute for the default Terminal program. The thing
that's swung it for me is the drop-down list of connections that
let you set up quick access to machines (ssh, telnet etc).
-
Learn the Apple key shortcuts for all sorts of things from quiting apps to taking screen shots. Apple-Q = quit, Apple-W-=close window, Apple-S is save and in Finder Apple-F is find and Apple-A takes you to your applications. Apple-c and Apple-v are not the same as Apple-C and Apple-V so watch out for the caps lock being on. On the subject of keyboard differences you'll note that certain keyboard locations have been moved: ", @, |, \, ~, # (Alt-3) ... at least from the point of view of someone familiar to British PC keyboard layout.
-
Typing accents:
Alt+n to add a ~, e.g., Alt+n n = ñ;
Alt+` for grave (à);
Alt+e for accute (é);
Alt+u for things like ä, ë;
Alt+i for circumflex (î); and
Alt+c for ç
- Installing software seems to be done in one of two ways. Either an application has an installer, or when you unpack an application it tells you to drag the applications icon to wherever you want it (/Applications probably). Uninstalling an applications is a case of quitting the application, then dragging its icon to the trash.
- You can get Windows Media Player and RealPlayer for MacOS X
-
FTP is odd. When you connect to an FTP site in Safari, the FTP site is mounted on the desktop. Ok... but it always seems to be read-only, even if I specify a username/password in the URL. You still have the command-line FTP command, and scp, but I've also start to use Fugu and a very pretty Cyberduck.
-
NetNewsWire is good for RSS feeds. Apple are planning to include RSS support in Safari, so you may not need NetNewsWire.
-
Right now the OpenOffice release I'm using runs fine under X11, but it doesn't look great. The OpenOffice folk are working on a native Mac version, I believe.
-
For instant messaging I'm using the duck-obsessed AdiumX. I use it for Yahoo!, MSN, Jabber and AIM. See their FAQ entry
on "What's with the ducks?"
- Nice touch: when you have a document open, the top of the window has an icon of the document. Turns out you can click and drag on that places: e.g., to drag the document into an email.
- Another nice touch: if you do a File/Open on something, you can drag a file or folder from Finder into the dialog box and it sorts itself out as you'd want it to.
-
Everything else... just works... and I'm not going to go on and on about all the nice little touches. Except for :-) the fact that when you close the lid of the Power Book it hibernates so very quickly. When you open the lid, the desktop is just there. The way it's supposed to be.