Kep this from happening again. The old "|sed" way perserved many line. The new function call that has "|read" and echo first, only yields the first entry.
** Patch added: "add tests." https://bugs.launchpad.net/xdg-utils/+bug/1517956/+attachment/4522191/+files/fdbug118501-many-execs-in-desktop-files.diff ** Summary changed: - xdg-settings assumes desktop files have exactly one Exec line + xdg-settings (used to) assume desktop files have exactly one Exec line -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xdg-utils in Ubuntu. https://bugs.launchpad.net/bugs/1517956 Title: xdg-settings (used to) assume desktop files have exactly one Exec line Status in Xdg-utils: Confirmed Status in xdg-utils package in Ubuntu: Fix Committed Bug description: In searching the desktop file for suitability, it scans for all lines that begin "Exec", and takes the result and packs it into a variable. If there is exactly one Exec line, this takes out a command name to test for existence, but when more than one matches, the program name is captured as "firstexecprog\nsecondexecprog\nthirdexecprog", and "which" doesn't know how to look up a program like that and the subsequent tests fail. To manage notifications about this bug go to: https://bugs.launchpad.net/xdg-utils/+bug/1517956/+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

