MacOS – LSUIPresentationMode no longer works in Yosemite

macos

I've always set LSUIPresentationMode to 4 in iTerm and Firefox to hide the annoying unnecessary menu bar taking up precious vertical space on my macbook.

If I needed the menu, I could just move my mouse to the top of the screen, and it would appear. The rest of the time that space was used by the terminal and the browser.

After an upgrade to Yosemite this features no longer works. Most of the time setting this option to 4 or 3 (hide completely) does nothing. Sometimes it crashes the app. Sometimes the menu is hidden but the empty space is not occupied, so there's a long line on top.

This is really annoying. I submitted a bug report to Apple during the beta test – no response.

Running apps full screen is not an option. Unlike Linux implementation, OS X's full screen is not usable for me. You have to switch between spaces, you can't open other windows on top, etc.

So does anyone have an idea on how to fix this?

Best Answer

You can run

lsappinfo setinfo -app Firefox ApplicationType=UIElement

but you have to run it every time you open Firefox, it removes the menu bar completely, and it removes Firefox from the Dock. Commands like lsappinfo setinfo -app Firefox PresentationMode=Suppressed or lsappinfo setinfo -app Firefox UIPresentationMode=4 didn't seem to work.

(You can make the full screen mode actually usable in iTerm 2 by unchecking "Use Lion-style Fullscreen windows" and setting "Profiles > Window > Style" to "Fullscreen". Skim, Sequential, Movist, and Emacs also have an option to use a custom implementation for full screen windows.)