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
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 360 |
Nodes: | 16 (2 / 14) |
Uptime: | 128:39:15 |
Calls: | 7,686 |
Files: | 12,828 |
Messages: | 5,711,092 |