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


Click here to return to the 'So how do you restart it?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
So how do you restart it?
Authored by: BLASTfemur on Dec 07, '02 07:49:55PM
Only removing of the menubar item is not sufficient; the SystemUIserver must be restarted after the menu bar item has been removed.
Maybe I'm missing the obvious, but how do you restart the SystemUIServer?

[ Reply to This | # ]
So how do you restart it?
Authored by: Ruleryak on Apr 03, '03 07:45:54AM

It was only obvious if you're used to using the terminal. You'll need to launch your terminal app, then type "top" and hit enter. Look on that list (you may have to lengthen the window to see it, but most likely not) for "SytemUISe". To the left of that name is a 3 or 4 digit number, which is it's process ID. When you know that number, press q to stop top, then type "kill ###", where ### is the ID from SytemUIServer. Run top again to be sure it took effect. If it did you should see that the idle is taking up most of the processor again and systemUIServer is back to 0 or 1%.



[ Reply to This | # ]
So how do you restart it?
Authored by: lpb2h on Feb 03, '04 04:44:24PM

Well, while my right half of menu bar was beech balling, I killed the SystemUIServer process hoping that it would toss all those items visually as well as in the system. But they remained visible.

The following page:
http://developer.apple.com/documentation/MacOSX/Conceptual/BPSystemStartup/Concepts/UserSessions.html
says that SystemUIServer is launched by loginwindow.

The SystemUIServer lives here:
/System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer

To answer your question: I don't know the exact parameters for the application (apparently, no parameters are required), but in a pinch you can run the application straight from the terminal, i.e., just type:
/System/Library/CoreServices/SystemUIServer.app/Contents/MacOS/SystemUIServer

I did just that, and it did cause a couple of my menu items (volume and time) to re-appear and function properly.

Apparently in Panther there are additional parameters:
http://developer.apple.com/documentation/ReleaseNotes/Carbon/HIToolbox.html

Luc kfglq*

---
(kfglq*)



[ Reply to This | # ]