That patch is wrong; generally the [0] argument can also be --; one has to patch the code inserting the gnome-terminal.real to read:
if not self.args or self.args[0] == "--": self.args.insert(0, "/usr/bin/gnome-terminal.real") That being said, --app-id and --class still do not work; all windows get grouped under Terminal instead of my custom weechat desktop file (I also patched out the prefix such that it actually uses org.weechat.weechat instead of com.canonical.Terminal.org.weechat.weechat. -- 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