PhpStorm 9 - Exception while creating .desktop entry

Hello everyone,

I have installed PhpStorm 9 few days ago, since then I am unable to create a dektop entry for my OS Fedora 20.  The first thing that I did was create it from Tools -> Create Desktop Entry, but this actions throws an exception:

[ 180357]   WARN - tions.CreateDesktopEntryAction - Unable to locate suitable startup script in '/home/manfred/bin/PhpStorm-141.1912/bin'.
java.lang.RuntimeException: Unable to locate suitable startup script in '/home/manfred/bin/PhpStorm-141.1912/bin'.
    at com.intellij.ide.actions.CreateDesktopEntryAction.b(CreateDesktopEntryAction.java:152)
    at com.intellij.ide.actions.CreateDesktopEntryAction.createDesktopEntry(CreateDesktopEntryAction.java:99)
    at com.intellij.ide.actions.CreateDesktopEntryAction$1.run(CreateDesktopEntryAction.java:82)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563)
    at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:152)
    at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:452)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:402)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:137)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:126)
    at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:400)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
    at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:56)



Actually, I need to run /home/manfred/bin/PhpStorm-141.1912/bin/phpstorm.sh manually each team I need to work. The other way to make it works is creating a desktop file manually:

    vi ~/.local/share/applications/jetbrains-phpstorm.desktop

with the following content:

#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Comment=Develop PHP with pleasure!
Terminal=false
Name=PhpStorm 9
Exec="/home/manfred/bin/PhpStorm-141.1912/bin/phpstorm.sh" %f
Type=Application
Icon=/home/manfred/bin/PhpStorm-141.1912/bin/phpstorm.sh
Categories=Development;IDE;
StartupNotify=true
StartupWMClass=jetbrains-idea


The application stills hidden from "show applications" menu giving me the impression that somethings is not working fine.
So, is there something else might I do? Thank you in advance from patience and help.

2 comments
Comment actions Permalink

Please can you check if executable bits are set on the phpstorm.sh?

0
Comment actions Permalink

Hello Elena, you was correct! I did chmod 777 and now everything is fine. Thank you so much!

0

Please sign in to leave a comment.