Public bug reported: When executing the wrapper with the -x option this is ignored and not forwarded to gnome-terminal. If you run directly gnome-terminal with the -x argument it works as expected.
Just changing the line 58 at /usr/bin/gnome-terminal.wrapper from: elsif ($opt eq '-e') to: elsif ($opt eq '-e' or $opt eq '-x') fixes the problem without changing the '-e' argument behaviour. Ubuntu 17.04 Gnome-terminal 3.20.2 ** Affects: gnome-terminal (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1714920 Title: gnome-terminal.wrapper missing argument -x To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1714920/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs