| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

How to : Hide the Menu Bar or Dock in OS X

Page history last edited by Phil Lavery 15 years, 4 months ago

When running applications in stereo mode it is helpful to be able to hide the menu bar if the program doesn't already do this. This link is very helpful:

 

http://www.macworld.com/weblogs/macosxhints/2007/02/hidemenubar/index.php

 

and we have given the main points below.

 

Applications that can hide the menu bar

 

Check out the current versions of :

 

MenuFela : http://www.macupdate.com/info.php/id/22217

 

Do it yourself

 

Edit the property list variable named LSUIPresentationMode. By setting this variable to a certain value within each application’s info.plist file, you can change how the Dock and menu bar behave within that application.

 

First make a backup copy of the application in question. Make your modifications on the backup copy of the program, and then if something goes wrong, you’ll only have to delete the backup you created to get things back to normal.

 

 

To find the program’s info.plist file look inside the application bundle. So start by control-clicking on the backup copy of the app and choosing Show Pacakge Contents from the pop-up menu. In the new window that opens, open the Contents folder and you should find the info.plist file. What you do next depends on whether or not you have Apple’s free Developer Tools, known as Xcode, installed.

 

Xcode is not installed

 

If you don’t have Xcode installed, the easiest way to implement this hint is to download and install Brian Webster’s PlistEdit Pro, a third-party shareware application. There’s a free trial period, so you can test it out yourself before deciding to buy. If you choose to use this program, skip ahead to the Xcode is installed section of this hint for the how-to.

 

If you’re still reading, that means you’ve chosen not to use a property list editor of some sort. That’s OK; this hint isn’t really all that tough to implement, but you will need a pure text editor such as TextEdit. Open your text editor, then drag and drop the info.plist file onto the text editor’s icon in the Dock. If you’re using a copy of Stickies, as I am, then here’s what you’ll see:

 

To make Stickies hide the Dock and menu bar when launched, add the following two lines, just below the entry on row four:

 

LSUIPresentationMode

4

 

Save the changes, and you’re done. Jump down to Putting it to use to see how it works.

 

 

Xcode is installed

 

If you have Xcode (or PListEditor Pro), the changes are even simpler. With Xcode installed, just double-click on the info.plist file and it will open in Property List Editor; PListEditor Pro users may have to use drag-and-drop to open the file.

 

Once it’s open in either editor, click once on the Root entry in the Property List section of the window, then click the New Child button in the toolbar. Set the name of the entry to LSUIPresentationMode, the Class pop-up to Number, and give it a value of 4. Save the file, and you’re done with the editing.

 

Putting it to use

 

In the following short movie clip, you’ll see two versions of Stickies running. The first is the stock Stickies, and you can see both the menubar and the Dock remain visible when it’s launched. The second is my modified Stickies—when it’s launched, both the menu bar and the Dock vanish.

 

 

If you stick to Cocoa applications (typically those provided by Apple, plus many third-party apps such as those by OmniGroup), you should have good results. Modifying Carbon apps (such as Photoshop, BBEdit, etc.) may be more troublesome.

 

If you ever want/need to undo what you’ve done, just delete the backup copy of the app you modified, and you’re done. What, you didn’t work on a backup copy? Well, just open the info.plist file in your editor of choice, and remove the two lines you added (or use the Delete feature in your property list editor application). Just make sure the program isn’t running when you do this. Save your changes, relaunch the program, and things should be back to normal.

 

Comments (0)

You don't have permission to comment on this page.