dfbills.com blog

How to avoid sending Apple-Tab in Apple Remote Desktop

In Snow Leopard, Apple modified the behavior of Remote Desktop and Screen Sharing to send system level commands to a remote computer by default.  This change has made working with remote computers much more difficult for me. 

At long last “MacNoggin” has posted the solution over on MacOSXHints.

Quit Remote Desktop or Screen Sharing, then open Terminal and paste the following codes to toggle these hidden preferences:

defaults write com.apple.RemoteDesktop DoNotSendSystemKeys -bool YES

defaults write com.apple.ScreenSharing DoNotSendSystemKeys -bool YES

If you would like to reverse, re-enter the code, but change YES to NO at the very end.  And of course, you can always send these “System” commands while in fullscreen mode.

comment on this | posted in: Mac News Tips Unix

ODBC Administrator in MacOS 10.6

Apple has ever so helpfully removed ODBC Administrator from MacOS 10.6’s Utilities folder.  The software is now a standalone download from Apple’s website-

http://support.apple.com/downloads/ODBC_Administrator_Tool_for_Mac_OS_X

From Apple:  The ODBC Administrator Tool for Mac OS X enables database administration of ODBC-compliant data sources.  Features include connection pooling, trace log creation, and ODBC driver management, among other administration features.

comment on this | posted in: Mac News Tips Webdev

How to get Chat Transcript Manager working in Leopard/Snow Leopard

imageSeveral years ago, I settled on Chat Transcript Manager from Unsanity to archive and search through my extensive iChat log files.  I conduct extensive meetings and have fully integrated IM into my workflow and Chat Transcript Manager was really well designed and easy to use.

Unfortunately, the tool was broken when Apple changed the format directory structure for the iChat log files in Leopard.  It doesn’t see the new logs in which are in subdirectories.  Unsanity hasn’t updated the software since the end of 2006, but luckily the fix is simply to flatten the logging directory structure.

The chats are stored here: 

~/Documents/iChats/

I suggest coping the logs rather than just simply moving just in case something blows up.  Don’t for get to set an actual path to your_destination.

find . -name ‘*.ichat’ | xargs -i cp {} /your_destination

After flattening, Chat Transcript Manager has no trouble indexing the files and I was able to pinpoint the conversations I wanted.

(4) comments | posted in: Mac News Tips Troubleshooting Unix

Register the Transmit Sync Client in MobileMe

Somehow I lost the ability to sync my Transmit bookmarks via MobileMe.  Not a big deal but as passwords began to change, I was getting frustrated that my bookmarks were breaking. 

The fix is quite simple:

~/Library/Application\ Support/Transmit/TransmitSync.app/Contents/MacOS/TransmitSync—registerClient

This will register the Transmit Sync Client in MobileMe and you should see it immediately appear in the Sync tab of the MobileMe preference pane.

comment on this | posted in: Mac News Tips Troubleshooting

Fixing Fiery print drivers under 10.6

If you’re having trouble printing under 10.6 to Fiery-powered printers:

Go to http://www.efi.com and download the “Fiery Print Driver update for OS X v10.6”

It’s located on the website in Support/Downloads/EFI Software.

This corrects issues with drivers already installed on your previous 10.5 system.

comment on this | posted in: Mac News Tips Troubleshooting

Re-enable the Locate database in Snow Leopard

Here’s how to re-enable the Locate database in Snow Leopard (MacOS 10.6).  Once this LaunchDaemon is loaded, locate services will continue to work- no need to reload.


sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist

update: Here’s the error I was getting prior to re-enabling: (so that search engines can find the tip)

WARNING: The locate database (/var/db/locate.database) does not exist.

comment on this | posted in: Mac News Tips Unix

Count files in a directory under UNIX

Note to self:

A few ways to count files in a directory under UNIX:

ls | wc -l

For recursive:

find . -print | wc -l

Using filename matching:

find . -name \*.jpg -print | wc -l

comment on this | posted in: News Tips Unix

Fixing the Photoshop CS4 “One or more files in the Adobe Application…” Error (updated)

For some reason this error has crept up on several of my machines recently when starting Adobe Photoshop CS 4 on the Mac:

“One or more files in the Adobe Application Support folder, necessary for running Photoshop, are missing. Please run the Photoshop installer and re-install Photoshop.”

Surprisingly, the solution was both quite simple and posted on Adobe’s website:

Solution 1: Copy the Adobe Unit Types file to Library/ScriptingAdditions.

Copy the Adobe Unit Types file in the Previous System folder to /Library/ScriptingAdditions.

Solution 2: Create a new ScriptingAdditions folder, and then reinstall Photoshop.

Create a new folder in /Library and name it ScriptingAdditions.
Remove and reinstall Photoshop.

Solution 3: Make sure there is not a space in the ScriptingAdditions folder name.

On two of my Snow Leopard machines, the ScriptingAdditions folder was missing.  I restored from another computer and the error was gone.  On my third machine, the file and folder were there, but the Adobe Unit Types file was created in 2005.  After replacing with a more recent copy, I was back in business.

Update 02.03.10: Adobe has posted a new 64bit clean version of Adobe Unit Types.osax (version 2.1.0) in a TechNote titled “Error about unit type conversion occurs when running an AppleScript in Photoshop (Mac OS X 10.6).”  This updated version works great for me on 10.6.2.

(3) comments | posted in: Mac News Tips Troubleshooting

Amazingly nerdy and helpful Snow Leopard Tip

In Snow Leopard (MacOS 10.6), you can toggle the viewing of invisible files by pressing Command-Shift-. (period) in any Open or Save dialog box.  This is great for editing configuration files!  (Files beginning with a . are normally invisible)

(via MacOSXhints)

comment on this | posted in: Mac News Tips

Using the new iTunes Media Organization (updated)

iTunes 9 introduces a new iTunes Media Organization option.  Previously, the iTunes folder is organized like:

  • iTunes
    • Mobile Applications
    • iTunes Music
      • Movies
      • Podcasts
      • Ringtones
      • TV Shows
    • iPod Games

The new organization scheme puts all content into folders related to the content within the iTunes Media Folder:

  • iTunes
    • iTunes Media
      • Audiobooks
      • Automatically Added to iTunes
      • iPod Games
      • Mobile Applications
      • Movies
      • Music
      • Podcasts
      • Ringtones
      • TV Shows
      • Voice Memos

I decided to upgrade my organization by choosing File > Library > Organize Library.  The process appeared to go very well with only 12 old artist folders remaining in in my iTunes Media folder. 

After examining these remainders, I found that some contained orphaned music files, some had jpg files and some were just plain empty.  I dragged the music files to iTunes (which immediately moved them on the new organization scheme), deleted the images and the remaining empty folders.

Then came the shocker, my next Time Machine backup wanted 400GB+ to complete.  I let it backup, but I’m planning on going back and deleting my old iTunes Music folder in the backups once I’m satisfied that there are no orphaned files.

A quick check using “List MIAs,” tells me I’m clean, but experience says I should wait a few weeks.


Update: Apple has posted a support article titled: “iTunes 9: Understanding iTunes Media Organization

comment on this | posted in: Mac Music News Tips Troubleshooting
 <  1 2 3 4 >  Last »