How to configure Nemo's right-click "Open in Terminal" to launch "gnome-terminal"
Google brought me here, so I'm reviving this thread in hope of saving at least one person from a few unnecessary headaches.
I'm using Debian and the suggestion from L. D. James here didn't work for me. So I took a look at Nemo's source code, and on line 132 of nemo-global-preferences.c I found that the (upstream) config schema is the following:
org.cinnamon.desktop.default-applications.terminal
I'm using Nemo as a substitute for Nautilus, and since I'm using Gnome3 instead of Cinnamon, for me this schema didn't even exist. So, I created it with the following command. After issuing this command, the 'Open in Terminal' action opens gnome-shell
, in the correct directory:
gsettings set org.cinnamon.desktop.default-applications.terminal exec gnome-shell
Just replace gnome-shell
in the command with whatever terminal you'd like to use. Ex: for gnome-terminal
, use:
gsettings set org.cinnamon.desktop.default-applications.terminal exec gnome-terminal
And for terminator
(sudo apt install terminator
) use:
gsettings set org.cinnamon.desktop.default-applications.terminal exec terminator
Nemo uses the gsettings configuration. This restored the intended behavior:
$ gsettings set org.gnome.desktop.default-applications.terminal exec gnome-terminal
On Ubuntu it's different for some reason:
$ gsettings set org.cinnamon.desktop.default-applications.terminal exec gnome-terminal
On Xubuntu 18.10 this helps me (I use sakura as a terminal):
$ gsettings set org.cinnamon.desktop.default-applications.terminal exec sakura