If possible, please depend on x-terminal-emulator instead of xterm, so I can uninstalling the latter while keeping ssvnc. I use mrxvt, and have no direct need for xterm. Does ssvnc really need xterm exactly? Best regards Torquil Sørensen
As an aside (i.e. independent of a distro's dependencies), the environment variable SSVNC_XTERM_REPLACEMENT can be set to a different terminal emulator (one can also set this variable in ~/.ssvncrc) See Help -> Tip 15 for more info. Karl
Yes and no, I suppose. Debian policy only states three requirements for x- terminal-emulator providers: being able to emulate a VT100 terminal, supporting the -e option, and supporting the -T option. ssvnc uses additional options and X resources that other x-terminal-emulator providers don't understand, but I'm not sure how important those are.
But is it necessary to create wrapper scripts on the fly (in a manner that I'm not entirely sure is secure) and execute those?
I guess to remove the xterm dependency there would be a debian patch that modifies the wrapper(s) to set SSVNC_XTERM_REPLACEMENT=x-terminal-emulator if it wasn't already externally set by the user. Hmmm, without looking at the scripts I'm not sure how that would interact with a ~/.ssvncrc setting though, but that would be easy to test.
That alone wouldn't work, would it? The wrapper scripts are only run if SSVNC_XTERM_REPLACEMENT isn't set in the first place.