How to change default terminal for apps?

Hello! I installed EndeavouгOS i3 on my laptop, and I have a question - how to change the default terminal in the system? that is, if you run weechat or neovim from under the d-menu - then it will start in xterm with a broken Russian-language encoding.

Maybe have a look at your config file. Note: the other terminal application must be installed.

~/.config/i3/config

https://discovery.endeavouros.com/window-tiling-managers/i3-wm/2021/03/

The i3 config file only affects the key binding for a terminal, not the default terminal for the system. But you did point them in the right direction with the link.

default Terminal-Emulator = xfce4-terminal

  • This is set also inside ~/.profile (export TERMINAL=xfce4-terminal) so remind to change it there too if you want to change4 default terminal.

Instructions

  • Open and edit /home/username/.profile and/or /home/username/.bashrc/ and/or /home/username/.zshrc
  • Add the following line and save
export TERMINAL=alacritty  # Replace with your preferred terminal
  • Log out and log back in

You may also use a settings manager, like XFCE, Cinnamon, Gnome, or KDE.

Not sure why the OP’s default is set to xterm, though. Maybe they did a custom installation and made a mistake?

Thank you!

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.