Make phpstorm inherit terminal environment on start

Hi everybody,

I just upgraded to phpstorm version 8 as I was very keen on trying out the new build-in grunt task runner, but to my great disappointment I don't seem to be able to get it to work :(

Whenever I start phpstorm from my ubuntu 14.04 launcher it complains that grunt isn't in my system's $PATH. Printing out $PATH in the build-in terminal confirms this.
However if I start phpstorm directly from a terminal it seems to inherit the terminal's environment and the $PATH is set correctly.

How can I tell phpstorm to inherit my terminal environment?

Here is my phpstorm.desktop file:

[Desktop Entry]
Version=1.0
Type=Application
Name=PhpStorm
Icon=phpstorm
Exec=phpstorm
Comment=Develop with pleasure!
Categories=Development;IDE;
Terminal=false
StartupWMClass=jetbrains-phpstorm
NoDisplay=false


Anyone has an idea on how to fix this?

Much appreciated!

mrmister

Please sign in to leave a comment.