Export to GitHub

winezeug - issue #188

Zenity/Kdialog info saying "Winetricks has finished"


Posted on Oct 7, 2010 by Quick Elephant

What steps will reproduce the problem? 1. Consider you have zenity or kdialog installed 2. Run winetricks not from terminal (e.g. from "Run command" dialog) 3. Choose a package from the list that shows no GUI while installing (e. g. tahoma) 4. You cannot realize, when it is finished

What is the expected output? What do you see instead? I would really like a information window at the end saying something like "Winetricks has finished."

Please provide any additional information below. I need this, beacuse I call winetricks from my application http://wibom.sourceforge.net/

Comment #1

Posted on Oct 8, 2010 by Quick Rabbit

You could easily do this in your script, e.g.,: winetricks foo || ( zenity winetricks failed ; exit ) && zenity winetricks finished

though I suppose we could change the final echo to a warn...

Comment #2

Posted on Oct 8, 2010 by Happy Giraffe

Why not put up the dialog yourself from inside wibom when winetricks returns?

Comment #3

Posted on Oct 8, 2010 by Quick Elephant

I would like to, problem is it won't work that easily. I call winetricks without an argument, to let user himself to choos a package from a zenity dialog. I can then show a message, when winetricks ends, but I cannot recognize, if it finished the installation, or user just closed / canceled the zenity window. Maybe if there is a differend exitcode when closing or canceling (e.g. 1), would be great.

Comment #4

Posted on Oct 11, 2010 by Quick Rabbit

Exiting with 1 would break a lot of other scripts.

Just grep for 'winetricks done', that's the last thing echo'ed.

Comment #5

Posted on Oct 11, 2010 by Quick Elephant

Seems easy. Thank you :)

Comment #6

Posted on Oct 21, 2010 by Quick Rabbit

Marking wontfix.

Status: WontFix

Labels:
Type-Defect Priority-Medium