Mac Tutorial: Make Any OS X Lion App Fullscreen
Editor’s Note: This tutorial was written and demonstrated for Mac OS X Lion 10.7. It is of quite high difficulty, so if you’re not a real techy type of person, this may not be for you.
One of the new features that OS X Lion boasts is fullscreen apps, which allow for less distractions when you’re trying to concentrate on something that has to get done. However, not all apps actually support this functionality in Lion, so here’s a tutorial on how to make any app fullscreen. The process is actually quite complicated, so if you’re not familiar with your Mac and don’t have any knowledge of Terminal and code editing, then you may want to steer clear of this. If you’re comfortable with getting your hands dirty under the hood a little, then read on. Thanks to TUAW for figuring this out.
Copy the App You probably don’t want to edit the original, so copy the app to the Desktop.
Locate the compiled nib files Compiled nib files can be found in the app bundle’s Contents/Resources folder. In more internationalized apps, they may appear in lproj subfolders. You need to locate the nib files you want to edit.
- cd whatever.app/Contents/Resources
- grep -iRl NSWindowBacking *
This returns a list of all nib files which define the NSWindowBacking key. That key more or less tells you that there’s a window definition there. You can try to edit them all, or you can do what I did: just edited the three files in Colloquy’s Resources folder that matched: JVChatWindow.nib, JVTabbedChatWindow.nib, and JVSidebarChatWindow.nib.
Convert to XML Use Apple’s plutil or my plusutil to convert each nib file from a binary property list to proper XML.
plutil -convert XML1 filename.nib
Edit those XML files Once converted, open the now text-based XML files in TextEdit. Search for the NSWindowBacking key/value pair in each file. After that pair add
<key>NSWindowCollectionBehavior</key>
<integer>128</integer>This tells the window that its behavior includes full size resizing. Save your changes and close the file.
Convert back to BPlist Convert your edited files back to a binary plist. Strictly speaking? This isn’t a necessary step. It just pleases me aesthetically.
plutil -convert binary1 filename.nib
Run it With luck, your app now has full screen zooming support. Enjoy it. Make sure to back up the original app before replacing it with your edited version. And do not expect to upgrade this version, like, you know, ever.
That’s it!
Charles Tian
Charles is the founder and administrator of iTracki.com. After years of following and keeping up with Apple products, he founded this website and worked with others to bring the best news, reviews, tutorials, and editorials straight to you.
-
Oskar Hane
-
Oskar Hane
-
RobV
-
RobV
-
Jim
-
http://profiles.google.com/shane.m.mcfarland Shane McFarland
-
Vignesh
-
http://twitter.com/tx2z Jesús Pérez
External Links










