0
I'm looking for a scriptable dialog utility for Linux/X11/Wayland that I'd run like this:
$ ask F="Delete all files" D="Launch drones" X="Open images"
and it'd display X11 dialog window similar to this:
(F) Delete all files
(D) Launch drones
(X) Open images
that would disappear either after pressing Escape
or after pressing any letter specified (F
, D
, X
). In the first case it'd output nothing and exit with code 1, in the second case it'd output line with the pressed letter and exit with code 0.
I know 9menu or ratmenu. I know I could make one but I hate to mess with available GUI toolkits.
Several possibilities for that in Unix/Linux. Have a look at Zenity, kdialog, gtkdialog; each is a scriptable command line program for displaying X dialogs with widgets galore. The problem is deciding from all the options of each. – P. Heffner – 2016-07-25T15:27:40.893