Setting up the OSX terminal application

17 01 2009

By default the terminal app in OSX is not configured the way you are used to on a Linux system. There is no color output for ls and things like page up and page down are not working via SSH. Fortunately this can be corrected with some small configuration tweaks.

The first thing is to open the prefenreces panel and set the “Pro” theme as the standard theme. I also like to activate text antialiasing. My font of choice is “Monaco 12pt.”.

To enable the page down, page up, home and end keys you need to go to the keyboard tab and set the following key actions:

Home = \033[1~
End = \033[4~
Page Up = \033[5~
Page Down = \033[6~

To activate colored output for ls with a decent color scheme that works well on a dark background, create a file .profile in your home directory with the following contents:

export CLICOLOR=1
export LSCOLORS=cxexcxdxbxfxfxbxbxcxcx


Reloading kernel extensions

12 02 2008

Sometimes it might be useful to reload a kernel extension in OSX without rebooting your Mac. This can be done in a terminal window with the following commands:

sudo kextunload /System/Library/Extensions/NameOfExtension.kext
sudo kextload /System/Library/Extensions/NameOfExtension.kext

Replace NameOfExtension.kext with the name of the extension you want to reload.



2D Dock in Leopard

24 11 2007

The new 3D styled Dock in Leopard is looking very stylish, but I think the 2D style which is used by the Dock when located on the left or right screen border is more functional. It is also possible to change the Dock on the lower screen Border to the 2D look. To do this you need to open the terminal and enter:

defaults write com.apple.dock no-glass -boolean YES
killall Dock

To switch back to the 3D style, you can use the following commands:

defaults write com.apple.dock no-glass -boolean NO
killall Dock


Coupon for german Amazon store

24 10 2007

This might be interesting for all of you, who want to order Leopard in Germany. If you use the following coupon code during the ordering process, you will get a 10 Euro discount on Leopard at amazon.de:

AMZNLPRDAPPL

This offer is valid until November 1st.



Leopard is coming

16 10 2007

Today Apple officially announced that OSX 10.5 alias Leopard will hit the stores on October 26th. Leopard has more than 300 new features compared to 10.4. Take a look at the link for a nice summary of the new features. I do especially like the new Xcode features.



Essential Mac Tools

9 08 2007

After working more and more with my Macbook instead of my desktop PC, I have found a couple of really nice tools for mostly all of my daily tasks. So here is a small list of tools and utilities which I basically use daily:

  • Camino – This is basically the Firefox browser as a native OSX application. It has support for drag and drop, integrates the OSX keychain and spell checker and best of all, it’s completely free. The only downside is that you can not run the Firefox plugins.
  • Textmate – Simply put: if you need a text editor there is absolutely no way around textmate. As a software developer you spend most of your time in a text editor and this is the most powerful editor I have ever worked with on any platform.
  • Vienna – A very nice feedreader. Highly customizable and open source. As long as you do not read more than 200 feeds, this is a really good application.
  • Quicksilver – To say Quicksilver is just an alternative program launcher is understatement par excellence. This is a completely new way working with OSX. It will save you a great deal of time. Also freeware.
  • AdiumX – The multi protocol chat client for OSX. It has very nice theming support and it is open source.
  • svnX – A GUI subversion client. Being used to TortoiseSVN on Windows, it is like a step back, but it is way better than using the command line tool.
  • XAMPP – Apache, MySQL, PHP and Perl preconfigured in one easy to install package. If you do web development, there is no way around this.
  • Cyberduck – A great FTP/SFTP client. Easy to use and open source.
  • iShowU – A great tool for recording screencasts. I prefer recording a screencast instead of writing long turorials. This tool is easy to use and produces great results.
  • NeoOffice – This is the native OSX port of open office. I guess I will transition to iWork once the Numbers application is really stable, but in the meantime NeoOffice is working really great.
  • Gimp - A powerful graphics application. It hase more functions and filters than an amateur will ever need.
  • WhatSize – A really small but handy utility to find out which folders on your hard drive contains the largest files. Can be very useful when cleaning up your hard drive.

Well, I guess that’s basically it. I will keep you updated when I find great new tools.



Apple introduces new iMac

7 08 2007

new-imac.jpgEveryone has been expecting the iMac upgrade for the last couple of months and today was the day that the upgrade finally was presented at the summer Mac product press conference.

The design of the new iMac is really breathtaking. It got considerably thinner than the white model and the aluminum material marks it clearly as a model targeted at the pro market.

The internal upgrades feature a faster processor, more RAM and a bigger hard disk. But the important part for becoming an all purpose computer for work and gaming is the graphics card and I feel that Apple did not completely make their homework. The entry-level model for 1200,- EUR will come with a Radeon HD 2400 XT which is an absolutely low end graphics card that you can buy for around 60,- EUR. I mean come on Apple, you build a really great system except this graphics card which is really a bummer considering the overall price tag.

Let’s take a look at the 20″ iMac for 1500,- EUR. It will come with Intel Core2Duo 2.4GHz, 1GB RAM, 320GB harddrive and the Radeon HD 2600 Pro. Ok, this card is about twice as fast as the 2400XT and a little bit faster than the Radeon 1600 which you find in the current iMac. But when you buy this card for your PC you will find that it is still targeted towards the lower mid end market with a price tag of around 100,- EUR.

In my opinion this is really a bummer and I was definitely expecting a little bit more, let’s say something in the area of a Radeon 1950 Pro. Especially since ID software committed themselves to deliver their new titles in parallel for PCs and Mac. But hey, maybe Apple did some great things with their drivers and these cards will perform better than expected, so let’s wait for the first true reviews.