News for hackers. Stuff that matters.
Re:What's new in Ubuntu 19.04 by elcritch on Friday April 19, 2019 @09:33AM (#19699445)
Thanks! That `ModifierOnlyShortcuts` works great for disabling the kde menu. It's annoying as otherwise the windows key is switched to the `alt` key for most things but randomly pops up that menu.

> What's nice with KDE is that you can use the application window settings to force passing all keyboard shortcuts to the apps. So for example KDE shortcuts don't override emacs ones when emacs has the focus.

Oddly I want the opposite, at least for 95% of the apps. That's where I find the MacOS command-key as a generally a superior solution. `Ctrl-F` and `Cmd-F` don't conflict.

As mentioned before on MacOS (OS X) you only need to add a couple of text files to the key-bindings subsystem to add broad support for "emacs like" keybindings to every (default) text field [1,2]. So shortcuts like `Ctrl-Y` does replace-yank, `Ctrl-P` does line up, `Alt-F` word-forward, etc. KDE has shortcuts for those but they don't affect Firefox or Chrome, etc. It's _really_ annoying now that I have the muscle memory for those basics Emacs ops, but can't use them in Jupyter notebooks or similar in Linux, or the email client, or whatever random app comes up. Sure the shell uses them, but typing a message in Slack doesn't.

I had hopes the "Pop! OS" people would do something similar to the OS X/Cocoa sub-system, but they seem to be stuck in the same mode of copying the inconsistent mishmash of Windows and old-school Unix shortcuts. Seriously, that one MacOS feature keeps me switching back to my MacBook despite having a much faster Linux desktop, bigger screen and all of that.

1: http://simonganz.com/2013/06/add-emacs-key-bindings-to-mac-o... 2: http://ttscoff.github.io/KeyBindings/

There are no comments on this comment yet.