#878414 sensible-utils: Please provide sensible-xembed-terminal-emulator

#878414#5
Date:
2017-10-13 13:10:51 UTC
From:
To:
There is currently no sensible way to execute an X11 terminal emulator
in XEmbed mode.

Programs like claws-email, sylpheed, and recently introduced astroid,
supports spawning an editor by use of the XEmbed protocol.

Several X11 emulators support XEmbed, but unfortunately they use
different options to enable that mode.

Attached is a shell script that a) resolves which X11 terminal emulator
is currently called by x-terminal-emulator, b) resolves the option name
used by that particular emulator to enable XEmbed mode, and c) eecutes
x-terminal-emulator in XEmbed mode.

Please include this script as part of sensible-utils.

 - Jonas

P.S.

Specifically for email clients spawning an editor embedded would be yet
another script sensible-xembed-editor, which first resolves if an X11
editor is preferred and available - but let's address this more general
tool first.
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAlngu1kACgkQLHwxRsGg
ASEQcA//VIrI5AVfviTsVw0oBHeypvl08AjBOOSigUS3HgRNN1gw2iBn8uxEGuIC
R3TqdQeZd990VJIu3z4Yh13kcnZVbo1fD3FXMQiPUB853hS5wSH79KGFV0ztpMX6
k8jny4B/RsvjsN5jHGKIQfty/2pfB9gs+lHtAcUCxndVC3fJVBg3GKi4u7BorRme
2QWTnKyPi+IM3+VkGFsTlHgGGQKlvy184GvNmCKALsENLRnLoYTvJSAwBXe6C7ZD
0WBxb3Qht6lbJXWOE2iM7Thh+fPTE6bAXeDCBUOT9mu9Dl9xxixWdgdRHPki0j5B
RQ45ZGvVPmU6QvKgOEADy7vCApv6DQuMC01S7u0eJRXNqQHmEmCv80Or1ZifuZZm
TawObcTcLf+gpP+aCS66fJyc3rqHGVCcrlfbW0qABcgHo7a/sqyWm7Nsbce32t5X
G4Tx6MneqobUWY+4lt5USjYXPr+E6uy0V9xEN4G81iXBKusjpiPS89tNUh6lOc3g
wBJbQltTs/fvdtZaWj7ijMDB5ZAZMAApxOnWcay4vZhWJhpOUdy9sxCG45kHKB5+
uHvjaNpzJfJ0Ajd8R9RoKWeMNdmbjBqQW0ouDGXUsbMq1R+uEjIOJX3aEzWq3Ojy
JEyzD7rgKBSvtWtGwkGTeVintOv8KbMKvo0CQcC/NhEgvHQfFlw=
=zFe3
-----END PGP SIGNATURE-----