I found a workaround : i write the TAB chain in a text file, then use :
choice=$(cat TAB.txt | zenity --list --hide-header
--window-icon=/path/my_icon.png \
--title="$my_title" --text="$Please_choose_an_item" --column="") ||
quit_function;
Hope this helps.
** Changed in: os-uninstaller
Status: Triaged => Invalid
** Changed in: os-uninstaller
Importance: Critical => Wishlist
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to zenity in Ubuntu.
https://bugs.launchpad.net/bugs/989343
Title:
[regression] xargs: zenity: terminated by signal 11
Status in OS-Uninstaller:
Invalid
Status in Zenity:
New
Status in “zenity” package in Ubuntu:
Confirmed
Bug description:
Since Ubuntu 12.04, the following zenity --list returns systematically
"xargs: zenity: terminated by signal 11" error whatever the user
choice.
Here is the code:
choice=$(echo $TAB | xargs zenity --list --hide-header
--window-icon=/path/my_icon.png \
--title="$my_title" --text="$Please_choose_an_item"
--column="") || quit_function;
The same code works ok on 10.04, 11.04, 11.10.
Any workaround is welcome :)
To manage notifications about this bug go to:
https://bugs.launchpad.net/os-uninstaller/+bug/989343/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp