I've just starting my own personal project, but got stuck on step when I need to create dynamically Zenity "Radio List".
My actual code:
for f in `find -type f -iname \*.lang` ; do
text=`basename $f .lang`
echo -n 'FALSE "'$text'" ' >> languages
for l in `cat languages`
lang=$(zenity --list --title="Language selection" --text="Select language:" --radiolist --column "Pick" --column "Language" echo "$langList")
There is a problem with echo, because Zenity do not understood it well - instead of list of languages available I've got only one position with whole string. I'm just a beginner and this task at the moment for me is unfortunately unsolvable : (
I was searching for some advanced examples of Zenity based scripts, but I found nothing.
Hoped you give me some advices or show me solution of this problem.