Advertisement
Productivity

How to Reveal Your Library Folder in Lion or Mountain Lion

by

Did you know that you will find Library folders in three locations on your Mac? There’s a Library folder at the root-level of your hard drive, there’s a second Library folder inside the root-level System folder and another Library folder in each User’s Home folder. In the normal day-to-day course of events, you don’t need to worry about any of them, and that’s fine because they’re all hidden away from you by default. There are, however, occasions when you may need to access the User Library folder (also known as ~/Library) and this article will show you how.


A Word of Caution Before We Begin

The Library folder at the root level of your hard drive is a public ‘library’ of data that is required for all users of the Mac. The Library folder within the System folder is critical for the operation of your Mac. Don’t ever remove, rename or otherwise move this directory in any way. Leave it alone!

Locations of Library folders on your Mac
The Locations of Library Folders on Your Mac

The Library folder under each account user name (the ~/Library) is, by default, invisible in Lion and Mountain Lion versions of OS X. It is the folder that stores settings and information for various apps, among other things, and is the one that we will be revealing in this tutorial.

Tip: The User’s Library folder (~/Library) is hidden by default since most people will not require access to it. It is hidden for your own safety as it is an important folder. Don’t reveal or make any changes to this folder if you are not entirely confident as to what you’re doing.


Temporary or Permanent?

There are two modes of revealing the ~/Library folder. The first is to reveal the folder temporarily. The second is to reveal the folder permanently and there are a number of ways to achieve each.

Tip: The Library folder located with any User account is normally referred to as ~/Library.


Methods to Temporarily Reveal the ~/Library Folder

Perhaps the easiest way to temporarily reveal the ~/Library folder is to open Finder. On the menu bar, at the top, select Go to reveal the drop-down menu and then hold down the Option key (marked ALT) and you will see the ~/Library folder appear. You may now select this ~/Library folder with your mouse or trackpad.

As soon as you release the Option key, the ~/Library folder will be hidden once more.

Library from the Finder Go Menu
Select Finder's "Go" Menu and Hold the Option Key to Reveal the ~/Library Folder.

Create a Shortcut

If you want to be really clever, and learn more about customizing your Mac in the process, another way to temporarily reveal the ~/Library folder is to create a keyboard shortcut.

Click on the Apple on the menu bar and select System Preferences. In the System Preferences window, on the second row of icons, marked Hardware, select Keyboard.

Next, ensure that Keyboard Shortcuts is selected. In the left-hand pane, select Application Shortcuts. Options will be revealed in the right hand pane.

Setting Up a Keyboard Shortcut to the Library Folder
Setting Up a Keyboard Shortcut to the Library Folder

Click on the plus icon, beneath the right hand pane, to reveal a customization window. For Application select Finder, for Menu Title type Library, for keyboard hold down ⌥⌘L (the Option, Command and L keys).

Setting Up a Keyboard Shortcut to the Library Folder
Setting Up a Keyboard Shortcut to the Library Folder
Setting Up a Keyboard Shortcut to the Library Folder
Checking the Keyboard Shortcut to the Library Folder

Now, provided that no particular application is in focus (if you need to be sure, click on the Desktop, first), you will now be able to press that keyboard shortcut to launch Finder directly into the ~/Library folder.

As an added bonus, using this method has also taught you how to setup keyboard shortcuts.

These are just two examples to make your ~/Library folder temporarily visible. It is not an exhaustive list, there are many other ways in OS X to do this. If you can remember these two methods then that should be enough.

The Result of Using the Option Command L Shortcut You Created
The Result of Using the Option Command L Shortcut You Created

Methods to Permanently Reveal the ~/Library Folder

Perhaps the most straightforward method of permanently revealing the ~/Library folder is to change it’s visibility settings using Terminal.

To permanently reveal the ~/Library folder, open Finder and select your home directory (often your name), then open Terminal and place it next to Finder. This will help you to see the effects of the commands that you enter into terminal.

In Terminal, enter the following command to reveal the ~/Library folder:

chflags nohidden ~/Library/

When you press Return, you should see the ~/Library folder appear in the User directory in Finder.

Using Terminal App to Reveal the Library Folder
Using Terminal App to Reveal the Library Folder

If, at any point, you wish to hide the ~/Library folder once more, simply open Terminal and enter the following command:

chflags hidden ~/Library/

When you press Return, the ~/Library folder will be hidden in Finder.

Using Terminal App to Hide the Library Folder
Using Terminal App to Hide the Library Folder

If you prefer not to use Terminal to change the settings on your system, there is a handy menubar application called Invisiblix.

