Change default terminal in Ubuntu/Debian with Openbox

less than 1 minute read

I want to experiment a bit with other terminal emulator as I have always used Terminator.

I choose Alacrity and find that there are some obstacles to change system default terminal.

Here are those troubles and how I have solved them.

1. It is not in system terminal list

Because I install it manually, I have to add it to the list myself.

sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator /usr/bin/alacritty 50

Then switch default termianl to Alacrity.

sudo update-alternatives --config x-terminal-emulator

2. Thunar

I use Thunar without the Xfce DE, so I have to change xfce4 config file manually, so that I have Alacrity to open in ‘Open terminal here’ context menu.

Open ~/.config/xfce4/helpers.rc and change “TerminalEmulator=terminator” to “TerminalEmulator=alacrity”.

3. Obmenu generator

Change the terminal entry in the schema (~/.config/obmenu-generator/

{item => ['alacritty',            'Terminal',     'utilities-terminal']},

4. Openbox rc.xml

Change this binding.

    <keybind key="W-t">
      <action name="Execute">

Leave a comment