Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
49
rated 0 times [  49] [ 0]  / answers: 1 / hits: 70416  / 1 Year ago, sat, december 10, 2022, 10:51:11

The nautilus-open-terminal package adds a menu/right-click option to open a terminal in the current directory.



I want to change this from opening gnome-terminal to opening terminator. There is some advice on changing the default terminal emulator here, however these instructions do not appear to be valid any more, and I can't find any place in the system settings where the default emulator can be changed.



I also tried:



$ sudo update-alternatives --config x-terminal-emulator


choosing



* 0            /usr/bin/terminator               50        auto mode


But this does not appear to have any effect. Any idea how I can get this to work?


More From » nautilus

 Answers
4

Ubuntu 13.04: (in case you came here via google)


You can't change the terminal app used anymore.


Details:
nautilus-open-terminal uses GAppInfo to launch the terminal process, which uses a hard coded list of terminal emulators: https://gitlab.gnome.org/GNOME/glib/-/blob/main/gio/gdesktopappinfo.c#L2581


Solution:



  1. Remove gnome-terminal:


    sudo apt-get remove gnome-terminal


  2. Symlink terminator to gnome-terminal:


    sudo ln -s /usr/bin/terminator /usr/bin/gnome-terminal



[#42231] Sunday, December 11, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
itchlos

Total Points: 486
Total Questions: 115
Total Answers: 110

Location: Macau
Member since Fri, Apr 28, 2023
1 Year ago
;