Archive for ‘OSX’ Category
Posted on 21:56, November 10th, 2009 by Many Ayromlou
I’ve been using Synergy for about 3 years now and never really thought about writing about it. Tonight I came across Synergy+ which is a maintenance fork of the original Synergy. So I thought about writing a small note about it since it’s now maintained again.
Synergy+ (synergy-plus) lets you easily share a single mouse and keyboard between multiple computers with different operating systems, without special hardware. All you need is a LAN connection. It’s intended for users with multiple computers, where each system uses its own display. It’s a little like having a 2nd or a 3rd desktop. It’s not a KVM or VNC tool, but it does achieve similar results (but with added convenience). No need to press any buttons when you want to change desktops, and your keyboard input goes to the same screen that your mouse cursor is on.
So head over to Synergy+’s home over at Google Code and grab your copy. Synergy+ is free open source software.
Posted on 14:27, June 27th, 2009 by Many Ayromlou
I’ve had this problem ever since Safari 4.0 came out a little while ago. The symptoms are simple, when you close a Safari window it crashes. I reported it the first couple of times to Apple using crash reporter, then I started to look around for a solution, but to no avail. I gave up for a while and used firefox again. Today I got fed up with this and started to debug the issue from command line and finally found the problem.
A little while back I had purchased a QNAP NAS device, which I absolutely love. At the time I was impressed by the fact that it supported both XP and OSX. There is a piece of software you install on your machine called QGET which allows you to pass all sorts of downloading commands to the NAS (so it can download things in the background). This program has a Safari plugin that turned out to be the culprit. The QGET program is actually fine and by itself doesn’t cause any issues. All you need to do is delete QGET plugin folder from /Library/InputManagers and restart your machine…….No more crashes…..yeaaaaa :-)
Posted on 12:39, June 11th, 2009 by Many Ayromlou
This problem has been around (I think) ever since the introduction of POSIX permissions. In pre-10.5 versions you could sorta do something like this by changing the default umask on the system, but that was system wide and applied to all folders/files a user created on the entire filesystem…..not nice. The real question is how do you create a directory that is totally public without mucking around with system/user wide settings. A folder that anyone on the system in question can read/write/modify/delete anything anyone else has put in there. A true shared directory with share permission inheritence. We call it “pub” directory at my place of work.
The old trick in OSX (in case someone is interested) was to write a small script that you ran via cron every 5-10 minutes that would “chmod” all the entries in a folder to be open to a specific POSIX group….something like the script below:
Well those were the old days and now with the help of ACL’s we can do this a lot nicer/cleaner. The procedure below is for OSX 10.5+ (it should also work on 10.4, although I haven’t tried it).
You now have a true public folder where all members of the group public can read, write and delete files, as well as read, write to and create new sub folders. The ACL rule takes precedence over standard UNIX file permissions and is automatically inherited. It’s this automatic inheritance that is really important.
IMPORTANT: You must copy (hold down Option in Finder prior to dragging), and not merely move, items. This is particularly important with bundles, such as the Aperture library bundle for example. Moving items doesn’t inherit/change the permissions/ACL’s. Copying ensures that the files are actually created in the shared folder, thereby forcing the ACL rules to be inherited. If you have moved files into this directory and the permissions are a bit messed up you can quickly fix that by issuing the following recursive command which will set the ACL’s and POSIX permissions to the “right” ones so that everyone can do anything in that directory:
Posted on 11:34, June 11th, 2009 by Many Ayromlou
I ran into this problem a little while back and thought I should document it. It’s kinda similar to the “How to get Admin rights in OSX Leopard using single user mode…” document from earlier this year. Here is the procedure:
Nice and squeaky clean…..
Posted on 20:41, May 23rd, 2009 by Many Ayromlou
This is something that people who deal with OSX and Linux come across everyday. Yes you can format your USB stick or removable HD using FAT32. The problem is that FAT32 does not support large sized files which can cause problems. So how do you solve this…..Easy. Attach the Journalized HFS+ disk to your MAC and startup disk utility. Inside disk utility find the disk in question and click on the partition(s) while holding down the “ALT” key. Keep holding the key down and go to the File menu and choose “Disable Journaling” (command-J). Eject the disk, move it over to your linux machine and hook it up. Linux can now read and write to the disk. Once you’re done, move the disk back to the apple machine and after selecting it in disk utility click on “Enable Journaling” button. Done.
Posted on 18:08, May 20th, 2009 by Many Ayromlou
Yep, It works I just transfered all my calendar appointments from local iCal calendar to Google calendar in one easy step. First you need to go into iCal and export your current calendar. If you’re starting fresh with google calendar you don’t need to do this.
To set up CalDAV support for Google Calendar in Apple’s iCal, follow these steps:
Under the Delegation tab, select the calendars you’d like to add to iCal by checking the boxes next to them. You may need to hit refresh to get the latest list of calendars.
Add your email address to your Address Book card by selecting Add Email. You’ll be prompted to add your email address only if your address is not already in your Address Book. You won’t be able to invite or email guests to Google Calendar events within iCal if your address is not in your Address Book.
Your Google Calendar will now appear in iCal’s list of calendars, and changes you make to your Google Calendar in iCal will be reflected when you sign in to Google Calendar.
If you had previously exported existing iCal events from your local (or other remote) machine, you can now select Import from File menu and choose the file and tell iCal to import it into your google calendar (your google calendar will appear as your full registered name in the import destination list).
Posted on 15:52, May 20th, 2009 by Many Ayromlou
I came across this problem this morning, while writing the newly downloaded moblin USB image file. The concept is straight forward, plugin a 1GB+ USB stick into a functioning Linux or Windows box, make sure the stick is not mounted and use dd to write the disk image to the stick. Under OSX however the instructions for unmounting are slightly different, so here are the quick steps:
That should do it…..
Posted on 13:59, May 6th, 2009 by Many Ayromlou
One of the first things you hear a new mac/osx user complain about is the odd way the green “zoom” button works on the upper left hand of windows on Macs. The button behaves differently depending on the app – Finder and Safari sizes to best fit, iTunes’ zoom button switches between the mini player and the normal window, Mail goes full screen. Often times, the behavior differs from one app to another and many Mac users find this behavior inconsistent, unpredictable and disorienting to use.
RightZoom provides a quick and easy solution for the zoom button’s inconsistent behavior. It enables you to make the zoom button maximize the window to full screen when you click the green orb.
By default, RightZoom makes a number of apps blow full screen when hitting the green orb. You can add or remove specific apps if you wish on this white list. But upon a fresh install, here is the list of apps that work with RightZoom :
Posted on 22:16, March 2nd, 2009 by Many Ayromlou
Just came across tms , what a great tool. It a command line tool for OSX 10.5+ that allows basic CVS style operations on your Time Machine volumes and It does its thing in read-only mode, so nothing gets changed/deleted…..woohooo. Here is the stuff you can do with it:
Go grab your copy NOW.
Posted on 23:11, February 18th, 2009 by Many Ayromlou
Here is a quick way to gain access to that leopard machine you don’t remember the admin password to. Yes I know this can be used by all the kiddies out there, but lets hope they are smarter than that. To start, reboot the machine into single user mode by holding down command-s before the chime (on the white screen with gray apple logo). Once in single user mode you need to mount the HD in read-write mode using the following commands: