‏إظهار الرسائل ذات التسميات leopard. إظهار كافة الرسائل
‏إظهار الرسائل ذات التسميات leopard. إظهار كافة الرسائل

الجمعة، 31 أكتوبر 2008

FTP for sharing files on Mac OS Leopard

I've decided to upgrade from sneakernet (=USB stick) to something more comfortable when sharing files with my brother, namely FTP. This is relatively easy to configure: Enable FTP sharing, create a new sharing-only user and designate a shared folder. But afterwards I kept getting an error:
530 User guest may not use FTP.
After much googling, a French website provided the answer: sharing-only users (=without their own home directory) have the shell /usr/bin/false. Users with this shell can only log on an FTP server if it is listed in /etc/shells (which it isn't).



الأحد، 30 مارس 2008

Leopard: Things you don't need to fix any more

There are two things that are very simple under Leopard that used to be a lot more complicated:
  • ssh-add (allows one to automatically authenticate ssh connections): There is no need to use ssh-agent any more. If your key is called ~/my/key/file then ssh-add ~/my/key/file does the trick and globally enables automatic authentication (even for GUI applications!). If your key file resides at .ssh/id_pub then you can even omit the argument.
  • Starting X11: There is no need to change the DISPLAY environment variable or to start X11 manually, any more. Instead, X11 starts automatically as soon as one invokes an application that uses X11.
This makes Leopard an even cooler Unix system.

السبت، 29 مارس 2008

Fixing Leopard

There are a few small things wrong with Leopard. But they can be easily fixed:
  • During installation, you should customize (via buttons in the installer) twice:
    • Erase and install: If possible, don't upgrade, your install will be a lot cleaner.
    • Installed packages: You probably don't need all language localizations and all printer drivers and will then save a lot of hard drive space.
  • Dock: I like the dock to the right and at the top. The latter can only be done via utilities such as TinkerTool.
  • iTunes store links: Are handy, but only get you to the store. The following shell command fixes that. Now the links navigate your music library and if you hold option you can still get to the store.
    defaults write com.apple.iTunes invertStoreLinks -bool YES
  • Shortcuts: can be changed via "Keyboard & Mouse -> Keyboard Shortcuts". Two examples of shortcuts that are broken with German keyboards:
    • Move focus to next window in active application: Also known as cycling through windows. Hard to type on a German keyboard.
    • Show help menu: Clashes with Eclipse's "toggle comment".
  • Safari: Show the status bar (which shows the URL when hovering over links) via "View -> Show Status Bar".
  • Finder: Show the path bar via "View -> Show Path Bar". It is very handy, especially with Spotlight, because it shows the path of the current selection, not of the current window.
  • Sleep display: You can do so on command (the computer runs, the display doesn't) via "Expose & Spaces -> Expose -> Active Screen Corners -> Sleep Display". This makes a lot more sense than a screen saver.
  • Sending an SMS: Wow, this one is a biggie. Tiger could send and display recieved SMSes via a Bluetooth-paired cell phone. In Leopard this feature is gone. Sending SMSes via iChat (only works in the US), AOL internet messenger or Skype (costs money) is possible, but you have to be online to do that (on the plus side, you don't need a cell phone then). Fortunately there is the widget emitSMS that at least brings sending SMSes back.
  • Switch off the translucent menu bar: System Preferences -> Desktop & Screen Saver, uncheck "Translucent Menu Bar".
If you want a list of little details that work well in Leopard I recommend the artice "10.5: Liste der lieblichen Feinheiten" (in German).

الجمعة، 28 مارس 2008

PDF editing in Leopard: Almost like Acrobat

"Almost" means that the "Preview" application that comes standard with Mac OS X Leopard does most things that I would normally need Acrobat for. You can
  • rearrange and delete pages.
  • add notes and markup (customize the toolbar to get the corresponding icons).
  • edit notes and markup in existing PDFs (at the bottom of the sidebar, you can display the annotations and then select or delete them).