3
[Desktop Entry]
Version=1.0
Type=Application
Name=PyCharm Community Edition
Icon=pycharm-community
Exec=pycharm-community %f
Comment=Develop with pleasure!
Categories=Development;IDE;
Terminal=false
StartupWMClass=jetbrains-pycharm-ce

I know the format of a desktop entry file but I'm trying to find out where the application has been installed. This desktop entry shows in the search and on clicking it PyCharm opens as it is supposed to.

Also I did not understand what %f stands for from the Documentation

Thanks in advance.

3 Answers 3

7

You can always try running "which pycharm-community" in your terminal, it will probably output a path of the binary it is trying to start.

1
  • if you press the check mark under this answer, you can flag this question as answered!
    – J. Meijers
    Feb 16, 2017 at 11:50
5

you can try locate function:

locate * | grep "name_you_look_for"
4

you can try to find the pycharm.sh file as,

sudo find / -iname pycharm.sh

for me, it was located at path :

/home/<username>/.local/share/JetBrains/Toolbox/apps/PyCharm-C/ch-0/201.7223.92/bin/pycharm.sh

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.