Alt+F2 (Run Application) doesn't work for custom commands

Posted by Felix on Ask Ubuntu See other posts from Ask Ubuntu or by Felix
Published on 2011-01-04T09:20:40Z Indexed on 2011/01/04 10:00 UTC
Read the original article Hit count: 342

Filed under:

In order to speed up Android development, I've edited my ~/.bashrc to add some paths to PATH:

export PATH=${PATH}:/opt/android-sdk/tools:/opt/android-sdk/platform-tools

This works just fine from the command line (I can just type android and, no matter where I am, the Android SDK and AVD Manager will start up just fine.

However, if I try to type android in the Alt+F2 dialog (Run Application), it gives the following error:

Could not open location 'file:///home/felix/android'

Error stating file '/home/felix/android': No such file or directory

Why is that? What PATH does the Run Application dialog use?

© Ask Ubuntu or respective owner

Related posts about ubuntu-desktop