Feed on Posts or Comments

Category ArchiveMacOS




MacOS & Personal Daantje on 05 Oct 2008

Screenshot howto on MacOS X

Just here because I keep forgetting how to get the whole window… Stupid me ;)

  • Command-Shift-3:
    Take a screenshot of the screen, and save it as a file on the desktop
  • Command-Shift-4, then select an area:
    Take a screenshot of an area and save it as a file on the desktop
  • Command-Shift-4, then space, then click a window:
    Take a screenshot of a window and save it as a file on the desktop
  • Command-Control-Shift-3:
    Take a screenshot of the screen, and save it to the clipboard
  • Command-Control-Shift-4, then select an area:
    Take a screenshot of an area and save it to the clipboard
  • Command-Control-Shift-4, then space, then click a window:
    Take a screenshot of a window and save it to the clipboard

LDAP & Debian & Linux & MacOS Daantje on 05 Oct 2008

Use a Debian Slapd to sync MacOS X Address book

I’ve attempted this a lot of times. Now it works (sort of, but it still needs some tweaking). What you’ll need is a Debian server running a slapd daemon. You can get this with apt-get, of course… It could be handy to have the utils too and I use the GPL-ed handy web based ldap management tool phpldapadmin. I like it, it’s small and easy to work with… So the apt-get command should be like;

apt-get install slapd ldap-utils phpldapadmin

Now after you’ve configured your slapd and phpldapadmin you should be able to login into your ldap server. I used phpldapadmin for that. Remember that you’ll have to use the DN you’ve configured earlier. It look something like ‘cn=admin,dc=subdomain,dc=domain,dc=com’. Yes it’s the complete string, not only ‘admin’!

Now go to addressbookserver.com and download the latest version of ABxLDAP (AddressBook X LDAP), I’ve used for this how to ‘ABxLDAP_v1.1.16_31_May_2008.dmg’.

After you’ve installed it, check the mounted disk image. You should have a file called ‘abxldap.schema‘, it can be found in the folder ‘LDAP Schema Extension’. This file should be uploaded and placed into ‘/etc/ldap/schema’ on your Debian server. Edit your /etc/ldap/slapd.conf and add the schema with this include line;

include         /etc/ldap/schema/abxldap.schema

Now restart the ldap server…

/etc/init.d/slapd restart

Now comes the magic… You’ll have to populate the ldap directory, so ABxLDAP can sync with it… What I did was this:
I’ve made a text file called ‘populate.ldif‘. This file contains the following text:

dn: ou=addressbook,dc=subdomain,dc=domain,dc=com
objectClass: organizationalUnit
ou: addressbook

NOTE: ‘dc=subdomain,dc=domain,dc=com’ should be what ever you’ve configured slapd with in the first step!

Now use phpldapadmin to import the ‘populate.ldif‘ into your ldap directory. When you don’t have any errors, you should be able to sync with ABxLDAP for the first time.

Go to your System Preferences on your Mac and pick the ABxLDAP panel. Fill all the fields. What I use is this:

Screenshot ABxLDAP config

Remember to quit your System Preferences after you filled all fields, and start it again and hit the Sync button, or else it will not work!

That’s it, all should be working fine. Every time you edit something in your Address Book on your Mac, it should sync the whole ldap. Also when you delete or edit a record directly on your ldap, it will sync. The only thing I’ve to figure out is, how to sync periodically, so the Mac always have the latest version. Now it only syncs when something is changed in your Address Book, or when you hit the sync button in your ABxLDAP in System Preferences.

Almost forgot to mention. In case of troubleshooting set in slapd.conf loglevel to 448 instead of 0 to get debug log messages in /var/log/syslog.

So more is coming later… Now it’s time for a beer!

Internet & MacOS & Programming Daantje on 27 Jun 2008

How to make a transparent favicon.ico in Photoshop.

It’s only easy with this Adobe Photoshop plugin. It’s a free and open source plugin available for Adobe Photoshop CS2 and CS3 for MacOSX and Windows. Also it works on PaintShop Pro.
To make a transparent favicon, just design your icon (32 x 32 pixels) with a transparent background. Resize your image to 16 x 16 pixels and choose ‘Save for the web’ and save the image as a GIF, with transparency on (duh!). Now reopen the GIF file and choose ‘Save as…’ and save it as a Windows Icon (.ico) file. And your done.
For an other way to do it on MacOSX with the free app ‘Graphic Converter’, check my older post ‘how-to-make-a-faviconico-on-macos-x‘.

Debian & Windows & MacOS Daantje on 08 Jun 2008

