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.
#D-Bus
Inter Process Communication framework
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.
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.