Hacker News new | ask | show | jobs
by mandarg 2491 days ago
This has been my experience exactly.

I switched from Linux to OSX/MacOS around eight years ago, and the better and (to me) more intuitive modifier keys have been one of the features that have kept me there; along with the convenience of Emacs/Readline keybindings for text editing everywhere.

Getting keybindings to work the same way in Linux currently involves a Rube Goldberg setup of GTK3 key themes [1] and AutoKey [2] for me, and some things still don't work right (Super-W closing a single tab in Firefox/Chrome, etc.) Also, it looks like key themes are going away in GTK4 [3].

The Hawck daemon cited elsewhere in the conversation looks promising, maybe that'll work better.

[1] http://shallowsky.com/blog/linux/gtk3-emacs-key-theme.html

[2] https://github.com/autokey/autokey

[3] https://gitlab.gnome.org/GNOME/gtk/issues/1669

2 comments

It’s weird to me to use Super to close a tab rather than for the desktop environment. Super is very consistent on my DE of choice: it’s not for application specific keyboard shortcuts, but for keyboard shortcuts of the window manager. That way there are never any collisions and things are easy to remember.
> Super-W closing a single tab in Firefox

If, in about:config, you set ui.key.accelKey to 91, then Super-W will close a single tab (and Super-T will open a single tab etc.). This obviously won't work in Chromium, though.