diff options
author | Jacob Kroon <jacob.kroon@mikrodidakt.se> | 2013-12-30 19:17:58 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-09 11:04:15 +0000 |
commit | 9797e78a9b327acea54ff2ffbf9baef5647fb059 (patch) | |
tree | 87323861a07bed5f1ffd12cd3c7db2d50cb9f223 /meta/lib | |
parent | 73880876b0a3ad4251aadd503db73c57198f0688 (diff) | |
download | poky-9797e78a9b327acea54ff2ffbf9baef5647fb059.tar.gz |
meta/lib/oe/terminal.py: Don't pass non-supported '--disable-factory' flag to gnome-terminal
By default, all GNOME terminals share a single process,
reducing memory usage. This can be disabled by starting gnome-terminal
with the --disable-factory option
However, gnome-terminal in Fedora 20 does no longer support the
'--disable-factory' flag, so remove it. As the support for 'mate' terminals was
added as a copy of the gnome code in 8cc078a9c679845464c59028f584d7aba098cc1f,
remove the flag here aswell.
(From OE-Core master rev: e8dca725ed8211a874472300a3ed50e494039ab9)
(From OE-Core rev: b3c051aecde0c0662b352eb789ed276ef00e626f)
Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r-- | meta/lib/oe/terminal.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py index be2a26bedd..a33abd733d 100644 --- a/meta/lib/oe/terminal.py +++ b/meta/lib/oe/terminal.py | |||
@@ -52,11 +52,11 @@ class XTerminal(Terminal): | |||
52 | raise UnsupportedTerminal(self.name) | 52 | raise UnsupportedTerminal(self.name) |
53 | 53 | ||
54 | class Gnome(XTerminal): | 54 | class Gnome(XTerminal): |
55 | command = 'gnome-terminal --disable-factory -t "{title}" -x {command}' | 55 | command = 'gnome-terminal -t "{title}" -x {command}' |
56 | priority = 2 | 56 | priority = 2 |
57 | 57 | ||
58 | class Mate(XTerminal): | 58 | class Mate(XTerminal): |
59 | command = 'mate-terminal --disable-factory -t "{title}" -x {command}' | 59 | command = 'mate-terminal -t "{title}" -x {command}' |
60 | priority = 2 | 60 | priority = 2 |
61 | 61 | ||
62 | class Xfce(XTerminal): | 62 | class Xfce(XTerminal): |