Table of Contents
Mac OS est le système d'exploitation installé sur les Macintosh.
Versions
10.4 Tiger
installé sur le macmini G4
- Mac OS X 10.4 Tiger by John Siracusa, 28/04/05
- Mac OS X 10.4 'Tiger' in depth
10.5 Leopard
installé sur les macminiintel
- Leopard by John Siracusa, 28/10/07
Package management
Il existe d'autres package managements que celui de base:
- DarwinPorts: Don't access it through your web browser. just select finder, then click on the “Go” menu, then “Connect to Server…”. Place that URL in the textfield and click “OK”. You should now have a WebDAV archive of opensource binaries mounted on your desktop.
Voir aussi PPC.
Livres
- Mac OS X: The Missing Manual ( tiger edition): apparemment bon bouquin (d'un gars switchant de X Windows) - je confirme, il est très bien
- Mac OS X Tiger for Unix Geeks est pas mal non plus
Liens
- MacBidouille forum actif
- PearPC un émulateur PPC (pour faire tourner Darwin, Mac OS X, Linux PPC)
- télécharger Darwin: http://www.opensource.apple.com/darwinsource/ (binary pour les images ISO à graver)
Tutoriels
- An Introduction to Tiger Terminal, Part 3, 05/07/2005: réseau
Le clavier Apple
- commande = touche pomme
- option = touche alt
- control = touche ctrl
Caractères cachés
- | (pipe): shift+alt+L (avec le clavier alternatif:option + 1)
- \ (backslash): shift + alt + / (avec le clavier alternatif:option + <)
- ~ (tilde): alt + n
- aller en bout de ligne: command + flèche vers la droite
- aller en début de ligne: command + flèche vers la gauche
Raccourcis claviers
- changer d'application: commande + tab
- dans une application, changer de fenêtre: commande + <
- cacher une application: commande + h
- fermer une application: commande + q
- screenshots
- capture d'écran: pomme (=command) + shift + 3
- Command-Shift-4, then drag mouse over an area: Take screenshot of part of the screen and save it as a file on the desktop
- Command-Shift-4, then space, then click a window: Take screenshot of a window and save it as a file on the desktop
- Hold down control during any of the above and it will put the screenshot in the clipboard instead of a file.
Restent à trouver:
- les touches pour aller en début et en fin de ligne
X11
Installation
Depuis Tiger (OS X 10.4), on peut choisir de l'installer lorsqu'on installe l'OS: lors de l'installation, cliquer sur le bouton personnaliser et cocher X11.
Si Mac OS est déjà installé, on peut le rajouter (90 Mo):
- introduire le DVD d'installation 1
- cliquer sur le package System/Installation/Packages/X11User.pkg
Si X11 est installé, il est en /Applications/X11.app ou /Application/Utilities/X11.app.
Pour utiliser une application dans X11, démarrer X11.app, il y a un shell depuis lequel on peut lancer une application (ex: nedit).
Tips & tricks
copier et coller
Comment copier-coller d'un environnement vers l'autre ? Trouvé dans Mac OS X Tiger for Unix Geeks de Jepson & Rothman (3e ed. p.116):
- pour copier: command-C (pomme-C) pour copier dans Mac OS X et dans X11
- pour coller de X11 vers Mac OS X: command-V (pomme-V)
- pour coller de Mac OS vers X11: middle-click ou option-click (alt-click)
Activer le daemon ssh
Il faut aller dans Preferences > Sharing > Remote Login (= activer l'accès à distance, SSH).
Problème: quand le MacMini est en veille (sleep), l'interface ethernet ne répond plus.
Path bar
Pour avoir le chemin jusqu'au fichier sélectionné en bas de la fenêtre dans le Finder: The Finder Path Bar - Using the Finder Path Bar.
Pratique car on peut double-cliquer sur un répertoire du chemin pour s'y rendre.
Changer le fond d'écran à l'identification
Mac Os 9
La vieille version…
Ligne de commande
cf. cli
Widgets
- il y a un service Apple qui vérifie toutes les 8 heures que les widgets installés sont bien authentiques = privacy problem :(
- Apple Phones Home, Too, 03/07/2006
- solution: Disable the dashboardadvisory-daemon, 04/07/2006
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.dashboard.advisory.fetch.plist
Third party widgets
Mounting ext2/ext3 partitions
- install macfuse: http://code.google.com/p/macfuse/
- install fuse-ext2: http://sourceforge.net/projects/fuse-ext2/
fuse-ext2 /dev/disk0s5 /home
Pour savoir où sont les disques:
disktool -l
Problème:
fuse-ext2: Probe failed