keyboard shortcut to access emacs gui top menu in linux - user-interface

what are the keys to access file/edit/options/buffers/tools/help menu bar items? There are a zillion emacs key combos and only the mouse can get to those. :?

Not quite the same since you said "gui", but you can also use M-` to go through a menu selection dialog in the minibuffer. This keystroke is also beneficial when running emacs in a terminal.

If you're using the GUI version, you should be able to use F10 to access the menu, and the cursor keys to navigate. You can bind a key to it with the function menu-bar-open.

Related

How to disable the Win key if it's the only key being pressed using AutoHotkey?

I often find myself tapping the Win key by mistake, how to disable it when it's the only key being pressed using AutoHotkey?
In other words, tapping Win shouldn't bring up the start menu, but the Win key combination shortcuts should still work, e.g. pressing Win+X should open the quick link menu.
Quote from #MenuMaskKey:
The Start Menu (or the active window's menu bar) can be suppressed by sending any keystroke. The following example disables the ability for the left Win to activate the Start Menu, while still allowing its use as a modifier:
~LWin::Send {Blind}{vkE8}
Quote from Blind mode:
The Blind mode can be enabled with {Blind}, which gives the script more control by disabling several things that are normally done automatically to make things work as expected.
~LWin::Send {vkE8} may not work in some cases without {Blind}.

How to unbind Command-Control-Space key from Mac OS X 10.9?

How can I unbind Command-Control-Space from Mac OS X 10.9?
This shortcut shows Special Characters table and conflicts with my Emacs key binding, and I couldn't disable it from System Preference->Keyboard->Shortcuts.
Thanks.
At least on macOS Sierra to macOS Big Sur ⌃Space is the default binding for Select the previous input source which is on by default (even if only one input source is activated).
You can free it by:
Open System Preferences
Go to Keyboard > Shortcuts > Input Sources
Untick "Select the previous input source"
Afterwards, you should be able to bind it as expected.
You can create custom keyboard shortcuts for most app's menubar choices in System Preferences. If a desired key combination is losing precedence to a default shortcut that you don't use and can't easily disable, simply override it with a new, unobtrusive shortcut.
Open System Prefs / Keyboard / Shortcuts. Select App Shortcuts from the left pane. Toggle the All Applications category's triangle in the main window to point downward (if it's not open already).
If there's an item named Emoji & Symbols* shown there, then click its shortcut combination and enter a new shortcut (such as option-shift-command-t, in this case).
If there's not an item named Emoji & Symbols under All Applications, click the + button at the bottom, type or copy-paste Emoji & Symbols, and then enter a new keyboard shortcut (option-shift-command-t, or anything really). This will free the control-command-space combination for you to use as a specialized shortcut elsewhere.
To remove your custom shortcut, just click to highlight it in the main window of this preference pane, and click the – button at the bottom. The custom shortcut will disappear and the default action will resume.
*Note: On versions older than Mac OS 10.10.3, the menu item is called Special Characters… instead of Emoji & Symbols.
I don't know of any way to disable this, but an alternative option might be to create a shortcut for the app you want to use that in. I created a Command-Control-Space shortcut for Chrome and now Command-Control-Space doesn't bring up the special character palette anymore in Chrome.
failing that you may be better off asking in Apple Stackexchange

How to rebind arrow keys for navigation in tools VS2010

I have changed navigation of cursor in text editor as described in this question Rebinding the arrow keys in VS2010
I can't find same shortcuts for other windows.
For example navigation up/down in solution explorer.
Does anyone know if it is possible to change these shortcuts?
Thanks.
Here is an article that features how to activate arrow keys(plus home and end keys) globally for all programs on the main keyboard via changing Caps Lock key behavior.

Mac OS keyboard shortcut to toggle two menu items

I am working on a dedicated keyboard shortcut controller for a specific app, Avid's Pro Tools. There is a default keyboard shortcut that toggles the view of two windows, "Mix" and "Edit."
Both of these commands have entries on the Window menu in the app. However, there is a little check next to the window that is active, and a little diamond next to the window that isn't. So these switch as the window is toggled (by the single keyboard shortcut).
I'm looking for a way to program a different key using the Mac OS System Application shortcuts. When I assign a new keyboard shortcut to the "Mix" and "Edit" menu items, I don't get the toggle behavior, it just causes the first item in the menu to be active. This makes sense, as it is getting two commands at once. To get the behavior I want now I have to use two keyboard shortcuts, which breaks a UI convention in Pro Tools. Any suggestions appreciated!

Emacs on Mac OS X Lion - what about the Ctrl and Alt touch?

How can I hold Ctrl and arrow key up/down to move fast in my code? Because this is a shortcut in OS X.
How can I use alt (meta) touch? Emacs doesn't recognize option or command key?
For the Control key shortcuts, you're probably best off using the Keyboard section of the System Preferences to disable any Ctrl+Arrow shortcuts. I changed all the Control key system shortcuts to use Control, Option and Command together, which is easy enough to hit (particularly on a full-size keyboard) while being much less likely to conflict with emacs.
As for the Meta key, if you are using terminal emacs, you may just have to put up with slightly poor modifier key support. (I've found a number of shortcuts to simply not work, even after playing with the terminal preferences. The terminal system is just slightly limited, it seems.) The easiest solution is to use the Esc prefix key instead of Meta - so instead of holding Meta and tapping the key, you tap Esc, and then tap the key. So for M-x, say, you would type ESC x. This is sometimes annoying (e.g., M-f and M-b aren't so convenient any more...), but it certainly does work.
If you can, I recommend switching to the GUI version of OS X emacs, which has none of these problems.
To make the option key work:
In the terminal settings 'CMD-,' click 'Profiles -> Keyboard -> Use Option as a modifier key'.

Resources