I guess this patch should work. I tried to remain as close to the
existing code as possible, just remove that erroneous parameter which
comes from self.args[0]. (No idea how to properly format the patch here,
anyway, you get the point and can apply manually.)

--- gnome-terminal
+++ gnome-terminal
@@ -41,7 +41,7 @@
         # start gnome-terminal now
          Gio.Subprocess.new(['/usr/bin/gnome-terminal.real',
                              '--app-id', name] +
-                             self.args,
+                             self.args[1:],
                              Gio.SubprocessFlags.NONE)
 
     def spawn_terminal_server(self, name, cls):

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2073881

Title:
  gnome-terminal stopped accepting arguments: # Failed to parse
  arguments: Too many arguments

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/2073881/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to