Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

We have a few shared Macs at work running 10.6.8 and I'd like to disable only the Close & Minimize buttons for one application, not system-wide. I've already re-assigned the keyboard shortcuts for this application inside of the Prefs pane so that the common combos won't work, but I'd like to prevent clicking the buttons also.

share|improve this question
add comment

1 Answer

If you're lucky, the application uses .nib files for the main window. If that's the case, you should be able to use XCode to edit the .nib file and change the window properties so it doesn't show a close button.

To do this, right-click the application in Finder and select "Show Package Contents". Then navigate to Contents > Resources > some_language.lproj and look at each of the .nib files.

Then double-click the one that looks likely, if you have XCode installed you should then be in the editor view. Disable the window controls and save.

NIB Editor

You can remove language .lproj folders other than the language you want to use, so you don't have to repeat the process for all languages the app supports.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.