Difference between revisions of "Mac Tips"

From CsWiki
Jump to: navigation, search
 
Line 1: Line 1:
 +
This list was compiled by Or Sattath from the Theory lab. Please fix unclear/incorrect/incomplete stuff that you find.
 +
 
== Recommended Configuration after a fresh install ==
 
== Recommended Configuration after a fresh install ==
  
Line 6: Line 8:
  
 
=== The Mouse ===
 
=== The Mouse ===
You might want to have the regular 3-button mouse that we all know and love from Linux or Windows. So, go to Finder -> 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. 3. Your mouse has two buttons on the side. If you press both of them you have the Expose. Try it and see...
+
You might want to have the regular 3-button mouse that we all know and love from Linux or Windows. So, go to Finder -> 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...
  
 
=== The Keyboard ===
 
=== The Keyboard ===
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 in most of the applications. For some reason, it doesn't work in Gmail, .
+
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 in most of the applications. For some reason, it 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...
  
=== Finding Your hard disk using the termianl ===
+
=== Finding Your hard disk using the terminal ===
 
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).
 
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.
 
The local hard disk is located in a strange place: /private/var/netboot.
Line 28: Line 30:
  
 
=== Quicksilver ===
 
=== Quicksilver ===
This is a nice application launcher. You can find it in the CS-applications directory. After you start it,  
+
This is a nice application launcher. You can find it in the CS-applications directory. 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.
  
 
=== Spotlight ===
 
=== Spotlight ===
Currently it doesn't work. Ask the system why...
+
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 ===
 +
Your mac has a bluetooth connection. You might want to use it to sync stuff with your mobile phone. I'll update this section later on.
  
 
=== Quota, Door and some other commands ===
 
=== Quota, Door and some other commands ===
Line 60: Line 65:
 
=== Quota problems ===
 
=== Quota problems ===
 
The "Library" directory contains all your data. This directory, unlike linux, can become pretty large.
 
The "Library" directory contains all your data. This directory, unlike linux, can become pretty large.
If your quota is exceeded, 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'''.
+
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 ===
 +
In the CS-applications, there is a program called CS-VMWare. I think that it is better than the Fusion VMWare program that is installed in the Applications directory. This runs a windows virtual machine on your mac. I didn't play with it too much. If you know whether there is a way to save changes of the configurations (such as the default printer, adding the home directory, adding stuff to the desktop, etc.) please update this section.
 +
 
 +
=== Latex ===
 +
Use Texshop (in the CS-applkications) - it's great. Press Cmd+click on a point in the source to move to the pdf, and vice versa.
 +
 
 +
=== Keyboard Shortcuts ===
 +
Keyboard shortcuts for all of the applications can be configured: go to System Prefreneces -> Keyboard & Mouse and press the Keyboard Shortcuts tab.

Revision as of 13:51, 3 June 2009

This list was compiled by Or Sattath from the Theory lab. Please fix unclear/incorrect/incomplete stuff that you find.

Recommended Configuration after a fresh install

Hebrew Support

On the upper right corner, there is an American flag icon (on the left of the clock). Click on it, and choose "Open International". Add Hebrew (NOT Hebrew(QWERTY)). In order to switch the language, press Cmd+Space.

The Mouse

You might want to have the regular 3-button mouse that we all know and love from Linux or Windows. So, go to Finder -> 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...

The Keyboard

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 in most of the applications. For some reason, it 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...

Finding Your hard disk using the terminal

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 doing the following: cd ~ ln -s /private/hd/netboot hd

Whenever you want to go your hard-disk, you can do cd ~/hd .

And another tip: If you want to go to the top Finder widnow, type cdf in the shell. If you want your finder top window to go to the current terminal directory, type fdc (the opposite cdf, it is easy to remember).

And second tip: If you want to open an application, say firefox, then typing firefox won't work. In mac you need to do: open Firefox. I hate that! Quicksilver (see below) is a nice replacement.

Applications and the Dock

Some of the non-apple applications are at CS-applications, which is located in the Applications directory (open Finder, and press Cmd+Shift+A). You might want to add some of them to your dock: just drag them to the place that you prefer.

Quicksilver

This is a nice application launcher. You can find it in the CS-applications directory. 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.

Spotlight

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

Your mac has a bluetooth connection. You might want to use it to sync stuff with your mobile phone. I'll update this section later on.

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. You can always rsh to inferno, and run the command there.

Firefox Profile

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.

We will move the Mac profile (you can delete it if you don't need it...), and will create a soft link to the linux profile.

>mv YourMacProfileName YourMacProfilename.old >ln -s ~/.mozilla/firefox/YourLinuxProfile YourMacProfile

Quota problems

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

In the CS-applications, there is a program called CS-VMWare. I think that it is better than the Fusion VMWare program that is installed in the Applications directory. This runs a windows virtual machine on your mac. I didn't play with it too much. If you know whether there is a way to save changes of the configurations (such as the default printer, adding the home directory, adding stuff to the desktop, etc.) please update this section.

Latex

Use Texshop (in the CS-applkications) - it's great. Press Cmd+click on a point in the source to move to the pdf, and vice versa.

Keyboard Shortcuts

Keyboard shortcuts for all of the applications can be configured: go to System Prefreneces -> Keyboard & Mouse and press the Keyboard Shortcuts tab.