Difference between revisions of "Mac Tips"
|Line 87:||Line 87:|
=== Keyboard Shortcuts ===
=== Keyboard Shortcuts ===
== Known Issues ==
== Known Issues ==
Revision as of 09:31, 4 June 2009
This list was compiled by Or Sattath from the Theory lab. Please fix unclear/incorrect/incomplete stuff that you find.
- 1 Recommended Configuration after a fresh install
- 1.1 Hebrew Support
- 1.2 The Mouse
- 1.3 The Keyboard
- 1.4 The Terminal & your local Hard Disk
- 1.5 Opening an application from the terminal
- 1.6 Applications and the Dock
- 1.7 Quicksilver
- 1.8 Spotlight
- 1.9 Bluetooth & iSync
- 1.10 Firefox Profile
- 1.11 Quota problems
- 1.12 Running windows apps: VMWare
- 1.13 Latex
- 1.14 Keyboard Shortcuts
- 1.15 The power button
- 2 Known Issues
Recommended Configuration after a fresh install
On the dock (gray stuff on the bottom) go to System preferences => International => Input Menu Tab and check Hebrew (not Hebrew QWERTY). In order to switch the language using the keyboard shortcut, goto System preferences => Keyboard & Mouse => Keyboard Shortcuts. Check "Input Menu", and uncheck "Spotlight". Now Cmd+Space switches languages.
The Mac Office suite doesn't have Hebrew support. You need to run VMWare for that (see below).
The mouse should be connected to the keyboard (There is a USB port in both upper corners of the keyboard, from the bottom).
You might want to have the regular 3-button mouse that we all know and love from Linux or Windows. So, go to Finder -> Go Menu -> Applications -> System Preferences -> Keyboard & Mouse. Choose the "Mouse" tab. Change the left button to be Primary button, the right to be Secondary button, and the middle to be Button 3. Your mouse has two buttons on the sides. If you squeeze both of them it starts "Expose". Try it and see...
Also, selecting the text doesn't put it inside the "selection clipboard" like in linux: you need to use Cmd+C to copy and Cmd+V to paste. If you know how to change this behavior, please update this section.
There is no Home and End keys. Press Cmd+left for going to the beginning of the line, and Cmd+right to the end of the line. If someone is aware of how to keybind these keys to the Linux/Windows usual mapping, please update this section. For some reason, Cmd+left/right doesn't work in Gmail. The workaround is to use Ctrl+e to go to the end of the line, but I'm not aware for any other shortcut that would bring you to the beginning of the line...
Alt+left and Alt+right skip words.
The Terminal & your local Hard Disk
If you are used to using the terminal, OS X has one. Start Finder -> Applications -> Utilities -> Terminal. Note that it has mutliple tab support (press cmd+T to start a new tab). The local hard disk is located in a strange place: /private/var/netboot. I suggest creating a soft link to the hard disk from your home directory:
cd ~ ln -s /private/hd/netboot hd
Whenever you want to go your hard-disk, you can do:
Opening an application from the terminal
If you want to open an application, say firefox, then typing firefox won't work. In mac you need to do: open -a Firefox. I hate that! Quicksilver (see below) is a nice replacement.
Applications and the Dock
I also recommend to move the dock to the left side of the screen: On the dock (gray stuff on the bottom) go to System preferences => Dock and choose "Position on screen" to be left.
This is a nice application launcher. You can find it in the CS-applications directory. On initial startup, simply click "continue" until you're finished. After you start it, press Ctrl+space and start writing an application name or a file. It will find it... Google quicksilver to see all the magics it can do.
Currently, spotlight only works on files which are on the hard drive (and not on your home directory). The system have some technical explanation for that, in case you're interested. Spotlight is like google desktop for mac, and you can use it by pressing the magnifier glass on the upper-right corner.
Bluetooth & iSync
You can use the firefox profile that you used in linux.
Run firefox at least once, and exit completely (press Cmd+Q inside firefox).
Open the terminal, and type:
cd ~/.mozilla/firefox ls
You will see a directory which might be something like cnojy200.default (the cnojy200 shoud be some random string). We will call this directory YourLinuxProfile.
~/Library/Application Support/Firefox/Profiles ls
Again, you will see a directory which might be something like gabum400.default. We will call this directory YourMacProfile.
mv YourMacProfileName YourMacProfilename.old ln -s ~/.mozilla/firefox/YourLinuxProfile YourMacProfile
The "Library" directory contains all your data. This directory, unlike linux, can become pretty large. If your quota is exceeded (you can see your file quota by running nquota on a linux machine: use rsh for that), you might want to move your Caches directory to your local hard drive, and create a soft link to that. This might prevent you from using browsers on a different mac than your own.
Running windows apps: VMWare
Use Texshop (Applications->Tex->TexShop) - it's great. Press Cmd+click on a point in the source to move to the pdf, and vice versa.
The power button is located in the back side of your screen, in the bottom left corner.
If you know about things that don't work, and the System are aware of it, and can't find a fix, please add it to this section.
Quota, Door and some other commands
Currently the commands door, nquota, stquota, and some other commands that were created by the system for linux, don't work on mac. A workaround: rsh to inferno ( > rsh inferno ), and run the command there.