basecamp / omakub

Opinionated Ubuntu Setup
https://omakub.org
4.13k stars 330 forks source link

start Alacritty from CRTL+ALT+t #119

Closed khebbie closed 2 months ago

khebbie commented 2 months ago

First of all: what a cool project - thx for all the hard work.

In ubuntu the shortcut CTRL+ALT+T starts the terminal, and it works fine in omakub, however since the alacritty is the default terminal, maybe the shortcut should start alacritty.

khebbie commented 2 months ago

it seems these commands does the trick sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator $(which alacritty) 50 sudo update-alternatives --config x-terminal-emulator

I have not yet taken the time to understand how omakub is structured, but might look into it.

Got the commands from this gits https://gist.github.com/aanari/08ca93d84e57faad275c7f74a23975e6

dhh commented 2 months ago

Yeah, I've been going back and forth over this. I'm not sure it's worth changing, because you may still want the gnome terminal in some circumstances. And in any case, we've standardized on the alt+[number] and shift+alt+[number] as hotkeys for switching between and starting apps. So think that'll do for now. Of course totally fine for anyone to make this alteration after the fact!