exo-open doesn't respect default terminal without --launch flag
My default terminal is configured in ~/.config/xfce4/helpers.rc:
TerminalEmulator=custom-TerminalEmulator
and ~/.local/share/xfce4/helpers/custom-TerminalEmulator.desktop:
X-XFCE-CommandsWithParameter=alacritty --command %s
Furthermore, text files are associated with the nvim editor:
$ xdg-mime query default text/plain
nvim.desktop
which is a terminal application, i.e. /run/current-system/sw/share/applications/nvim.desktop:
Terminal=true
In the following cases, nvim is correctly opened within alacritty:
- launching
nvim.desktopfrom the applications menu inxfce4-panel - launching
nvim.desktopviaxfce4-appfinder - executing
exo-open --launch TerminalEmulator nvim
But in the following cases, nvim is incorrectly opened within xfce4-terminal:
- executing
exo-open /run/current-system/sw/share/applications/nvim.desktop - double-clicking a
myfile.txtfile inthunar - executing
exo-open myfile.txt
I tried this with exo-open 4.18.0
Edited by Sébastien Hoffmann