Open jfernandez opened 1 week ago
@jfernandez
Window movement and workspace navigation shortcuts are difficult to get right. Every desktop environment has different shortcuts for that, and I'm not actually that familiar with the shortcuts for things like that in macOS because I didn't use shortcuts for that. I know there aren't tiling shortcuts natively in macOS.
Anyway, for part of that functionality there is the Ctrl+Cmd+F
shortcut from macOS, which toggles the maximized window state.
I found a lot of references in the config file for shortcuts like Super-Left/Right
but they are all labeled as having to do with workspace navigation, not tiling. (Edit: This is because Super
is on the physical Ctrl
key.) Yet in KDE they do move windows around instead of shifting workspaces, and I seem to remember those shortcuts moving windows in GNOME as well. So I think I need to fix that for KDE at least.
How you resolve this for GNOME on your own machine kind of depends on you. The first thing to try is using physical Ctrl+Left/Right
to see what happens, because the Meta/Super/Win modifier moves to the physical Ctrl key. Except in terminal apps, where a remap from LC
is necessary to get back specific Super key shortcut combos.
The Option/Alt
key position that would normally have the Meta/Super/Win key functionality is of course dedicated to other things in macOS, like wordwise navigation. Option-Left/Right
should move the cursor one word to the left or right, for instance.
You can override a lot of things with your own custom keymaps, so the question is exactly what you want to do here. Is using the Ctrl key OK, or do you want to potentially lose the functionality of some common macOS shortcuts to keep the GNOME tiling on the physical Super key?
For my own reference, here's a current Apple support page that mentions the keyboard shortcuts for navigating between workspaces:
https://support.apple.com/en-ca/guide/mac-help/mh14112/mac
The only shortcut mentioned is Ctrl+Left/Right
. There are no shortcuts listed for moving windows between workspaces in macOS.
And there are apparently window tiling shortcuts in macOS, but unfortunately they all involve the use of the Fn
key, which is not normally a key that is available on PC keyboards to be used in keyboard shortcuts (because the OS can't "see" the Fn
key being pressed on most PC keyboards).
https://support.apple.com/en-ca/guide/mac-help/mchl9674d0b0/mac
On the other hand, with Apple keyboards, those shortcuts could theoretically be made available in the default config file, because the Fn
key on Apple keyboards is just a regular key the keymapper can "see".
I'm trying to get the following Gnome shortcuts working:
They stop working after installing toshy in Fedora/Ubuntu.