Playing with DBus and KDE applications (part 3)

In a previous article I have shown how to handle the D-Bus resources provided in general and in particular by the Konsole and Yakuake D-Bus services, and take advantage of them in a Bash script. This time we will explore more services that provide useful features to embed in our Bash scripts.

Playing with DBus and KDE applications (Part 2)

In a previous article I introduced the DBus technology and provided some examples built around the Klipper service to integrate the clipboard area within our scripts.

Playing with D-Bus and KDE applications (Part 1)

Speaking about the several ways that a Linux system offers to users to create custom automation, there is a software technology that hides under the hoods of modern desktop environments, D-Bus. To make parallelism, in the same way we use piping | the output from a shell command to the input of another, we might altogether find interesting to get some info from an application running on our DE, no matter if it is a GUI application or an application running in the background, and use it in our scripts.

Show a dialog with Kdialog (part 3)

This third part is dedicated to another set of constrained choice dialogs, useful to drive the user among a discrete number of options and easier handling certain input data in our scripts. Besides the file dialogs seen in the second part, Kdialog offers menus, with single and multiple-choice, and particular input dialogs which may return date, a color or a system icon.

Show a dialog with Kdialog (part 2)

In a previous article I introduced Kdialog and the whole set of output dialogs provided. In this second part, we will see how to show and handle some input dialogs from the command line.