why don't you just link the .desktop file to a shell script that appends /opt/usr/lib or whatever to LD_LIBRARY_PATH? Like Marble does. then call main app from the script.