Re: removing Apple-Q from Safari?

From: Kin Jung <ksjung_at_tsw.berkeley.edu>
Date: Fri Nov 05 2004 - 12:46:41 PST

Greg, I had the exact same problem. So thanks Lucas, that was really
cool to learn from you--- I had no idea!
I was showing your solution to our sales associate Armen who just
showed me this helpful solution:
I believe you must be running Panther (Mac OS 10.3) to do the
following...feel free to correct me if I'm wrong!

SYSTEM PREFERENCES> KEYBOARD & MOUSE > KEYBOARD SHORTCUTS
Click the "+"
Choose the Application "Safari" from the drop down menu
Name the Menu Title "Quit Safari"
Enter the Keyboard Shortcut you want, for example,- Command+Option+Q

To change the Keyboard shortcut on a menu item with an elipses (...)
such as "Print..."
you must use the actual elipses character which is option-;

Best,

Kin

On Nov 4, 2004, at 5:16 PM, Lucas Rockwell wrote:

> Greg,
>
> 5 should read: Save MainMenu.nib then quit and relaunch Safari.
>
> -lucas
>
> On Thu, 4 Nov 2004, Lucas Rockwell wrote:
>
>> Greg,
>>
>> This is easy.
>>
>> If you have the Apple dev tools installed you can modify the
>> MainMenu.nib
>> and remove the connection between command-q and the terminate method.
>> Here
>> is how to do it:
>>
>> 1) Find Safari in the Finder, right-click on the application and
>> choose "Show Package Contents."
>>
>> 2) Navigate to Contents/Resources/English.lproj and find the
>> MainMenu.nib
>> file. Double click this file and it will open in Interface Builder.
>>
>> 3) Double click on MainMenu in the MainMenu.nib window. Once you have
>> done
>> this, click on the word Safari in the MainMenu (looks like the Safari
>> tool
>> bar) that opens up, click on "Quit Safari" and then choose Attributes
>> from
>> the popup in NSMenuItem Info window (you may first have to click on
>> AppController to get the Info window open).
>>
>> 4) Simply remove the "Q" from the box that reads "Key Equivalent:" and
>> uncheck the box next to the Apple command symbol right below that in
>> the
>> "Key Modifier:" line.
>>
>> 5) Quit Safari (if it is running), start it back up, and viola, no
>> more
>> command-q or Quit in the Safari menu.
>>
>> Let me know if this is not clear. ;-)
>>
>> Note, you will have to do this each time Safari is updated.
>>
>> -lucas
>>
>> On Thu, 4 Nov 2004, Greg Merritt wrote:
>>
>>>
>>> Ok, here's an odd request...
>>>
>>> I use Safari pretty exclusively, and am a heavy tabs user. I also
>>> like
>>> to use the Apple-W command for closing tabs.
>>>
>>> Now, maybe once or twice a month, I'll hit Apple-Q instead of
>>> Apple-W... and poof! there go all of my beautiful tabbed browsing
>>> sessions as Safari gracefully quits.
>>>
>>> Can anyone refer me to a resource that would show me how to modify
>>> the
>>> behavior of Safari so that it ignores Apple-Q, maps the Quit function
>>> to a more complex key sequence (Apple-ctrl-option-shift-Q, heh), or
>>> removes Quit altogether? I know that there are haxies for *adding*
>>> Quit to the Finder; hopefully there's a way to *remove* it from
>>> Safari.
>>>
>>> Thanks!
>>> -Greg
>>>
>>>
>>> ---------------------------------------------------------------------
>>> ---
>>> The following was automatically added to this message by the list
>>> server:
>>>
>>> For information about MAGNet, its meetings and events, and its
>>> mailing list, including information on subscribing and unsubscribing,
>>> see the MAGNet Web site at <http://magnet.berkeley.edu/>.
>>>
>>
>> ----------------------------------------------------------------------
>> --
>> The following was automatically added to this message by the list
>> server:
>>
>> For information about MAGNet, its meetings and events, and its
>> mailing list, including information on subscribing and unsubscribing,
>> see the MAGNet Web site at <http://magnet.berkeley.edu/>.
>>
>
> -----------------------------------------------------------------------
> -
> The following was automatically added to this message by the list
> server:
>
> For information about MAGNet, its meetings and events, and its
> mailing list, including information on subscribing and unsubscribing,
> see the MAGNet Web site at <http://magnet.berkeley.edu/>.
>

------------------------------------------------------------------------
The following was automatically added to this message by the list server:

For information about MAGNet, its meetings and events, and its
mailing list, including information on subscribing and unsubscribing,
see the MAGNet Web site at <http://magnet.berkeley.edu/>.
Received on Fri Nov 5 12:48:20 2004

This archive was generated by hypermail 2.1.8 : Fri Nov 05 2004 - 12:48:20 PST