View Single Post
Posts: 46 | Thanked: 37 times | Joined on Aug 2015
#1394
Still lacking the knowledge how to use multi click as a confirmation I've started using the dialogue box provided by zenity. This dialogue pops up at the bottom of the screen and lets you push a button as confirmation. This makes things a little more complicated, though.

1. Write a script "askstart" that contains the zenity command for starting a process.
2. Write a script "askstop" containing the zenity command for stopping the process.
3. Use askstart and askstop as start/stop commands in the beecon.

Essential: The two scripts must exit with an output like "Running" or "Not Running" so the beecon can display these states. For - and that really sucks - I was not able to make the on/off image show up reliably. It just kept changing, no matter how you answered the zenith dialogue.

Should anyone be interested, I'll gladly provide the code that's working for me.

Cheers!