me, debian avahi-daemon and macosx leopard

Finally, I’ve got it working… There is so many documentation on the net on how to config your avahi-daemon under Debian, so it’s working under MacOSX Leopard. But what ever I did, the server showed up in my Finder, but when I tried to connect by clicking the server icon, it didn’t work… Googled around, but never a solution. I could not connect to my Netatalk daemon. After I added a configuration so I could click the server to connect to my sFTP server in Cyberduck, (same box as the Netatalk and Avahi daemon) and it worked?!

Now I know why… What I had in my Avahi configuration for my Netatalk daemon, was in my afpd.service file a host-name definition. But in my sftp.service file no <host-name> line.
So what I did, was simply remove the line, restarted Avahi and there it was!

So my working config file: /etc/avahi/services/afpd.service

<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">%h</name>
<service>
<type>_afpovertcp._tcp</type>
<port>548</port>
</service>
</service-group>

More usefull documentation:
Netatalk 2.03 with encryption support for Debian 4.0
http://www.disgruntled-dutch.com/2007/general/howtodownload-netatalk-encryption-support-debian-4/

How to use OS X Leopard screen sharing with a Linux machine
http://www.sanityinc.com/articles/mac-screen-sharing-with-linux


Nokia & GPS & Symbian & Debian & Windows & Linux & MacOS Daantje on 27 Jan 2008

Free GPS navigation software!

Okay, after some googeling I’ve found two options for a free GPS and navigation solution. The first one is a multi-OS GPS software ‘Roadnav’ http://roadnav.sourceforge.net/ This GPL-ed software is build for Windows, Linux and Mac OS X. Also source packages are available. Maps are available and downloadable for free!
The second is for smart phones, ‘Nav4all’ http://www.nav4all.com/ I’ve tested it on my Nokia 9300i and it works like a charm. Only thing is that you’ll need a working internet connection. Trough GPRS or WiFi. I have a flat-fee GPRS account, so I have no worries. It is real fast. More info coming later. Will test the two packages now! ;)

MacOS Daantje on 21 Nov 2007

/me and Leopard MacOS X…

Okay, I’ve got Leopard on my machine now for a few weeks. I really love it! But stumbled on a few bugs and problems.

3com OfficeConnect have “Incompatible security.”
The first annoying problem is that I can not connect to one of my wifi access points. A 3com OfficeConnect 11Mbps Wireless Access Point, with firmware 1.01 and WEP encryption enabled. I always get “Incompatible security.” when I try to connect to it. I’ve got two more access points, one Thomson and one Senao, those work fine.

Time Machine Rules!
Time Machine is one of the best features in Leopard. It’s a backup app with the best interface known for backup software! Now even my grandma understands how she has to recover an old (edited, lost or deleted) file.

Problem 10.5.1 update via “Software Update”.
But after installing the last update (10.5.1) trough the “Software Update” app, my 74.5 GB Laci USB harddrive (HTS54108 0G9AT00 Media) could not be detected by the OS. And that disk I use for Time Machine! The solution is crazy but simple. Download the update from Apple.com. That update is 110Mb, a lot bigger than the update provided by the Software Update app. Maybe just because it’s universal, but the fact stays; my Laci works again ;) The 3com connection problem stayed.

Fun & Windows & MacOS Daantje on 24 Jul 2007

Cool! Steve vs Bill


Frustrations & MacOS Daantje on 16 Jun 2007

Kill MacOS X dashboard

Got it from bokko ;)

Want to get rid of the useless dashboard and lower your memory usage?
Run these commands from a terminal:

defaults write com.apple.dashboard mcx-disabled -boolean YES
killall Dock

Want to enable the dashboard again? Run this:

defaults write com.apple.dashboard mcx-disabled -boolean NO
killall Dock

Darwin & MacOS & Tech Daantje on 05 Mar 2007

Scroll with two fingers on my old PowerBook.

It became very annoying that I couldn’t scroll with using two fingers on my trackpad, like on the new ones. Now I have the right patch to do the same on the older PowerBooks! “iScroll2 ” Two-Finger-Scrolling for pre-2005 PowerBooks and iBooks. It’s a free and GPL-ed patch, based on an existing GPL-ed driver written by Apple.

iPod & MacOS & Tech & Personal Daantje on 10 Jan 2007

Apple iPhone!

Wow, I want it! Real cool! It runs MacOSX! Here the specs and some real cool animations! I think this could be the best gedget ever! And this could turn the windows users over to our OS ;) Did I mention that I want it?


Next Page »