I'm working on a little widget for Xfce that I'd like to let VL users take advantage of. I want this widget to work with a fresh install without anything extra installed or tweaked.
I want to use zenity for it since we all have it, but it's not behaving on my machine. I'm asking for a little help testing a one liner command in a console on your box.
For those not familiar, zenity makes attractive little pop up dialogs from a simple command. Very useful to use with scripting.
What happens is when I attempt to make a pop up that asks a question, requiring the user to enter some text. It works fine. But if I make the same pop up with "suggested" text already in the input area, the pop up bombs out.
What I'm asking is for a few people to add these two commands into a console and press enter to see if it works. That way I can tell if it's my machine or a bug in zenity in general.
This one works:
zenity --entry --text="Please enter your name"
This one fails on my machine:
zenity --entry --text="Please enter your name" --entry-text "Your Name"
On my machine I get this error:
leeh:$ zenity --entry --text="Please enter your name" --entry-text "Your Name"
GLib-ERROR **: file goption.c: line 906 (parse_arg): should not be reached
I'm sure I could fix this on my machine. But I want this to work for everyone right out of the box.
Thanks in advance, Lee
PS if the the second line works for you can you tell me what VL version you are using and what version zenity is installed?