Mac OSX remove Hide Window keyboard shortcut
up vote
7
down vote
favorite
When I press commandH, the current window is hidden. I'd like to disable this shortcut, because I'm using it in another application.
I opened System Preferences -> Hardware -> Keyboard -> Keyboard Shortcuts -> Application Shortcuts -> All Applications
I tried adding "No Action" as MenuTitle and commandH as KeyboardShortcut
(see screenshot below).
But this doesn't work.
What am I doing wrong?
Edit: What solved my problem was assigning shortcut commandOptionShiftH to actions like "Hide Eclipse". Since I never press this key combination, this action never gets executed.
macos keyboard-shortcuts
add a comment |
up vote
7
down vote
favorite
When I press commandH, the current window is hidden. I'd like to disable this shortcut, because I'm using it in another application.
I opened System Preferences -> Hardware -> Keyboard -> Keyboard Shortcuts -> Application Shortcuts -> All Applications
I tried adding "No Action" as MenuTitle and commandH as KeyboardShortcut
(see screenshot below).
But this doesn't work.
What am I doing wrong?
Edit: What solved my problem was assigning shortcut commandOptionShiftH to actions like "Hide Eclipse". Since I never press this key combination, this action never gets executed.
macos keyboard-shortcuts
That won't override an existing command. As every app has a different command for Hide, e.g., Hide Safari, Hide TextEdit, etc., you can't do it that way either. You'll need something like Karabiner or BetterTouchTool
– Tetsujin
Feb 21 '16 at 13:47
add a comment |
up vote
7
down vote
favorite
up vote
7
down vote
favorite
When I press commandH, the current window is hidden. I'd like to disable this shortcut, because I'm using it in another application.
I opened System Preferences -> Hardware -> Keyboard -> Keyboard Shortcuts -> Application Shortcuts -> All Applications
I tried adding "No Action" as MenuTitle and commandH as KeyboardShortcut
(see screenshot below).
But this doesn't work.
What am I doing wrong?
Edit: What solved my problem was assigning shortcut commandOptionShiftH to actions like "Hide Eclipse". Since I never press this key combination, this action never gets executed.
macos keyboard-shortcuts
When I press commandH, the current window is hidden. I'd like to disable this shortcut, because I'm using it in another application.
I opened System Preferences -> Hardware -> Keyboard -> Keyboard Shortcuts -> Application Shortcuts -> All Applications
I tried adding "No Action" as MenuTitle and commandH as KeyboardShortcut
(see screenshot below).
But this doesn't work.
What am I doing wrong?
Edit: What solved my problem was assigning shortcut commandOptionShiftH to actions like "Hide Eclipse". Since I never press this key combination, this action never gets executed.
macos keyboard-shortcuts
macos keyboard-shortcuts
edited Feb 22 '16 at 17:05
asked Feb 21 '16 at 11:32
activity
1437
1437
That won't override an existing command. As every app has a different command for Hide, e.g., Hide Safari, Hide TextEdit, etc., you can't do it that way either. You'll need something like Karabiner or BetterTouchTool
– Tetsujin
Feb 21 '16 at 13:47
add a comment |
That won't override an existing command. As every app has a different command for Hide, e.g., Hide Safari, Hide TextEdit, etc., you can't do it that way either. You'll need something like Karabiner or BetterTouchTool
– Tetsujin
Feb 21 '16 at 13:47
That won't override an existing command. As every app has a different command for Hide, e.g., Hide Safari, Hide TextEdit, etc., you can't do it that way either. You'll need something like Karabiner or BetterTouchTool
– Tetsujin
Feb 21 '16 at 13:47
That won't override an existing command. As every app has a different command for Hide, e.g., Hide Safari, Hide TextEdit, etc., you can't do it that way either. You'll need something like Karabiner or BetterTouchTool
– Tetsujin
Feb 21 '16 at 13:47
add a comment |
5 Answers
5
active
oldest
votes
up vote
1
down vote
another way to do this is to use BetterTouchTool
and define a global keyboard shortcut which maps Command-H
to no-action
.
No app restart required.
See: BetterTouchTool
This tool is also useful to restore the original behavior of the red/orange/green window decorations in OSX
add a comment |
up vote
0
down vote
Adding an answer based on the Edit: above as it took me a while to figure this out.
If you want to disable the ⌘-h shortcut you have to do it per-app.
First open the app, and confirm from the preferences what text option the shortcut is mapped to.
Using Kitty.app as an example, for me it's Hide kitty
.
Then you open System Preferences
and go to Keyboard
-> Shortcuts
-> App Shortcuts
and then click +
.
Limit it to the relevant app, enter Hide <yourappname>
(e.g. Hide kitty
in my case), and pick an obscure key combination. I use the section symbol because it's not in my default layout so I won't type it by mistake.
Now when you click on the Application's menu, you should see your new shortcut has been set, and ⌘-h will no longer hide that application.
Unfortunately there doesn't seem to be a way to do this for all apps.
See also this Apple Support Page
This might be obvious, but how are you supposed to actually type the section symbol into the shortcut field? You can't use option+6 because it'll just map the shortcut to that combination.
– taylorthurlow
Nov 1 at 19:18
@tay It was possible for me to make that combination on my UK layout keyboard, it might not work for you
– gib
Nov 5 at 14:48
@taylorthurlow you can just choose any shortcut you won't accidentally press (e.g. Cmd-Control-Option-Shift-). It can also be done via the command line.
– gib
Nov 5 at 15:05
add a comment |
up vote
0
down vote
The (very non-ideal, but functional) way that I solved this problem is to use Alfred to define a global hotkey mapping CommandH to nothing. You could use any app capable of defining global hotkeys to do this (ex. BetterTouchTool or KeyboardMaestro).
Here's the Alfred workflow that I used:
add a comment |
up vote
0
down vote
Adding yet another option:
If you use the Karabiner app (extremely useful in its own right -- for example, you can add VIM-style navigation with Ctrl+h/j/k/l, or map the Escape key to Caps Lock), there is a "Complex Modification" that disables command-h window hiding. Install the app and see the listing: Prevent unintended command-h hide window on this page.
add a comment |
up vote
0
down vote
Overriding keyboard shortcuts Via macOS Terminal
In this example, I change the "Open Viewer" menu option in Apple Photos to "Space", like it used to be pre-2017:
defaults write com.apple.Photos NSUserKeyEquivalents -dict-add "Open Viewer" -string " "
Reset to defaults:
defaults delete com.apple.Photos NSUserKeyEquivalents
Change the global shortcut for "Preferences" to "⌘ + p" (the "-g" option means "Global", and "@" translates to "⌘"):
defaults write -g NSUserKeyEquivalents -dict-add "Preferences" -string "@\p"
A word of warning though:
Do not paste this into your Terminal window if you don't feel comfortable with altering the default settings of macOS apps, or if you don't fully understand what it means.
add a comment |
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
another way to do this is to use BetterTouchTool
and define a global keyboard shortcut which maps Command-H
to no-action
.
No app restart required.
See: BetterTouchTool
This tool is also useful to restore the original behavior of the red/orange/green window decorations in OSX
add a comment |
up vote
1
down vote
another way to do this is to use BetterTouchTool
and define a global keyboard shortcut which maps Command-H
to no-action
.
No app restart required.
See: BetterTouchTool
This tool is also useful to restore the original behavior of the red/orange/green window decorations in OSX
add a comment |
up vote
1
down vote
up vote
1
down vote
another way to do this is to use BetterTouchTool
and define a global keyboard shortcut which maps Command-H
to no-action
.
No app restart required.
See: BetterTouchTool
This tool is also useful to restore the original behavior of the red/orange/green window decorations in OSX
another way to do this is to use BetterTouchTool
and define a global keyboard shortcut which maps Command-H
to no-action
.
No app restart required.
See: BetterTouchTool
This tool is also useful to restore the original behavior of the red/orange/green window decorations in OSX
answered Jul 23 at 18:33
Tilo
32224
32224
add a comment |
add a comment |
up vote
0
down vote
Adding an answer based on the Edit: above as it took me a while to figure this out.
If you want to disable the ⌘-h shortcut you have to do it per-app.
First open the app, and confirm from the preferences what text option the shortcut is mapped to.
Using Kitty.app as an example, for me it's Hide kitty
.
Then you open System Preferences
and go to Keyboard
-> Shortcuts
-> App Shortcuts
and then click +
.
Limit it to the relevant app, enter Hide <yourappname>
(e.g. Hide kitty
in my case), and pick an obscure key combination. I use the section symbol because it's not in my default layout so I won't type it by mistake.
Now when you click on the Application's menu, you should see your new shortcut has been set, and ⌘-h will no longer hide that application.
Unfortunately there doesn't seem to be a way to do this for all apps.
See also this Apple Support Page
This might be obvious, but how are you supposed to actually type the section symbol into the shortcut field? You can't use option+6 because it'll just map the shortcut to that combination.
– taylorthurlow
Nov 1 at 19:18
@tay It was possible for me to make that combination on my UK layout keyboard, it might not work for you
– gib
Nov 5 at 14:48
@taylorthurlow you can just choose any shortcut you won't accidentally press (e.g. Cmd-Control-Option-Shift-). It can also be done via the command line.
– gib
Nov 5 at 15:05
add a comment |
up vote
0
down vote
Adding an answer based on the Edit: above as it took me a while to figure this out.
If you want to disable the ⌘-h shortcut you have to do it per-app.
First open the app, and confirm from the preferences what text option the shortcut is mapped to.
Using Kitty.app as an example, for me it's Hide kitty
.
Then you open System Preferences
and go to Keyboard
-> Shortcuts
-> App Shortcuts
and then click +
.
Limit it to the relevant app, enter Hide <yourappname>
(e.g. Hide kitty
in my case), and pick an obscure key combination. I use the section symbol because it's not in my default layout so I won't type it by mistake.
Now when you click on the Application's menu, you should see your new shortcut has been set, and ⌘-h will no longer hide that application.
Unfortunately there doesn't seem to be a way to do this for all apps.
See also this Apple Support Page
This might be obvious, but how are you supposed to actually type the section symbol into the shortcut field? You can't use option+6 because it'll just map the shortcut to that combination.
– taylorthurlow
Nov 1 at 19:18
@tay It was possible for me to make that combination on my UK layout keyboard, it might not work for you
– gib
Nov 5 at 14:48
@taylorthurlow you can just choose any shortcut you won't accidentally press (e.g. Cmd-Control-Option-Shift-). It can also be done via the command line.
– gib
Nov 5 at 15:05
add a comment |
up vote
0
down vote
up vote
0
down vote
Adding an answer based on the Edit: above as it took me a while to figure this out.
If you want to disable the ⌘-h shortcut you have to do it per-app.
First open the app, and confirm from the preferences what text option the shortcut is mapped to.
Using Kitty.app as an example, for me it's Hide kitty
.
Then you open System Preferences
and go to Keyboard
-> Shortcuts
-> App Shortcuts
and then click +
.
Limit it to the relevant app, enter Hide <yourappname>
(e.g. Hide kitty
in my case), and pick an obscure key combination. I use the section symbol because it's not in my default layout so I won't type it by mistake.
Now when you click on the Application's menu, you should see your new shortcut has been set, and ⌘-h will no longer hide that application.
Unfortunately there doesn't seem to be a way to do this for all apps.
See also this Apple Support Page
Adding an answer based on the Edit: above as it took me a while to figure this out.
If you want to disable the ⌘-h shortcut you have to do it per-app.
First open the app, and confirm from the preferences what text option the shortcut is mapped to.
Using Kitty.app as an example, for me it's Hide kitty
.
Then you open System Preferences
and go to Keyboard
-> Shortcuts
-> App Shortcuts
and then click +
.
Limit it to the relevant app, enter Hide <yourappname>
(e.g. Hide kitty
in my case), and pick an obscure key combination. I use the section symbol because it's not in my default layout so I won't type it by mistake.
Now when you click on the Application's menu, you should see your new shortcut has been set, and ⌘-h will no longer hide that application.
Unfortunately there doesn't seem to be a way to do this for all apps.
See also this Apple Support Page
answered Jun 3 at 15:04
gib
1114
1114
This might be obvious, but how are you supposed to actually type the section symbol into the shortcut field? You can't use option+6 because it'll just map the shortcut to that combination.
– taylorthurlow
Nov 1 at 19:18
@tay It was possible for me to make that combination on my UK layout keyboard, it might not work for you
– gib
Nov 5 at 14:48
@taylorthurlow you can just choose any shortcut you won't accidentally press (e.g. Cmd-Control-Option-Shift-). It can also be done via the command line.
– gib
Nov 5 at 15:05
add a comment |
This might be obvious, but how are you supposed to actually type the section symbol into the shortcut field? You can't use option+6 because it'll just map the shortcut to that combination.
– taylorthurlow
Nov 1 at 19:18
@tay It was possible for me to make that combination on my UK layout keyboard, it might not work for you
– gib
Nov 5 at 14:48
@taylorthurlow you can just choose any shortcut you won't accidentally press (e.g. Cmd-Control-Option-Shift-). It can also be done via the command line.
– gib
Nov 5 at 15:05
This might be obvious, but how are you supposed to actually type the section symbol into the shortcut field? You can't use option+6 because it'll just map the shortcut to that combination.
– taylorthurlow
Nov 1 at 19:18
This might be obvious, but how are you supposed to actually type the section symbol into the shortcut field? You can't use option+6 because it'll just map the shortcut to that combination.
– taylorthurlow
Nov 1 at 19:18
@tay It was possible for me to make that combination on my UK layout keyboard, it might not work for you
– gib
Nov 5 at 14:48
@tay It was possible for me to make that combination on my UK layout keyboard, it might not work for you
– gib
Nov 5 at 14:48
@taylorthurlow you can just choose any shortcut you won't accidentally press (e.g. Cmd-Control-Option-Shift-). It can also be done via the command line.
– gib
Nov 5 at 15:05
@taylorthurlow you can just choose any shortcut you won't accidentally press (e.g. Cmd-Control-Option-Shift-). It can also be done via the command line.
– gib
Nov 5 at 15:05
add a comment |
up vote
0
down vote
The (very non-ideal, but functional) way that I solved this problem is to use Alfred to define a global hotkey mapping CommandH to nothing. You could use any app capable of defining global hotkeys to do this (ex. BetterTouchTool or KeyboardMaestro).
Here's the Alfred workflow that I used:
add a comment |
up vote
0
down vote
The (very non-ideal, but functional) way that I solved this problem is to use Alfred to define a global hotkey mapping CommandH to nothing. You could use any app capable of defining global hotkeys to do this (ex. BetterTouchTool or KeyboardMaestro).
Here's the Alfred workflow that I used:
add a comment |
up vote
0
down vote
up vote
0
down vote
The (very non-ideal, but functional) way that I solved this problem is to use Alfred to define a global hotkey mapping CommandH to nothing. You could use any app capable of defining global hotkeys to do this (ex. BetterTouchTool or KeyboardMaestro).
Here's the Alfred workflow that I used:
The (very non-ideal, but functional) way that I solved this problem is to use Alfred to define a global hotkey mapping CommandH to nothing. You could use any app capable of defining global hotkeys to do this (ex. BetterTouchTool or KeyboardMaestro).
Here's the Alfred workflow that I used:
answered Aug 27 at 6:06
Ari Porad
101
101
add a comment |
add a comment |
up vote
0
down vote
Adding yet another option:
If you use the Karabiner app (extremely useful in its own right -- for example, you can add VIM-style navigation with Ctrl+h/j/k/l, or map the Escape key to Caps Lock), there is a "Complex Modification" that disables command-h window hiding. Install the app and see the listing: Prevent unintended command-h hide window on this page.
add a comment |
up vote
0
down vote
Adding yet another option:
If you use the Karabiner app (extremely useful in its own right -- for example, you can add VIM-style navigation with Ctrl+h/j/k/l, or map the Escape key to Caps Lock), there is a "Complex Modification" that disables command-h window hiding. Install the app and see the listing: Prevent unintended command-h hide window on this page.
add a comment |
up vote
0
down vote
up vote
0
down vote
Adding yet another option:
If you use the Karabiner app (extremely useful in its own right -- for example, you can add VIM-style navigation with Ctrl+h/j/k/l, or map the Escape key to Caps Lock), there is a "Complex Modification" that disables command-h window hiding. Install the app and see the listing: Prevent unintended command-h hide window on this page.
Adding yet another option:
If you use the Karabiner app (extremely useful in its own right -- for example, you can add VIM-style navigation with Ctrl+h/j/k/l, or map the Escape key to Caps Lock), there is a "Complex Modification" that disables command-h window hiding. Install the app and see the listing: Prevent unintended command-h hide window on this page.
answered Sep 2 at 21:53
Luke Davis
1137
1137
add a comment |
add a comment |
up vote
0
down vote
Overriding keyboard shortcuts Via macOS Terminal
In this example, I change the "Open Viewer" menu option in Apple Photos to "Space", like it used to be pre-2017:
defaults write com.apple.Photos NSUserKeyEquivalents -dict-add "Open Viewer" -string " "
Reset to defaults:
defaults delete com.apple.Photos NSUserKeyEquivalents
Change the global shortcut for "Preferences" to "⌘ + p" (the "-g" option means "Global", and "@" translates to "⌘"):
defaults write -g NSUserKeyEquivalents -dict-add "Preferences" -string "@\p"
A word of warning though:
Do not paste this into your Terminal window if you don't feel comfortable with altering the default settings of macOS apps, or if you don't fully understand what it means.
add a comment |
up vote
0
down vote
Overriding keyboard shortcuts Via macOS Terminal
In this example, I change the "Open Viewer" menu option in Apple Photos to "Space", like it used to be pre-2017:
defaults write com.apple.Photos NSUserKeyEquivalents -dict-add "Open Viewer" -string " "
Reset to defaults:
defaults delete com.apple.Photos NSUserKeyEquivalents
Change the global shortcut for "Preferences" to "⌘ + p" (the "-g" option means "Global", and "@" translates to "⌘"):
defaults write -g NSUserKeyEquivalents -dict-add "Preferences" -string "@\p"
A word of warning though:
Do not paste this into your Terminal window if you don't feel comfortable with altering the default settings of macOS apps, or if you don't fully understand what it means.
add a comment |
up vote
0
down vote
up vote
0
down vote
Overriding keyboard shortcuts Via macOS Terminal
In this example, I change the "Open Viewer" menu option in Apple Photos to "Space", like it used to be pre-2017:
defaults write com.apple.Photos NSUserKeyEquivalents -dict-add "Open Viewer" -string " "
Reset to defaults:
defaults delete com.apple.Photos NSUserKeyEquivalents
Change the global shortcut for "Preferences" to "⌘ + p" (the "-g" option means "Global", and "@" translates to "⌘"):
defaults write -g NSUserKeyEquivalents -dict-add "Preferences" -string "@\p"
A word of warning though:
Do not paste this into your Terminal window if you don't feel comfortable with altering the default settings of macOS apps, or if you don't fully understand what it means.
Overriding keyboard shortcuts Via macOS Terminal
In this example, I change the "Open Viewer" menu option in Apple Photos to "Space", like it used to be pre-2017:
defaults write com.apple.Photos NSUserKeyEquivalents -dict-add "Open Viewer" -string " "
Reset to defaults:
defaults delete com.apple.Photos NSUserKeyEquivalents
Change the global shortcut for "Preferences" to "⌘ + p" (the "-g" option means "Global", and "@" translates to "⌘"):
defaults write -g NSUserKeyEquivalents -dict-add "Preferences" -string "@\p"
A word of warning though:
Do not paste this into your Terminal window if you don't feel comfortable with altering the default settings of macOS apps, or if you don't fully understand what it means.
answered Nov 25 at 14:27
Andreas
413
413
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1043596%2fmac-osx-remove-hide-window-keyboard-shortcut%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
That won't override an existing command. As every app has a different command for Hide, e.g., Hide Safari, Hide TextEdit, etc., you can't do it that way either. You'll need something like Karabiner or BetterTouchTool
– Tetsujin
Feb 21 '16 at 13:47