You will need to use markup language for this, and escape backslashes multiple times.
Something like this should work :
Hope that helps
Regards
Peasant
Hi!
does someone know how can I setup a zenity entry "box" such that comes with the data as default.
like it appears an entry box already with the data but it can be modify.
thanks (2 Replies)
Hello
I've a script where I've a zenity --question because I want to ask the user if he is sure that he wants to delete the file.
The problem is, if the user says "OK" it deletes nad if the user says cancel it deletes :)
How can I close the script if the user says cancel??
thanks (3 Replies)
I have some troubles with zenity and menu.
I seach for:
MAIN MENU
CHOICE 1
"do something"
CHOICE 2
"do something 2"
CHOICE 3
"do something 3"
But then in "do someghing " when i click i want to return to the MAIN MENU
So something like:
while true; do
... (4 Replies)
Hey guys i wrote this code but it wont give me anything.
any ideas?
ans=$(zenity --list --text "Do you want to set USER/GROUP quota?" --radiolist --column "Choice" --column "Desc" TRUE Hi FALSE Bye); echo $ans
if ; then
./example.sh
else
exit
fi (2 Replies)
Hello,
I have a script with zenity file, but I want to know the file name and path, but this way I just take the name of the file.
fl1=`zenity --file-selection --title="Seleccionar fichero"`
basename $fl1 .txt > temp
nom=`cat temp`
Thank you very much (1 Reply)
Hi,
Want to highlight the string displayed on the screen.
ften="File selected"
FB1="\e
From the above code,
String "File selected" gets highlighted, but the string in the next line does not get highlighted.
I tried using FB1& FB2 variables but didn't worked out may be due to too... (1 Reply)
I have a large system housekeeping script, that I want to use with zenity.
One of the processes will be to conduct a virus scan, which I can easily do with something like:
clamscan -rv / | zenity --text-info --width 640 --height 640
The problem is that it needs user intervention by... (2 Replies)
All,
I'm having fighting a losing battle with what I though would be simple.
My goal is this: Show a zenity progress or info dialog until the system obtains an ip address, then close the dialog and continue through the rest of the script.
Right now I've got the following:
ip=`ifconfig |... (2 Replies)
Hello all,
I am using zenity for my final project in class and need some help. I am trying to create a text based game and in this game you pick up items, I want to store those items in a .txt file and be able to recall them later and remove a SPECIFIC item from the list after it has been... (4 Replies)