To reveal the ~/Library folder using Invisiblix, launch the application, choose File > Browse Hidden Files, and then choose your ~/Library folder in the navigation dialogue. In the next Invisiblix window, uncheck Hidden to make the ~/Library folder visible.

Likewise, to rehide the ~/Library folder follow the same procedure as above and check Hidden. Your ~/Library folder will now be hidden in Finder.

Once again, there are many ways to achieve this in OS X. Popular system tweaking tools, such as TinkerTool, now include such functionality to reveal and hide your ~/Library folder for you.


Give Me an Example Why I Might Need to Access the ~/Library Folder

Unhiding the Library folder is easy enough, but why bother? Let's look at an example. If you have followed my article for setting up VoIP on your Mac, you may have noticed, in one of the screenshots, that there is the ability to customize the incoming ringtone. To do this, you need to have access to your user ~/Library folder.

This App Allows You to Customise a Ringtone By Placing a File in the /Library/Sounds Folder
This App Allows You to Customise a Ringtone By Placing a File in the ~/Library/Sounds Folder

In fact, this is something that you probably will want to do, as the default ringtones are not particularly good for the purposes of an incoming telephone ringtone.

Use one of the methods, described above, to either temporarily or permanently reveal your ~/Library folder. Once you have done so, open Finder and navigate to ~/Library/Sounds.

In this particular example, to customize the telephone incoming ringtone, simply drop an audio file, such as an MP3, into this folder. Ensuring that the file has a sensible name, go to Telephone App Preferences > Sound and you’ll be up to choose your custom ring tone from the Ringtone drop down menu.

The Result of your File in /Library/Sounds/
The Result of your File in ~/Library/Sounds/

Conclusion

In OS X 10.7 Lion and OS X 10.8 Mountain Lion, Apple has decided to hide the ~/Library folders. As most users will not require access to these during their day-to-day activities, this makes sense. Hiding the ~/Library folders means there is less risk of an accidental deletion or change being made to a critical file.

We have seen, however, that there may be some occasions when you do need access to your ~/Library folder. In this tutorial, we have learned different ways of doing so. Now go give it a shot!

Related Posts
  • Computer Skills
    Productivity
    Speeding Up Your Workflow With Custom Trackpad GesturesAccesibility
    In previous tutorials, I've shown you how to speed up your workflow by remapping your underused Caps Lock key, using LaunchBar to launch applications with a keyboard shortcut and using TotalSpaces2 to switch quickly between applications. In this tutorial I will continue with that theme and show you how to use custom trackpad gestures to speed up your workflow.Read More…
  • Computer Skills
    Tips & Shortcuts
    Quick Tip: Bulk Add Words to Your Mac's Spell Check DictionarySpelling
    The OS X built-in spell check is great, but it is not complete. It often does not include technical terms or brand names. If you routinely use words that your Mac’s dictionary doesn’t contain, and don't want the hassle of adding them one at a time, it might be worth your while bulk adding a list of words. In this tutorial I’ll show you how to do just that.Read More…
  • Computer Skills
    Productivity
    Why a Finder Replacement is Still a Good IdeaFinder2x
    Until OS X Mavericks, a replacement Finder application was a must for most power users. Basic features like tabs were missing from OS X’s default application, so to get an improved Finder experience you had to turn to third parties. With Mavericks, however, Apple has finally brought tabs to Finder. In this tutorial I’ll show you what replacement Finder applications are out there, what they can still add to your workflow and why they're still worth getting.Read More…
  • Computer Skills
    OS X
    Master Desktop Images in OS X MavericksDesktop400
    Pay more than fleeting attention to any Apple Mac advertising and you can not help but be struck by the incredible and engaging photography used to show off the capabilities of the screens of iMacs and MacBooks. In this tutorial, I’ll uncover some breathtaking hidden photography – that is already on your Mac – and show you how to set this as your Desktop.Read More…
  • Computer Skills
    Productivity
    40 Nifty Shortcuts to Make Your Life EasierShortcuts retina
    Some people get really fast at navigating around their Mac. After they learn various shortcuts here and there, they seem to do everything in a jiffy. You can’t be left out, though, because everyone should be making use of shortcuts in their daily activities on a Mac. In this tutorial, I’ll cover the basic navigation shortcuts as well as the more advanced and even “secret” ones.Read More…
  • Computer Skills
    OS X
    Quick Tip: Revealing Hidden Files in OS XPreview hidden files 400
    Like any Operating System, Mac OS X will help keep things looking organized by selectively hiding certain files on your computer. For the most part, you can go without needing to access these files directly. However, if you do need to access these files, say for troubleshooting, or if you just want to have a look around, you can easily toggle the visibility of hidden files on your Mac. In this tutorial, we are going to examine two ways of revealing hidden files and hiding them again.Read More…