Posts Tagged ‘howto’

Open brief aan Wann.es

Lieve Wann.es,

Uiteraard begrijp ik je wantrouwen ten opzichte van het nieuwe systeem, beter bekend onder de naam Mac OS X. Veranderen, zeker naar iets dat zoveel vernieuwender en zoveel meer vooruitstrevend is dan het oude vertrouwde systeem dat we al die jaren gewoon zijn, is niet altijd even gemakkelijk.

Sta me toe om je een hand te reiken en je een beetje wegwijs te maken in de onbekende wereld van de Mac. Ik ga je voorbeelden beantwoorden en je zal zien, het grootste deel van je frustratie ligt in “gewoonte” en “kennis”.

  1. Een bepaalde extensie toewijzen aan een applicatie. Rechterklik (of ctrl-klik wanneer je nog een 1-knopsmuis hebt) op een bestand en kies voor “Get Info”. Ik heb mijn Mac ingesteld in het Engels, maar dat kon even goed het Nederlands zijn of het Katalaans, want zoals je weet, Mac OS X is out-of-the-box multilingual. Je krijgt het onderstaande scherm (die ik trouwens ook heb genomen met de out-of-the-box screenshot functionaliteit). Ik heb de verschillende opties dichtgeklapt om enkel de informatie over te houden die hier van belang is.
    Selecteer een andere applicatie onder “Open with:” en klik vervolgens op de knop “Change all…” die eronder staat. Je zal zien dat vanaf dan alle bestanden van dat type (niet van die extensie want Mac OS X herkent de feitelijke bestandstypes, ongeacht welke extensie ze hebben) zullen openen met het gekozen programma.
    Assign other application to a file type
  2. Numeriek toetsenbord heeft een komma ipv een punt. Helaas zal ik hier ook op moeten antwoorden “ja dat gebruik ik niet”. Ik werk op een laptop die bovendien een querty klavier heeft. Brengt me meteen bij een tegenargument: Bij Windows heb je de keuze tussen de layouts “US” en “US International”. Bij de eerste layout kun je geen deeltekens’s, tildes, hoedjes, accentjes… leggen op de gewenste letters, dus moet je de tweede nemen. Alleen is dit zeer frustrerend bij het programmeren omdat de " pas verschijnt na tweemaal duwen. (De eerste keer is om het deelteken in ë te kunnen maken). Bij dit probleem kan ik je niet out of the box verder helpen, want ik heb geen ervaring met wat “Belgisch” layout doet bij een klavier met nummeriek toetsenbord. Ukelele (mij ook onbekend) kan je inderdaad mogelijk verder helpen.
  3. iCal doet inderdaad niet mee aan het schrijven via andere applicaties naar Google Calendar. iCal heeft daar geen andere applicaties voor nodig: die kan dat zelf. iSync kun je gebruiken om je adresboek te synchroniseren met die van GMail.
  4. Sneltoetsen door vensters bladeren, dat kan op vele verschillende manieren. In de eerste plaats is er Exposé. De defaults zijn in de loop van de tijd veranderd, dus je moet even kijken hoe de instelling op jouw systeem zijn. Hiermee kun je een overzicht van alle vensters (alle openstaande of enkel die van een bepaalde applicatie) bekijken.
    Als ik me niet vergis ben je echter op zoek naar de shortcut voor windows-tab. Wel, probeer cmd-tab eens? Er bestaat een overzicht van alle default keyboard shortcuts (waaronder enkele waarbij je inderdaad minstens 2 personen nodig hebt om ze in te duwen) maar ook hier geldt: pas ze aan hoe je zelf wil!
  5. Home en End bestaan inderdaad niet. Cmd+pijltje is the way to do it. Ze staan 10cm uit elkaar, akkoord, maar is het zo’n grote moeite om met je linkerduim (!) de cmd-toets in te duwen en de rechterwijsvinger op een pijltje te duwen? Akkoord, in sommige programma’s (ik denk aan Dreamweaver, ik denk aan applicaties die ports uit een windows omgeving zijn) moet je eerder Fn+pijltje duwen. Hier bestaat hier en daar inconsistentie maar dan is nog maar de vraag: ligt dat aan het OS of ligt het aan de applicatie. Op het werk gebruiken we FirstClass als e-mail client en de normale toetsencombinaties (tot zelfs ctrl+backspace of ctrl+b) werken niet zoals je zou verwachten.

Het is een feit dat je moet wennen. Het is een feit dat je je te complex denkpatroon moet laten varen en terug logisch intuïtief moet leren nadenken. Toegegeven, het is vooral wennen maar na een tijdje zul je merken dat je met een Mac (met keyboard shortcuts!) veel sneller kunt werken dan met het Windows systeem. Akkoord, ik voel me bijna even goed onder een Ubuntu systeem op een PC als op mijn Mac. Op een Mac kan ik echter alles doen wat ik ook op mijn Ubuntu systeem kan (met uitzondering dan van het hercompileren van de kernel) maar met mijn Ubuntu systeem kan ik niet meteen alles wat ik met mijn Mac kan realiseren.

