6

I realize the default of the Nemo's right-click "Open in Terminal" is to launch "gnome-terminal", however, my installation is opening "xfce4-terminal" instead.

A while back when "gnome-terminal" was broken, I installed "xfce4-terminal" as an alternative. I configured the system-wide defaults to call "xfce4-terminal" for the terminal.

After the issue with Gnome-terminal was resolved, I moved the system-wide defaults back to Gnome-terminal. Nautilus starting using Gnome-terminal again, however Nemo continues to only launch "xfce4-terminal".

I uninstalled "xfce4-terminal" then the "Open in a Terminal" feature of Nemo stopped working.

In attempts to resolve this issue I have done the following:

  • ReInstalled Ubuntu 16.04
  • Purged and reinstalled Nemo

Nemo still will only launch "xfce4-terminal". It appears to be a problem with in my home folder's Nemo configuration or some other per user cache.

Creating a new user, and Nemo properly launches "Gnome-Terminal".

Can someone help me with where to check and fix Nemo's functionality in my '/home/username` settings.

Is there some type of editible configuration to check what happens when clicking on the "Open in Terminal" function?

12

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 James' suggestion above didn't work for me. So I took a look at Nemo's source code, and in 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 to Nautilus and since I'm using Gnome3 instead of Cinnamon, for me this schema didn't even exist. After issuing the following command, the 'Open in Terminal' action opens gnome-shell, in the correct directory.

$ gsettings set org.cinnamon.desktop.default-applications.terminal exec gnome-shell 
  • I don't understand how executing gnome-shell with bring up a preferring terminal emulator. I tested what would happen if the command gnome-shell was executed. It doesn't bring up a terminal. On the particular computer running the test it returned this error message: org.gnome.Shell already exists on bus and --replace not specified. It appears that you misunderstood the question. I run Ubuntu, 16.04 at the time... currently 18.04 functions properly with the same schema. By the way, default setting is x-terminal-emulator, which brings up gnome-terminal. – L. D. James Jan 21 at 23:53
9

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
2

On Xubuntu 18.10 this helps me (I use sakura as a terminal):

$ gsettings set org.cinnamon.desktop.default-applications.terminal exec sakura

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.