I installed pycharm usually through bin/pycharm.sh , but the error I made was making bash pycharm.sh , while the pycharm directory is inside the Downloads folder.
Subsequently, I moved the directory to /opt/Pycharm/ . This causes the once functioning single launcher (which was added when PyCharm was originally installed) to fail every time I try to use it (as expected).
How can I add pycharm.sh as a downloadable application from unity launcher? I know the location of the pycharm.sh file. I tried adding it to /usr/bin/ , but that doesnβt change anything.
I can still start pycharm through bash /usr/opt/Pycharm/bin/Pycharm.sh . But it is tiring.
UPDATE
I tried to create a new .desktop file for pycharm using the following script:
[Desktop Entry] Encoding=UTF-8 Name=PyCharm Exec=/opt/Pycharm-3.0.1/bin/pycharm.sh Icon=/opt/Pycharm-3.0.1/bin/PyCharm_32.png Type=Application Categories=Development; StartupWMClass=PyCharm
However, when I try to save the file inside /usr/share/applications/pycharm.desktop I get the error message "Failed to save Pycharm.desktop." Any help in this regard would be greatly appreciated.
bash ubuntu pycharm
Games Brainiac Nov 02 '13 at 4:35
source share