Le vendredi 11 août 2017, 16:37:49 UTC Bastien ROUCARIES a écrit : Hi, I have implemented on salsa the sensible-x-terminal, but I need --wait flags in order to wait...
Moreover sensible-utils will now support EDITOR as shell snippet like EDITOR='emacsclients -n -c -a ""' Bastien > Hi, > > I have done some work for sensible-utils but I am a little stuck due > to lack of documentation/policy. > > I want first to create desktop file for > sensible-editor/sensible-pager/sensible-browser in order to open from > firefox text file (fixing #780742). > > The main problem is to exec this in a terminal or not depending of the > context. > > I propose first to solve #594942 and to implement sensible-x-terminal > first. This program will > exec $XTERMINAL if set, then if configured $SENSIBLE_XTERMINAL and > lastly choose the terminal according to desktop running (maybe using > xdg-open /proc/self/1 <<EOF heredesktopfile EOF) and fallback to > sensible-x-terminal > > Then nano for instance will provide sensible-editor-nano that will use > library provided by sensible-utils in order to run nano under a > terminal if run under X. > > What do you think ? > > Bastien
signature.asc
Description: This is a digitally signed message part.