I feel really stupid asking this question now, but I can’t figure it out.
I try to use Alacritty my as Terminal Emulator. I already changed the hotkey, but can’t figure out how to make file explorers or terminal editors use Alacritty instead Xfce-Terminal.
I tried setting the TERMINAL environment variable and fiddling around with xdg- unsuccessfully (although I do not really understand xdg, so maybe using xdg is the right idea but I can’t do it).
I installed xfce-settings, did the changes, loged out and back in. Default terminal is still xfce-terminal. But my icon and gtk theme got reset, so it is “working”
Just the opposite from how I wanted it.
Some File managers have a specific setting for the default Terminal Emulator (TE) to start when they provide an Open Terminal Here feature.
Others do not provide such function, but provide an Actions feature, where you can write your preferred application manually.
Others use a hardcoded app, while there maybe others that might use $TERMINAL (I don’t know though)
You have found it. Usually shortcuts are customizable, so it’s easy to work it out.
Applications that run in Terminal by default (Terminal=true in the .desktop file)
It depends on the DE.
In general, this issue is mostly dealt with in WM type sessions (i3, BSPWM, etc.), where each of them use their own workarounds, if any. For example, i3 uses i3-default-terminal IIRC, which tries to find the 1st installed TE, from a hard-coded list. A similar thing is done from EnOS utilities (RunInTerminal, IIRC).
Debian based distros use a special app/script/package called x-terminal-emulator.
If you use PCmanFM(-Qt), there must be a configuration in the FM. LxQt does the same IIRC.
Alright, thank you. I have to say, it’s annoying. I mean, the BSPWM guys somehow managed to make xfce-terminal the default? Why can’t i change that? Or does xfce-terminal make itself the default terminal? Still marking your post as solution, since it provides a good overview for everyone with relating problems.
There is no such thing as default terminal, as I explained.
Think about how you try to invoke a default terminal. Then, read again my previous post and ask yourself again what you want to happen and when.
If you can’t figure it out, ask a better question here, so you might get what you want, or what you need.
It’s the termimal that is launched when I open neovim from rofi, or when I open the hotkey overview from polybar. At the moment, both open xfce-terminal (and then open neovim/less in it). And i want this terminal to be Alacritty.