Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Remove certain entries from the Apple menu System
I wanted to remove or disable the shutdown option under the Apple Menu as some of our users 'Shutdown' rather than 'Log Off.' This hint is similar to an earlier hint, but far easier to implement. This hint has been tested under 10.3.x. I haven't tested it fully under 10.4, but the items are located in the same place, so it should work.

The solution I was looking for is in the middle of this thread on sourcforge, and was passed on by a colleague.

I will summarise the procedure as follows, Remove the "Sleep" and "Shutdown..." items from the Apple Menu by using Interface Builder (Developer Tools required), to delete the "Sleep", "Shut Down...," and "Shut Down" items from the Apple Menu in the following nib file:

/System: Library: Frameworks: Carbon.framework: Versions: A: Frameworks: HIToolbox.framework: Versions: A: Resources: English.lproj: StandardMenus.nib

Removing the items from the Apple Menu doesn't remove the ability to use the keyboard to shut down the Mac (Hold Control then press the eject key).

I copied the original file to the desktop and modified it (removing the two instances of shutdown). I then set the permissions to match those on the original file. I copied the original file to a safe place and replaced the original with my newly modified file.

[robg adds: I haven't tested this one...]
    •    
  • Currently 3.00 / 5
  You rated: 5 / 5 (5 votes cast)
 
[20,171 views]  

Remove certain entries from the Apple menu | 8 comments | Create New Account
Click here to return to the 'Remove certain entries from the Apple menu' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Application Menu to icon?
Authored by: earthsaver on Apr 26, '05 11:43:50AM

Now that you've figured that much out, which is also do able with Unsanity's shareware, FruitMenu, perhaps you can figure how to change the Application menu to an app's icon instead of its name. Unsanity can't figure out how to do it properly in Tiger. Sure you'd get thanked dearly if you find the secret.

---
- Ben Rosenthal
Q16 1.25 - Tiger



[ Reply to This | # ]
Application Menu to icon?
Authored by: Dale Sorel on Apr 27, '05 09:01:06PM

In their latest release, Unsanity has figured out how to do the application icon thing in Tiger.



[ Reply to This | # ]
Remove certain entries from the Apple menu
Authored by: astack on Apr 26, '05 01:28:22PM

I just tried it, it works as expected. I removed the "Get OS X Software" tab from the menu instead of the "shut down" tab though. (I never understood why Apple would put a link to a web page on such a low level menu.) Nice Hint!



[ Reply to This | # ]
Remove certain entries from the Apple menu
Authored by: thombo on Apr 26, '05 08:22:44PM

Could this or something similar also be applied to context menus (mainly the one in Finder)? I assume this has to be contained in a file somewhere. There is a lot of clutter in this menu (for example 2 lines for Color Label and another 2 for folder actions) that i would never use and hate having to look at/mouse past to get to the items that i want.

thombo



[ Reply to This | # ]
Remove certain entries from the Apple menu
Authored by: qwerty denzel on Apr 27, '05 12:23:08AM

For Folder Actions try moving the file 'FolderActionsMenu.plugin' out of /System/Library/Contextual Menu Items/ . I have not tried it, but I am guessing it will work.



[ Reply to This | # ]
Remove certain entries from the Apple menu
Authored by: johnsondaz on Apr 27, '05 08:43:09AM

Hey can it also be this simple to add something to the Apple menu. Say like a link to the Applications directory?



[ Reply to This | # ]
Remove certain entries from the Apple menu
Authored by: thirdspace on Dec 11, '06 08:20:14AM

I'd be really interested to know if you can disable the keyboard shortcut for Sleep. I use ARD3 in a classroom, and some students have discovered they can avoid being controlled if they sleep the computer, which they do using the keyboard shortcut.

Thanks

Mike



[ Reply to This | # ]
Not for 10.5!
Authored by: tetsuo_ on Apr 13, '08 02:28:55PM

Beware: While this hint seemed to work without apparent side-effects under 10.4, it leads to a minor clusterfsck under 10.5 (with the UI (server?) constantly restarting)!

(BTW, Unsanity's FruitMenu doesn't seem to work under 10.5 either at the time of writing )



[ Reply to This | # ]