Het is een kwestie van gewoonte. En van kennis. En openstaan voor. Maar dat geldt voor alles. Je moet niet aan iets nieuw beginnen wanneer je per definitie tegen bent. Hoe goed die nieuwigheid ook mag zijn, je zal altijd het negatieve blijven zien. Want oh ja, er zijn ook negatieve punten aan een Mac. Ik denk bijvoorbeeld aan het verplaatsen van een folder of een bestand. Kopieren kun je. Drag en Drop kun je. Maar knippen-en-plakken mag je vergeten.

Hopelijk ben ik je van dienst kunnen zijn.
Met vriendelijke groeten…

Modify Lightroom Build-in templates

When I upload images to bermione.be (and thus not uploading them to Picasaweb), I’m using the Lightroom build-in Flash template, since that is exactly what I was looking for. Not too fancy, but not too simple either. Only minor is that I had to add my Google Analytics code every time to the generated html page. But I always forget to add it before uploading and I notice that only a day later, when the gallery was visited already and thus I loose some analytics.

Yesterday, once again, I generated a new gallery, uploaded it to the server but forgot to add the Google Analytics script. And that I noticed today so I opened the html to add the script and… was surprised the script was already there!
Then I remembered, I was once searching for a way to modify this template in order to have this Google Analytics script automatically added: I wanted to change the build-in template and insert the script so that it would be there every time I generate a new gallery.
I know I did a long research for it and finally found how to do this. But that’s a long time ago.

At this point, I started a search on the Internet to find out which file I once edited but… I couldn’t find it anymore. So I started a search locally and finally found the template.

On a Mac, the default flash template, which includes the html you have to change, is located inside the Adobe Lightroom.app. The file /Applications/Adobe Lightroom.app/
Contents/PlugIns/Web.agmodule/
Contents/Resources/galleries/default_flash.lrwebengine/index.html
is the one you want to change.

To find this file using the Finder:

  • Go to /Applications, select Adobe Lightroom.app and Action > Show Package Contents
  • Browse to Contents/PlugIns/ Select Web.agmodule and Action >Show Package Contents
  • Browse to Contents/Resources/galleries/, select default_flash_lrwebengine and Action >Show Package Contents
  • There you can see different files and folders, one amongst them is index.html and that is the file you want to change.

Open this with any text editor (but be aware that as of Leopard, TextEdit.app opens HTML in a WYSIWYG mode! I prefer Dashcode, but then you must have installed the optional Developer part of Mac OS X) and add the Google Analytics script at the bottom of the file (as described online). Save the file and generate your gallery. You’ll see that the Google Analytics code is right there!

Other templates are right there, in the Web.agmodule/Contents/Resources/galleries

NTFS on Mac OS X Leopard

Not only Shahn has troubles installing NTFS-3G on Leopard, I have had serious troubles too after installing, uninstalling, reinstalling and overinstalling this driver, several tries to get it working. I had an issue with the newer version I installed after my upgrade to Leopard: every time I tried to copy a file to the NTFS disk using Finder, I got the error “filename too long” bashing over me even when I tried to copy “test.txt” to the root.

I even tried my own tutorial to install NTFS-3G using older versions of the applications/drivers but that was the point where the serious troubles began. That version is clearly not compliant with Leopard. Where previously the disk was mounted automatically in read/write mode when connected, it was now mounted with the default Mac OS X read-only driver. The only way to mount the disk read-write, was to remount it using the commandline. While I still got the “filename too long” error in Finder, I managed to copy files to the disk using cp in the Terminal.

Updated version
It is only today that I noticed both NTFS-3G and MacFUSE have had an update only recently, so I started downloading instantly. First thing to do was to uninstall the NTFS-3G driver (using the uninstall command that was provided in the disk image). Sadly, there’s no such uninstall script for MacFUSE and I haven’t found a way yet to uninstall software that doesn’t place it’s files in the Applications folder and thus can’t be removed by just trashing the files. MacFUSE has to stay where it is. After installing both updated versions, the disk is not mounted as Network Drive (which was previously done). I opened the drive while thinking the update didn’t solve my issue, but then I noticed Finder wasn’t in read-only mode! I tried to copy files and directories and indeed, it works again. Removing files however won’t trash them first, they’ll be erased immediately which is rather strange, since the .Trashes folder has been created. The option to format a disk as NTFS is also back.


Steps performed

  • Unmount any connected NTFS disks and fysically disconnect them
  • Uninstall NTFS-3G if possible
  • Install MacFUSE 1.1.1
  • Reboot the Mac
  • Install NTFS-3G 1.1104 (.dmg or .pkg)
  • Reboot the Mac
  • Enjoy the NTFS file system.

The last step is optional. I prefer more decent file systems like HFS+ or Ext3 in combination with their appropriate operating systems of course…

Return top