KDialog from simple shell scripts. The exit status will correspond to Ok/Cancel/Window closed, and any selections will be printed to standard output so you can safely capture it.
Wow! I knew I can pop a MsgBox from a .vbs in Windows, but I didn't know Plasma can do the same.
![Grin ;D](https://www.eevblog.com/forum/Smileys/default/xgrin.gif.pagespeed.ic.QVVz6XIT20.png)
There are some misconceptions that Plasma is only a graphical environment. While it is true that Plasma is an outstanding desktop environment, the Unix heritage of command line and scripting is also well supported by Plasma. In particular, KDE applications can be controlled from the command line, and shell scripts can make use of some of the KDE widget set.
Quote from https://develop.kde.org/docs/administration/kdialogThat will cover 9 out of 10 situations with zero GUI programming overhead, perfect for my use case, thanks!
![ThumbsUp :-+](https://www.eevblog.com/forum/Smileys/default/icon_smile_thumbsup.gif.pagespeed.ce._JElyJQqdB.gif)