Anyone knows how to accommodate for new gnome-terminal-server magic?
Before gnome-terminal got its new "client/server" architecture I used to use it as vim wrapper with great success for many years. Since --disable-factory got dropped the following code doesn't lock the process (due to forking) therefore it's useless as an editor for e.g. text areas in browser:
#!/bin/bash
TERMINAL=gnome-terminal
TERMARGS="--disable-factory --full-screen -e"
for ARG in "$@"; do
# arguments quotation, etc.
ARGS="$ARGS $ARG"
done
$TERMINAL $TERMARGS "vim $ARGS"
gnome-terminalprocess just locks untilgnome-terminal-serverdies. – cprn Aug 19 '16 at 12:56gnome-terminalwindow with--app-idparameter, I have a feeling, it will not lock the wrapper execution anyway. The idea is for the wrapper to wait until the terminal closes so it could only then give the control back to the parent. – cprn Aug 19 '16 at 15:18--disable-factorymerge. – cprn Dec 16 '16 at 14:32gnome-terminalremains useless as a wrapper. They simply removed that functionality. – cprn Mar 19 '18 at 20:03