Changing the default terminal in Lubuntu 20.04

This is terrifically over-complicated.

I used to just remove lxterminal and symlink gnome-terminal over.

I'm testing out the "proper" way nowadays.  Here's 3 steps to do it:

1. PCManFM-Qt

Go to preferences > Advanced > change the Terminal emulator

2. Change the global shortcut Ctrl-Alt-T

The GUI way to do it (using LXQt Settings > Shortcut Keys) does NOT work.

You have to change the ~/.config/openbox/lxqt-rc.xml config file (or lxde-rc.xml for older Lubuntu), replacing the default qterminal with gnome-terminal.

3. Update-alternatives

Also in terminal, select gnome-terminal as prompted after running:

sudo update-alternatives --config x-terminal-emulator
sudo update-alternatives --set x-terminal-emulator /usr/bin/gnome-terminal.wrapper

Doing the above three things is the correct way* to do what's suggested here but which has documented the GUI global shortcut change method which doesn't work in Lubuntu 20.04 (and maybe even earlier versions).

No comments: