Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 1
    This looks terrible. The while [ true ] does work as expected but probably not for the reason you assume. The case $? in refers to the [ true ] and not to the zen. And obviously your zenity call is wrong. Commented Aug 8, 2017 at 7:51
  • Thanks! It is terrible probably, I am not so sophisticated in bash-programming.. Could you change my script to the correct one? By my script I would like to achieve repeating question from zenity till the moment when user clicks 'cancel' Commented Aug 8, 2017 at 8:08
  • I can correct the structure but I need to know what the working zenity call looks like. Commented Aug 8, 2017 at 8:16
  • Call zenity-scale needs for collecting value from scale permanently till user decides to quit and close the window. In working mode script must collect value from zenity-scale and pull them into termnial when user clicks ''Ok' Commented Aug 8, 2017 at 8:23