summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2017-08-25 13:36:31 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-27 22:29:45 +0100
commitc7f769bd400756d180abf80dbfdf4ed2703fab60 (patch)
tree61839f49e8cb22a4068e3fbf4ebe5938ab63c106
parent6b0cf568e9fbe28fb6e7b17f4ad92348d33e2bf4 (diff)
downloadopenembedded-core-contrib-c7f769bd400756d180abf80dbfdf4ed2703fab60.tar.gz
openembedded-core-contrib-c7f769bd400756d180abf80dbfdf4ed2703fab60.tar.bz2
openembedded-core-contrib-c7f769bd400756d180abf80dbfdf4ed2703fab60.zip
terminal.py: fix devshell with mate-terminal
Without the --disable-factory option, mate-terminal fails to start with the error: | There was an error creating the child process for this terminal | Failed to execute child process "oe-gnome-terminal-phonehome" (No such file or directory) The --disable-factory option was removed by: http://git.openembedded.org/openembedded-core/commit/?id=e8dca725ed8211a874472300a3ed50e494039ab9 apparently based on an assuption that mate-terminal continues to track gnome-terminal since forking from it. However, based on the mate-terminal man page in the upstream master branch, the option is still supported: https://github.com/mate-desktop/mate-terminal Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oe/terminal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py
index 714772f741..89ddb4671a 100644
--- a/meta/lib/oe/terminal.py
+++ b/meta/lib/oe/terminal.py
@@ -65,7 +65,7 @@ class Gnome(XTerminal):
XTerminal.__init__(self, sh_cmd, title, env, d)
class Mate(XTerminal):
- command = 'mate-terminal -t "{title}" -x {command}'
+ command = 'mate-terminal --disable-factory -t "{title}" -x {command}'
priority = 2
class Xfce(XTerminal):