Two things are happening in this bug:
 * unity8 can't find the 'notes-app' executable
 * the app is using a shell script to launch the app

Unity8, when not using upstart-app-launch, should examine the Path in the 
.desktop file then do this:
 * cd $PathInDesktopFile
 * export PATH="$PathInDesktopFile:$PATH"

I think the former may already be happening. This mimcs the behavior of
upstart-app-launch, which is correct. Please make sure that
$PathInDesktopFile does not equal "." when implementing this.


The second thing is that an app should not be using a shell script to launch 
itself. The notes-app can be updated to use the '-I' option to qmlscene and 
simply not use the shell script. The works around this specific example, but 
this bug should be fixed in Unity8 as well for when apps don't use qmlscene, eg 
compiled code.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1229253

Title:
  cannot find click application when Exec not in PATH

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity-mir/+bug/1229253/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to