Pycharm desktop launcher

Hi,

I have created a desktop entry for pycharm by: Tools -> Create desktop entry

However, when I launch pycharm using the desktop entry, the PATH variable under Environment variables is different than the PATH variable when I launch Pycharm using: opt/pycharm-community-2020.1.2/bin/./pycharm.sh.

In fact, the correct one (the one that coincides with echo $PATH) is the one obtained using opt/pycharm-community-2020.1.2/bin/./pycharm.sh.

I am using pycharm-community-2020.1.2 under debian 10 with gnome.

When I launched ./pycharm.sh for the first time I do NOT used sudo.

Both desktop entries (.local/share/applications/jetbrains-pycharm-ce.desktop .gnome/apps/jetbrains-pycharm-ce.desktop) are okay:

[Desktop Entry]
Version=1.0
Type=Application
Name=PyCharm Community Edition
Icon=/opt/pycharm-community-2020.1.2/bin/pycharm.svg
Exec="/opt/pycharm-community-2020.1.2/bin/pycharm.sh" %f
Comment=Python IDE for Professional Developers
Categories=Development;IDE;
Terminal=false
StartupWMClass=jetbrains-pycharm-ce

 

Any idea?

 

Please sign in to leave a comment.