3 ms·
I guess I installed Alacritty right away on this new computer, so I have just found and tested the GNOME Terminal option. You just open Preferences from the ham
by abrowne 6y ago
I guess I installed Alacritty right away on this new computer, so I have just found and tested the GNOME Terminal option. You just open Preferences from the hamburger menu, choose Shortcuts on the left, and find "Copy Ctrl+Shift+C". Double-click the Ctrl+Shift+C part and press Ctrl+C.
And I should say I'm not sure if it's sending SIGINT or actually Ctrl+C (or if that's even different). I learned just enough of this to make it work :-) But before, if I started top, I could press Ctrl+C to quit it. Now I can press Ctrl+Shift+C to quit it, and pressing Ctrl+Shift+C on a bash prompt prints "^C" and I get a new line.
For Alacritty, here's what I've changed
- { key: V, mods: Control, action: Paste }
- { key: C, mods: Control, action: Copy }
- { key: C, mods: Control|Shift, chars: "\x03" }
- { key: W, mods: Control, chars: "\x04" }
- { key: N, mods: Control, action: SpawnNewInstance }
The xkb option for PCs is altwin:ctrl_alt_win, I think it's the "Control is mapped to Alt keys, Alt is mapped to Win keys" option if you use GNOME Tweaks, under Alt/Win key behavior. For a Mac keyboard, ctrl:swap_lwin_lctl,ctrl:swap_rwin_rctl, "Swap Left Win key with Left Ctrl key" under Ctrl key position.