Archive for the ‘Mac OS X’ Category

The 10.7.3 update is recommended for all OS X Lion users and includes general operating system fixes that improve the stability, compatibility, and security of your Mac including fixes that:

  • Add Catalan, Croatian, Greek, Hebrew, Romanian, Slovak, Thai, and Ukrainian language support
  • Address issues when using smart cards to log into OS X
  • Resolve issues authenticating with directory services
  • Address compatibility issues with Windows file sharing

For detailed information on this update, please visit this website: http://support.apple.com/kb/HT5048.

For information on the security content of this update, please visit: http://support.apple.com/kb/HT1222.

Read Full Post »

Django is an excellent web-framework written in Python.

Here is a quick setup guide for installing Django and MySQL-python on Mac OS X Lion.

Setup Django

– Download latest Django here

– At this point I am assuming that you are familiar with the Terminal, so simply execute the following commands on your Downloads folder:

tar -xzvf Django-1.3.1.tar.gz
cd Django-1.3.1
sudo python setup.py install

Test Django installation

Type on the Terminal:

import django
print django.get_version()

Setup MySQL-python package

Download the latest MySQL (64-bit, tar archive) here

– Extract tar contents
– Rename folder to “mysql”
– Copy folder to /usr/local/
– You should now have mysql installed on /usr/local/mysql

Download the latest MySQL-python package here

Type on the Terminal:

tar -xvzf MySQL-python-1.2.3.tar.gz
cd MySQL-python-1.2.3

Edit site.cfg on your favorite text editor and change the mysql path as below: mysql_config = /usr/local/mysql/bin/mysql_config

You are now ready to build and install MySQL-python:

sudo python setup.py build
sudo python setup.py install

Edit your ~/.bash_profile, add the following line:

export DYLD_LIBRARY_PATH=/usr/local/mysql/lib/

If you are already using MAMP you still have to follow the above MySQL installation process, as MAMP by default doesn’t include the required header files to build MySQL-python.
Moreover if you prefer MAMP, you don’t have to run mysql from /usr/local/mysql.
On your settings.py remember to set “” as your preferred db host in case that “localhost” doesn’t work.

Test MySQL-python installation

Restart Terminal and type:

import MySQLdb

If you are not getting any errors at this point, then you are all good to go!
I’d suggest starting from the Django’s excellent introductory tutorial.

Read Full Post »

Finder on Mac OS X Lion by default is always showing “All My Files” on every new window. Well to be honest not even once I found it useful, never used it since the first install.

Even if you are a geeky Terminal fan,  there are always times that you start up Finder, and you need to get faster to your important files. Most of the times I am looking for something in the Documents folder/subfolders, so here is how I have set it as the default Finder directory:

Go to Finder, main menu -> Finder -> Preferences… -> General -> and select your favorite folder in “New Finder windows show” option as shown in the screenshot below.

You can also remove “All My Files” from the Finder’s sidebar as well, just right-click and remove it, or uncheck it from Preferences -> Sidebar.

Read Full Post »

I have been using Lion since the release day 1, and about 10 days later I am pretty confident that the whole OS behaves faster and smoother than Snow Leopard. However one of the main Lion new features, application resume and windows restore functionality, seems to cause some delays while opening or closing apps. I can see their icon bouncing on the dock a bit longer than it used to be.

Therefore today I decided to completely disable it, and here is how I did it:

System Preferences -> General -> Remove the check from “Restore windows when quitting and re-opening apps”.

You can immediately test it with Terminal, start Terminal cd into a directory and quit.
If the above option is disabled, the next time you start Terminal you will be in your default directory.

And here is the magic, if you need to resume a window, even with the global option being disabled, simply press command-option-q to quit the app. Again you can try it with Terminal, command-option-q and restart will get you back to where you were (resume!).

Read Full Post »

Mac OS X Lion supports full-screen mode for most apps, something extremely useful.
You can enter and exit the full-screen mode by pressing command-shift-f (at least that works for Google Chrome, check the first comment after the post), or look for the arrows icon on the top right corner of your app window.

Terminal app supports full-screen as well, however the keyboard screenshots do not work as expected. Upon entering the full-screen mode, there isn’t an obvious way to exit it.

You will have to move your mouse/cursor to the top, wait for the menu bar to appear, and click on the arrows icon. Easy, ain’t it, if you just know where to look at!

** Edit:  command-option-f also does the trick, thanks johnie.

Read Full Post »

One of my first customizations after installing Mac OS X Lion was to remove the annoying login – username option from the top menu bar. And to explain “annoying”, I find it quite too long displaying my Name Surname, and an option that I would never need to use, as there’s only a single user on my Mac.

Removing it is quite easy: hold command button and drag it off the menu bar.

If you really want to keep it, you can reduce its length to the username or to an icon:

System Preferences -> Users & Groups -> Login Options -> (Click on the bottom left lock if everything is greyed-out) -> Show fast switching user menu as… -> Check/uncheck to show/hide it, or use the drop-down menu for the various options.

Read Full Post »

Mac OS X Lion doesn’t include a Java runtime environment on the default installation.
However Apple has immediately released Java as a separate download.

The first package of Java for Lion can be found on the following link: http://support.apple.com/kb/DL1421

The download size is 62.53MB and installs Java SE version 1.6.0_26.

Read Full Post »

Mac OS X Lion by default is mimicking the scrolling experience of iOS touch devices, such as iPhone and iPad.
For desktop users I find it quite hard adjusting to the inverse scrolling, especially when using mice devices.

Don’t panic, it’s just a simple option on the System Preferences, so:

System Preferences -> Trackpad -> Scroll & Zoom -> Remove check from “Scroll direction: natural”

Read Full Post »

Java for Mac OS X 10.6 Update 5 delivers improved compatibility, security, and reliability by updating Java SE 6 to 1.6.0_26. Please quit any web browsers and Java applications before installing this update.

See http://support.apple.com/kb/HT4593 for more details about this update.
See http://support.apple.com/kb/HT1222 for information about the security content of this update.

Read Full Post »

The 10.6.8 update is recommended for all users running Mac OS X Snow Leopard and includes general operating system fixes that enhance the stability, compatibility, and security of your Mac, including fixes that:

  • Enhance the Mac App Store to get your Mac ready to upgrade to Mac OS X Lion
  • Resolve an issue that may cause Preview to unexpectedly quit
  • Improve support for IPv6
  • Improve VPN reliability
  • Identify and remove known variants of Mac Defender

For detailed information on this update, please visit this website: http://support.apple.com/kb/HT4561.

For information on the security content of this update, please visit: http://support.apple.com/kb/HT1222.

Read Full Post »

Older Posts »