After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 703498 - Support more Terminal Emulators
Support more Terminal Emulators
Status: RESOLVED DUPLICATE of bug 627943
Product: glib
Classification: Platform
Component: gio
2.37.x
Other Linux
: Normal minor
: ---
Assigned To: gtkdev
gtkdev
: 703665 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-07-02 23:21 UTC by d.f.fischer
Modified: 2014-05-12 15:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
add support for evilvte and terminator (1.10 KB, patch)
2013-07-02 23:21 UTC, d.f.fischer
none Details | Review
Updated patch for glib 2.40.0 (1.14 KB, patch)
2014-05-12 15:04 UTC, d.f.fischer
none Details | Review

Description d.f.fischer 2013-07-02 23:21:08 UTC
Created attachment 248263 [details] [review]
add support for evilvte and terminator

When I uninstalled gnome-terminal switching to evilvte, a lightweight terminal emulator, nautilus-open-terminal stopped working, notifying me that xterm could not be found. Desktop entries that specify 'Terminal=true' also failed to run silently.

xterm is indeed not installed on my system, but evilvte supports the same '-e' switch that xterm uses to execute a given command. Users of the emulator terminator report the same problem.

Inspecting the code, I found that the issue lies with glib. Installed terminal emulators are searched using a trail-and-error-approach in the function prepend_terminal_to_vector in gio/gdesktopappinfo.c. The attached patch should fix this by also searching for terminator and evilvte executables with lowest priority.

Steps to reproduce:
1) Uninstall any other terminal emulator apart from evilvte or terminator.
2) Try to open a terminal anywhere using the nautilus-extension open-terminal.
Comment 1 Matthias Clasen 2013-08-18 01:58:17 UTC
*** Bug 703665 has been marked as a duplicate of this bug. ***
Comment 2 Bastien Nocera 2013-10-31 11:37:24 UTC
This shouldn't be necessary at all, glib should have a schema to select the default terminal emulator instead.

*** This bug has been marked as a duplicate of bug 627943 ***
Comment 3 d.f.fischer 2014-05-12 15:04:05 UTC
Created attachment 276388 [details] [review]
Updated patch for glib 2.40.0