I am currently using Linux Mint 19.03 Cinnamon.
I am expecting the Cal button launches
gnome-calculator but if it is already running, when Cal is pressed again, it will reveal the existing window, and so on and so forth.
I've found, using dconf editor that I can customize the desktop.
So far, I've also found the string to execute the
gnome-calculator which is:
org.cinnamon.desktop.default-applications.calculator exec 'gnome-calculator'
So far, what I need is to change the Custom value with the proper command to check the existing calculator window and reveal it.
What is the command (or script too) to focus on existing
gnome-calculator window? And if it doesn't exist, simply spawn one.
Thank you in advance.