How to change launcher icon path of an installed application

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?

3

1 Answer

  1. Run locate .desktop | grep pycharm
  2. Open the found pycharm.desktop such as gksudo gedit /path/to/.desktop
  3. Edit the Exec=<...> line with the new absolute path to the pycharm.sh executable and save the changes.
1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like