Monday, November 24, 2008

Linkto a product on the Apple Store

Have you ever tried to send a link to someone showing them a product on the apple store?

Here's how to do it:

1. Get the product number
The way to do so is to add the product to the cart and then go to the cart. It shows you the product numbers.

2. The rest is easy:

Create a links llike this one:

or this one:

That's it.

Tuesday, November 11, 2008

Display only

We wanted to use a Mac Mini as a display only.

That means: jaut a display, no keyboard, no mouse.

Just display a web page.

No problem? Try it. The Mac Mini wants a mouse. It tells you so. Every time you boot it.
Every time the mac starts up, a dialogue appears telling you that you're an idiot because you did not connect a mouse.

OS X in that case tries to set up a mouse using using bluetooth.

So, one way to eliminate this dialogue would obviously to remove the app.
It's this one:

/System/Library/CoreServices/Bluetooth Setup

But that's not a very elegant way to do this.
Besides there is always the risk of an update putting the app back in place thus the dialog appearing again.

After having looked at the app I found a reference to ''. I googled a bit I and found a solution on this page:

Managing Bluetooth, or pesky Apple Preferences « Managing OS X

There it says:

# turn off the Bluetooth KB/mouse dialog that comes up if no KB/mouse is found
`/usr/bin/defaults write /var/root/Library/Preferences/blued BluetoothAutoSeekHIDDevices -int 0`;

# restart the Bluetooth daemon
`/usr/bin/killall -HUP blued`;

Or you might open the Bluetooth Preference Pane and uncheck “Open Bluetooth Setup Assistant at startup when no input device is present”

That will do it as well, just in case ;-)

Thursday, November 6, 2008

Folder Redirection & Microsoft Office 2008

When using the Folder Redirection of Mac OS X Server 10.5, I was having really big problems with Word from Microsoft Office 2004.
It would not save!!!
Sometimes even documents were overwritten!!
Very nasty

It seems though there is a solution to this:

I found the hint here:

It sais that:

There appears to be an issue with Office redirection if there is a folder missing at the root of your network mount on the server. The user will be able to successfully save a new document once, and after that, they will get error messages that they don't have permission to save the file to the destination. The answer to this was found on

The fault occurs unless a folder called .TemporaryItems has been created at the root level of any mounted volume containing the saved file; so if the user's home directory is contained in an AFP share called Homes, then there has to be a directory called .TemporaryItems in the Homes folder on the server. If the home directory is on another local volume called UserData, there has to be a directory called .TemporaryItems at the root of that volume.

Since .TemporaryItems is a dot file, it will not be visible in the Finder. When the application is able to create this .TemporaryItems directory, it is world writable and sticky. For improved security, as long as all users are in a common group like "staff," then the folder can be restricted to writing by the group instead.
$ cd /path/to/volume/or/sharepoint
$ sudo mkdir .TemporaryItems
$ chgrp staff .TemporaryItems
$ chmod 1770 .TemporaryItems

Thursday, September 4, 2008

Where's that sound!

I tried a few times ti find out where the sound i located that is played when the installer has successfully installed an application.

Today I finally found it.

The sound name is 'burn complete.aif'.

You can find it here: /System/Library/Components/CoreAudio.component/Contents/Resources/SystemSounds/system/burn complete.aif

I did not find this by myself.
I got the tip from here

Thursday, March 20, 2008


SirAdmin is a ver cool GUI tool to manage IMAP mailboxes.

It has one problem though.
In order to get it to work, you have to enable clear password authentication on the mail server.

Using Server Admin go to


Here you have to enable 'Clear' in the IMAP column, otherwise SirAdmin will not be able to authenticate

Tip found here.

Friday, February 29, 2008

Leopard Auto User Setup using Workgroup Manager in Advanced Server Setup

There seems to be an easier way of doing this:
In the manual User_Management_v10.5.mnl.pdf you can find a section 'Using the Preference Editor to Manage Core Services' on page 236.
Using this information it is quite easy to assign preferences in the workgroup manager.
The cool thing about this is that you may use '%@' as a variable for the login name.
This way options such as the account name for login into the mail server may be used.

If I were given the option to post a few picture I could illustrate this.
Feel free to contact me for more information...

Wednesday, January 23, 2008


Have you ever tried to set up a share point using the command line?

Why would you do this?

Well, I thought that there must be a way to copy share points after a clean install.

So, how do we find out what is being shared:

Enter this command:
sharing -l

This gives you something like this:

name: Software
path: /Volumes/Backup/Software
afp: {
name: Software
shared: 1
guest access: 0
inherit perms: 1
ftp: {
name: Software
shared: 0
guest access: 0
smb: {
name: Software
shared: 0
guest access: 0
inherit perms: 0
oplocks: 0
strict locking: 0
directory mask: 493
create mask: 420

In order to set up this share point again after a clean install one would have to enter this command:
sharing -a /Volumes/Backup/Software -g 000 -i 10 -s 100

Friday, January 18, 2008

chmod ACL removal

The command to recursively remove all ACLs from the files in the working directory and its subdirectories is:

sudo echo | sudo chmod -R -E ./*

Thursday, January 10, 2008

How to rebuild the LaunchServices database

If your "Open With" menu shows applications that are no longer installed, or shows some of them as duplicates, you can use the following Terminal command to rebuild your LaunchServices database:

/System/Library/Frameworks/ApplicationServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user