How to reproduce: * Open C++ source with Thunar using Vim Happened: Vim opened in xterm Expected: Vim opened in default terminal emulator (xfce4-terminal in my case) Distro: Ubuntu 16.04 Version: Thunar 1.6.10
Thunar uses g_app_info_launch to run applications. For terminal applications, it will look for gnome-terminal, xterm and other hardcoded terminal emulators and try to run using them https://gitlab.gnome.org/GNOME/glib/blob/d0364b443805dcb832c200fcf8bf58a64fdf3e7d/gio/gdesktopappinfo.c#L2476
*** This bug has been marked as a duplicate of bug 14309 ***