I recently switched from Windows to Mac. One of the things that's really ingrained in my muscle memory is hitting Alt+ D in a browser to go to the address bar. On Mac browsers, ⌘+ D creates a bookmark, the equivalent to move to the address bar is ⌘+ L. I've used the Keyboard pref pane to remap ⌘+ D to the 'Open Location.' Command in Safari, Chrome, and Firefox. In Safari this works great. In both Chrome and Firefox, hitting ⌘+ D now goes to the address bar and creates a bookmark.
Is there any way to get this to work properly in Chrome and Firefox? Mac OS 10.7, Chrome 13.0.782.220, Firefox 6.0.2. Unfortunately none of the extensions I have work. However, there is a way to do this in the version of OSX I'm using, at least. Go to Settings-Keyboard-Shortcuts, and then from the list on the left select 'App Shortcuts'. Click '+' to add a new app shortcut and then select Google Chrome from the list of Apps. Now, you must assign 'Bookmark This Page.'
To something else first so that you can truly override command+D. I chose to select shift+command+B. After that click '+' again, and assign 'Open Location.'
To command+D. Now it should work. I can't believe how long it took me to find this answer, I guess everyone else uses Alt+L or Firefox. Thanks to Pysis for their. Edit: This was so frustrating I made an account just to respond to this.
I am new to Mac, and I have my rough time (missing keys, wrong shortcuts and etc). But I don't give up. I am a JS developer with more than 10 years of Windows and Linux (Debian, Ubuntu) experience and I need another Chrome profile accessible on a demand. The easiest way for me is another icon in Dock (and on the desktop). It is very easy in Windows - one just have to make shortcut and enter command line for chrome which looks like this: google-chrome -profile-directory=Default For OS X I found command line is open -a 'Google Chrome' -args -profile-directory=Default How to make a shortcut in Dock and on Desktop using it? Please mind the subject (question), it is important for me, that shortcuts has to allow running multiple profiles simultaneously.
Software blog The Less Annoying Blog has written a shell script just for creating SSBs that run on Google Chrome. Just download it here (a very slightly modified version of the original) and save.
I didn't stated it first time, because it was obvious for me it will work that way (Linux and Windows just do it). Since there are several possible answers, I will introduce a more exotic one:. Download and install. Create a file chromedefault.sh in /Documents/scripts/ with the content: #!/bin/bash open -a 'Google Chrome' -args -profile-directory=Default. Open Platypus with the following settings: and create a new 'app' ChromeDefault. For a second app with the profile Other use another script chromeother.sh with appropriate changes: #!/bin/bash open -a 'Google Chrome' -args -profile-directory=Other and call it ChromeOther. Put both apps in the /Applications folder and create as many symlinks or aliases as needed.
Open Script Editor from /Application/Utilities create a new doc paste following: do shell script '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome -profile-directory=Profile 3 /dev/null 2&1 &' FYI: contains a space (the first back slash escapes the second back slash which escapes the space!); and user profile./Chrome/Profile 3 will be -profile-directory=Profile 3 in the code,./Chrome/Profile 2 will be -profile-directory=Profile 2,./Chrome/Default will be -profile-directory=Default Try to run it and save it if it works.
Comments are closed.
|
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |