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-terminal
process just locks untilgnome-terminal-server
dies. – cprn Aug 19 '16 at 12:56gnome-terminal
window with--app-id
parameter, 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-factory
merge. – cprn Dec 16 '16 at 14:32gnome-terminal
remains useless as a wrapper. They simply removed that functionality. – cprn Mar 19 '18 at 20:03