Category Archives: Mac

Mac: Edit Sidebar Items in Finder

Recently I put a CD in my drive but it didn’t show up in my sidebar in the finder. I was confused. I remembered editing the items there before, but couldn’t remember how I did it. I know how to add items to the finder’s sidebar – you find the folder or file you want and drag it in there – you can even rearrange things that way: But that didn’t give me this – which is the window I remembered using to edit Mac OSX’s sidebar items (screenshot from Mac OS X Lion but it is very similar in Snow Leopard): After a little searching and trial and error I remembered that I could do this by using the finder’s menu bar » Preferences: Problem solved!

Posted in Mac, Software, Tech Tips | Tagged | Leave a comment

What is the SIPS equivalent in Linux / Unix?

If you’re used to the OSX sips utility to convert and resize images, you might be surprised when you are on a linux box and realize that utility is not available. According to the OS X man page, SIPS is: sips — scriptable image processing system. On unix and linux there are some great alternatives, but the one I like to use is imagemagick ( http://www.imagemagick.org/script/index.php ) According to their site: Use ImageMagick to convert, edit, or compose bitmap images in a variety of formats. In addition, resize, rotate, shear, distort or transform images automagically. How to Geek has a good blog post showing how to use the convert utility to change image sizes easily: The syntax is something like this: convert example.png -resize 200×100 example.png

Posted in Linux, Mac, Tech Tips | Tagged | Leave a comment

Connect to a Shared Folder with VirtualBox and Windows XP

Connecting to a Shared Folder with VirtualBox and Windows XP is easy. In the following example Windows XP (TinyXP) is being used to connect to VirtualBox on Mac OS X Mountain Lion. On your list of VirtualBox machines choose the windows XP machine you want to share a folder with and then click “Settings” Choose the “Shared Folders” tab and then select the path on your host computer that you want to share with the Virtual Machine Select the options “Auto mount” and “Make permanent” if you would like this connection to persist If your Windows XP virtual machine is running you may need to restart it Open “My Computer” and from the “Tools” menu choose “Map Network Drive” When the “Map Network Drive” dialog box opens click on “Browse” Choose “Virtualbox Shared Folders” and then “\VBOXSVR” and then the name of your shared folder – (VBOXSVR is how virtualbox refers your host machine – opposed to Remote Desktop / Terminal services which refers to it as \tsclient / tsclient ) Click OK and now you should have your new drive appearing in “My Computer”

Posted in Linux, Mac, Tech Tips | Tagged , , , | Leave a comment

Sublime Text: Disable Auto Complete on Return / Enter key

Recently I’ve been trying to switch from TextMate to SublimeText. For the most part it is an easy transition, but there are a few things that cause me hangups. One of them is how the autocomplete works. In Text Mate, you can use enter / return to get a new line after typing something like a CSS or LESS rule. In SublimeText, if your CSS, LESS, SASS rule matches an auto complete snippet, pressing enter (or return) will cause that to be autocompleted. Fortunately you can edit your Preferences.sublime-settings file and add the following rule to keep autocomplete on but disable enter / return from autocompleting: “auto_complete_commit_on_tab” : false

Posted in Mac, Software, Tech Tips | Tagged , | Leave a comment

Lingon Startup Folder Locations

My Agents ~/Library/LaunchAgents Users Daemons ~/Library/LaunchAgents /Users/*/Library/LaunchAgents (for all users) Users Agents ~/Library/LaunchAgents /Users/*/Library/LaunchAgents (for all users) System Agents /System/Library/LaunchAgents System Daemons /Library/LaunchDaemons

Posted in Mac, Tech Tips | Tagged , , | Leave a comment

LimeChat Tutorial

Step 1: Download and install Limechat If you don’t already have LimeChat installed, you can download it from the App Store or visit the LimeChat website to download and install the software Step 2: Create new server connection When you open LimeChat the first time it starts a connection wizard. You can skip it and add a new connection from Server / Add Server… menu in the OS X status bar. Enter the following settings: Step 3: Add a Channel Channels are like chat rooms if you are used to AOL or Instant Message clients. You can add a channel using the menu bar -> Channel -> Add Channel Enter the information about the Channel you would like to add – really the only thing required is the channel name. Don’t enter a hash (#) sign before the Channel name. Step 4: Connect Connect to a the server, then connect to a channel. LimeChat should be able to connect and join channels automatically. If you’re not connected, right click on the server name and select Connect or select Server / Connect from the OS X status bar. To join a channel manually, got to the Channels / Add Channel… menu in the OS X status bar. Available channels are listed on your dashboard. Step 5: Start chatting Now that you’ve connected you can start chatting! You can add multiple servers and channels and they will show up in the bottom right. Right click them for more options.

Posted in Mac, Software, Tech Tips | Tagged , , | Leave a comment

How to add a POI set (ov2 file) to TomTom GPS

This is how to add a new custom POI (Points of Interest) set, which you may have generated with one of these tools (these can help you create and manage POI sets) POI Editor Software for Mac OS X and Windows TYRE – use Google Earth to create POIs and itineraries with this tool. – http://www.janboersma.nl/gett/index.php POI Editor – POI Editor lets you create, view, edit and convert POI files. – http://www.poieditor.com/ PoiEdit – Save, load, convert and edit POI files with this free application – http://www.poiedit.com/ Globe Assistant – A one stop shop for applications running on Google Earth, maps, geo-coding, on-the-fly TomTom POI creation,  ‘Add to TomTom’buttons. – http://www.globeassistant.nl/ POIView for Mac OS X – PoiView is a application for editing TomTom Ov2 points of interest files. – http://www.samposoft.com/software/poiview.aspx Installation of ov2 POI Sets onto Tom Tom GPS Devices Here is how to put the new POI sets (ov2 files) onto your TomTom: Connect your device to your computer. Open Windows Explorer and your TomTom device will appear listed as a new drive letter, for example, G:. (Mac OS X Finder -> drive labeled “Internal” (most likely)) Drag and drop your ov2 file along with any bmp and ogg files into your map folder. This may be called, for example, “United_Kingdom_and_Republic_of_Ireland” or “United States and Canada” or  depending on which map you have installed. Safely disconnect your device from the computer (eject or safe hardware removal, etc.) You can then use your device to view your new POI set and navigate to locations within it. More info can be … Continue reading

Posted in Mac, Software, Tech Tips | Tagged , , , | Leave a comment

Quicksilver Crash Reports Location

When Quicksilver crashes it gives some message like: In order to help improve Quicksilver, please consider sending a crash report to the developers. Quicksilver will restart when this window closes. To troubleshoot your problem, see the FAQ or alternatively report your issue on the issue tracker. But when Quicksilver crashes it actually also provides a log of the crash. Per the source code file, QSPaths.h, you can see the path to the crash logs is set to: ~/Library/Logs/DiagnosticReports Below is the other default Quicksilver paths for error reporting, etc.: #define pTriggerSettings QSApplicationSupportSubPath(@”Triggers.plist”, NO) #define pCatalogSettings QSApplicationSupportSubPath(@”Catalog.plist”, NO) #define pCatalogPresetsDebugLocation QSApplicationSupportSubPath(@”Presets.plist”, NO) #define pMnemonicStorage QSApplicationSupportSubPath(@”Mnemonics.plist”, NO) #define pCacheLocation QSApplicationSupportSubPath(@”Caches/”, NO) #define pIndexLocation [@”~/Library/Caches/Quicksilver/Indexes/” stringByStandardizingPath] #define pStateLocation [@”~/Library/Caches/Quicksilver/QuicksilverState.plist” stringByStandardizingPath] #define pCrashReporterFolder [@”~/Library/Logs/DiagnosticReports” stringByStandardizingPath] #define pShelfLocation QSApplicationSupportSubPath(@”Shelves/”, NO) #define psMainPlugInsLocation QSApplicationSupportSubPath(@”PlugIns/”, NO) #define psMainPlugInsToInstallLocation QSApplicationSupportSubPath(@”PlugIns/Incoming/”, NO) #define kCheckUpdateURL @”http://qs0.qsapp.com/plugins/check.php” #define kDownloadUpdateURL @”http://qs0.qsapp.com/plugins/download.php” #define kPluginInfoURL @”http://qs0.qsapp.com/plugins/info.php” #define kPluginDownloadURL @”http://qs0.qsapp.com/plugins/download.php” #define kForumsURL @”http://groups.google.com/group/blacktree-quicksilver” #define kBugsURL @”https://github.com/quicksilver/Quicksilver/issues” #define kWebSiteURL @”http://qsapp.com/” #define kHelpURL @”http://qsapp.com/wiki/” #define kHelpSearchURL @”http://qsapp.com/w/index.php?title = Special:Search&search=%@&go=Go” // URL to crash reporter server/script #define kCrashReporterURL @”http://qs0.qsapp.com/crashreports/reporter.php” // Wiki page detailing why we collect crash reports #define kCrashReportsWikiURL @”http://qsapp.com/wiki/Crash_Reports”

Posted in Mac, Software, Tech Tips | Tagged , , | Leave a comment

MoreInternet Preference Pane

MoreInternet Preference Pane is an application / preference pane that allows you to set up custom protocol / schema handlers in Mac OS X. The MoreInternet Preference Pane modifies the settings inside this file: ~/Library/Preferences/com.apple.launchServices.plist This is a screenshot of what it looks like: It was previously available at monkeyfood.com, but since it is no longer available there you can download MoreInternet Preference Pane at this link: http://download.cnet.com/More-Internet/3000-2094_4-10559064.html

Posted in Mac, Software, Tech Tips | Tagged , , | Leave a comment

How can I use defaults write with a multi-line value? [solved]

I’m trying to use defaults write com.myprogram.plist “dataName” “dataValue” It works fine, but I have a long string that I need to set as the value: TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNl Y3RldHVyIGFkaXBpc2NpbmcgZWxpdC4gTWFlY2VuYXMg dGluY2lkdW50LCBkaWFtIHNlZCBtb2xlc3RpZSBsYW9y ZWV0LA== How can I do this from the command line? Do I use an escape character like “\n” or can I just read a value from a file directly with defaults write ? Solution / Answer Use /usr/libexec/PlistBuddy instead, its Import <entry> <file> should do exactly what you want. In defaults, you could try to hex-encode your data and use the -data argument as type.

Posted in Mac, Tech Tips | Tagged | Leave a comment