I have installed pyCharm in mu ubuntu machine, I use the kde enviroment. The application folder was at /home/userName/pyCharm and the application icon was pointing at /home/userName/pyCharm/bin/pycharm.sh to launch the application. Now when I moved the pyCharm folder to another location and try to open the application from the launcer icon I get the error Could not find the program '/home/mrme/pycharm-2017.1.2/bin/pycharm.sh'. How can I reset the path of the laucher icon to point at the new path?
1 Answer
- Run
locate .desktop | grep pycharm - Open the found
pycharm.desktopsuch asgksudo gedit /path/to/.desktop - Edit the
Exec=<...>line with the new absolute path to thepycharm.shexecutable and save the changes.