Bug 1096011
Summary: | Launches desktop items in gnome-terminal or xterm | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | John Morris <jmorris> |
Component: | glib2 | Assignee: | Matthias Clasen <mclasen> |
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 20 | CC: | fedora, mclasen, patrick, stefano |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-04-09 03:17:15 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
John Morris
2014-05-09 05:14:16 UTC
Without to know which command you used exactly it's difficult to reproduce the issue. A vim or shh only command doesn't open any terminal here, xterm and gnome-terminal are installed. But why not creating launchers with a command line like this? mate-terminal -e 'ssh 192.168.101.240' mate-terminal -e vim /home/rave/test5 An example: [Desktop Entry] Version=1.0 Encoding=UTF-8 Name=Odin Name[en_US]=Odin Exec=ssh odin.beau.lib.la.us Icon=/usr/share/pixmaps/gnome-term.png Terminal=true MultipleArgs=false Type=Application Comment= Path= StartupNotify=false Yes I could just modify them all to add an explicit call to mate-terminal but that would just be a workaround. I already worked around it by nuking gnome-terminal and adding a symlink. Now it is time to report the bug and fix it right for everyone else. The whole point of the Terminal= line in a .desktop file is to let the system fire up the DEFAULT terminal emulation. The idea being that switching from GNOME to XFCE automatically lauched those items in it's xterm replacement and now switching to MATE should do likewise. And so on. Oh, I already looked and the phrase 'gnome-terminal' doesn't appear anywhere in the tarball. It appears to look for six other explicitly named terminals, yet it somehow is getting gnome-terminal. So I gave up on providing a patch at that point. :) John, please paste output of gsettings get org.mate.applications-terminal exec Ok, I understand the problem, we use glib to launch desktop files, and glib has this hackish function: https://git.gnome.org/browse/glib/tree/gio/gdesktopappinfo.c#n2393 re-asigned to glib, maybe it helps. I'm not 100% sure about that, but caja now seems to use mate_desktop_prepend_terminal_to_vector() which is supposed to try the preferred terminal first... However this bug still occurs in rawhide :-( Just my 2 cents. Lets keep this discussion in the upstream bug, https://bugzilla.gnome.org/show_bug.cgi?id=627943 |