TLDR: I want to run Midnight Commander as default File manager, I need to know how to change default terminal for Terminal=true
from xterm to anything else. pantheon-terminal seems to be not suitable.
So now I've set midnight commander as my default File manager but it keeps opening in xterm. I cannot find a way to change it to elementary terminal emulator anywhere.
I've loosely rgrep'd /usr/share
directory but could not find anything relevant, same for /etc
.
update-alternatives
lists default terminal emulator as io.elementary.terminal
so the problem shouldn't be there.
Also when I run io.elementary.terminal --new-window --execute=mc
it opens new window AND new tab (two tabs total: one with shell, other with mc
). Besides that I cannot be sure how it handles spaces in path names to add the command directly to the Exec=
line. Should I write elementary terminal off completely?
When the elementary terminal starts like that it reports its height as 1 row, because of that mc quits and reports that it does not support that height. It seems that whatever I do it always starts a shell.
versions:
mc/bionic,now 3:4.8.19-1 amd64 [installed]
pantheon-terminal/bionic,now 5.5.1+r1640+pkg72~ubuntu5.1.2.1 amd64 [installed,automatic]