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

Change the next/previous tab shortcuts in Safari and Camino Web Browsers
Are you tired of having to press Command-Shift-arrow in Safari, and Command-Shift-[ in Camino to change tabs? The solution's actually pretty obvious, and this bugged me enough to fix it. I prefer using Command-arrow to switch tabs, and all you have to do to fix it is edit the MainMenu.nib file.

Note: you must have the developer tools installed to do this

Control-click on /Applications/Safari and choose Show Package Contents. Go to Contents -> Resources and open up MainMenu.nib. Click the Window submenu, and then double-click on the shortcut key command-shift-arrow. After you double click on it, you can rebind it to whatever you like by just typing your shortcut keys.

This can be done similarly in Camino by going to /Applications -> Camino.app -> Contents -> Resources -> English.lproj/ and opening MainMenu.nib.
    •    
  • Currently 2.71 / 5
  You rated: 1 / 5 (7 votes cast)
 
[43,183 views]  

Change the next/previous tab shortcuts in Safari and Camino | 9 comments | Create New Account
Click here to return to the 'Change the next/previous tab shortcuts in Safari and Camino' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Change the next/previous tab shortcuts in Safari and Camino
Authored by: seven5 on Jan 15, '04 02:57:16PM

You dont need the Dev Tools to do this.

Just open up the Keyboard & Mouse system preference panel and go to Keyboard Shortcuts.

Add Safari or Camino, and change it there.



[ Reply to This | # ]
There is no such thing in Jaguar
Authored by: cparnot on Jan 15, '04 04:25:59PM

as far as I can tell...

---
charles



[ Reply to This | # ]
Unfortunately, Keyboard Prefs is Panther only...
Authored by: allanBook on Jan 15, '04 04:05:06PM

Yup, not in Jaguar because changing keyboard prefs via system preferences was introduced in Panther:

http://www.apple.com/macosx/newfeatures/
(look under General to see it)

---
"Mr. Simpson, this is the most blatant case of fraudulent advertising since my suit against the film The NeverEnding Story." -Lionel Hutz (of Simpsons fame)



[ Reply to This | # ]
Change the next/previous tab shortcuts in Safari and Camino
Authored by: liquidgood on Jan 15, '04 06:12:16PM
you don't have to go that far, unless you need to change the setting for more than one user.

this trick has been posted several times in various forms here, here and here.

i added this to my org.mozilla.navigator.plist in ~/Library/Preferences in jaguar, so i've no reason to use the panther pref pane (haven't even tried it yet).

gives you command-` for next tab:

	<key>NSUserKeyEquivalents</key>
	<dict>
		<key>Next Tab</key>
		<string>@`</string>
	</dict>


[ Reply to This | # ]
Change the next/previous tab shortcuts in Safari and Camino
Authored by: magir on Jan 16, '04 02:51:27AM
I did the same thing and assigned command-1 and -2 to previous and next tab. This can be easily done from the command line
defaults write org.mozilla.navigator NSUserKeyEquivalents -dict-add 'Previous Tab' '@1'
defaults write org.mozilla.navigator NSUserKeyEquivalents -dict-add 'Next Tab' '@2'
As mentioned in many other hints here :-).

BTW: Command-Shift-Left/Right will be in one of the upcoming Nightlies of Camino, so stay tuned :-).

[ Reply to This | # ]
Change the next/previous tab shortcuts in Safari and Camino
Authored by: nyarlathotep on Jan 15, '04 09:17:05PM

Hey, I hid all my applications with SetFile -a V and created Symbolic Links to them to have my Applications folder seem sanely organized, i.e. work properly like a menu from the dock. (No, I couldn't just move the stupid Applications since Apple's updater software is too stupid to find the moved applications).

Anyway, I can nolonger do show package contents since finder does not offer that for symbolic links. Any suggestions? I suppose I could swap the symbolic link and the real file, but that would kinda suck and "morally" (though not really) defeate the purpose of keeping it like Apple's lame setup. Is there any way to get finder to offer Show Package Contents for Symbolic Links? Of course, I can always just type open /Applciations/Blah/Contents, which is what I'd probably do anyway, but I'd still like to know about alternatives.



[ Reply to This | # ]
Change the next/previous tab shortcuts in Safari and Camino
Authored by: TvE on Jan 16, '04 04:03:55PM

Why in the world do you want to hide your applications???



[ Reply to This | # ]
Change the next/previous tab shortcuts in Safari and Camino
Authored by: nyarlathotep on Jan 18, '04 11:03:42PM

Only the real apps aree hidden, their are symbolic links in ``sane'' places for them. For example, System Preferences is hidden, but there is a symbolic link to it from the Utilities folder. Many of the usual little Apple apps have symlinks to them from the Accessories folder. etc. I just wanted to be able to have my applications directory act link a menu. The problem is that Apple won't let you move their applications about (as their updater program is too stupid to find them).



[ Reply to This | # ]
Change the next/previous tab shortcuts in Safari and Camino
Authored by: freerangehuman on Jan 16, '04 01:42:25AM

I don't have a file called MainMenu in Contents/Resources. Any idea why?
Apologies if this is stupid or obvious, I'm a newbie.



[ Reply to This | # ]