How can I create launcher icon for PhpStorm?

I have PhpStorm on my PC, to launch it I have to go to phpstorm/bin/ and launch, how can I pin this to launcher so that I dont have to go into folders every time?

Asked By: Chelios


Use IDE to create launcher. Open Tools -> Create Desktop Entry…

Alternate method:

You need to create a application launcher first.

Installing gnome-panel

 sudo apt-get install --no-install-recommends gnome-panel

To create launcher

sudo gnome-desktop-item-edit /usr/share/applications/ --create-new

This will open up a “Create Launcher” window

Type: Application
Name: PhpStorm
Command: /bin/bash path_to/
Comment: Any Comment

This will create a launcher file in /usr/share/applications directory. Now double click and open the file.

Once the file is launched. You can see the process in the unity launcher. Right click on the icon in the unity launcher and click “Lock to Launcher

Alternatively you can create a .desktop file

Found this .desktop file here. I haven’t tested it. Try your luck.

[Desktop Entry]
Name=JetBrains PhpStorm
Exec=/opt/PhpStorm/bin/ %f
Comment=Develop with pleasure!
Answered By: devav2

Run Tools —> Create Desktop Entry in top menu of IDE.

Answered By: m05quit0

You do not need to do anything.
Just run PhpStorm/PyCharm for the first time from a command line with


And after it will start a popup will appear asking you for a password to add it to a launcher. When you will submit your password an ico will appear in the launcher.

Answered By: Salvador Dali

Try changing the two below lines in the file

Exec="/home/$USER/Downloads/PhpStorm-138.2000.2262/bin/" %f
Answered By: Young

Go to Tools-> "Create Desktop Entry"

Phpstorm 8 Tools menu

Answered By: zatamine

By far the easiest solution is to open PhpStorm, where it will show in the launcher. Then right click on it in the launcher and select “Lock to Launcher” and your done.

Answered By: danlynn

As of 2017-12-14, you can install PhpStorm as a snap, either from the Ubuntu Software application, or the command line. See Install PhpStorm with Snaps for details.

This will automatically add a launcher icon to your desktop.

Answered By: colan

On KDE Plasma 5.17.14,
I had to create a new Item in the menu.

Right-click on the application launchermenu, clickEdit Applications…to start KMenuEdit.

In the Development group, right-click and “add a new item”, enter PHPStorm for example. Then Ok.

With this item selected, on the right part on the window, update the “command” field with “path/to/phpstormFolder/bin/”

Click on the icon on right in order to set the application icon:
Other Icon, browse and put : “path/to/phpstormFolder/bin/phpstorm.png”

File/save. If you find any issue with writing the .menu file, check the permissions of /home/”your_user”/.config/menus

It’s done, you can access the launcher in the usual Appliocations launcher.

If you want to get it the task bar, in the application launcher, on the PHPStorm entry, richt click and “pin to task Manager”

Answered By: Jean-Marc

From terminal, cd into {installation home}/bin and type: ./

This will open the app and from the IDE go to Tools —> Create Desktop Entry in the top menu and then close the app. Now, you can open it from the system menu.

Answered By: AMMAR YASIR

Late in the party but this might be useful

Step-1: cd /usr/share/applications/

Step-2: Create a file sudo touch jetbrains-phpstorm.desktop

Step-3: Then sudo vi jetbrains-phpstorm.desktop

Step-4: open new terminal goto folder phpstrom bin folder and enter pwd
for example in my case: cd ~/Downloads/PhpStorm-213.5744.279/bin && pwd

Step-5: then in vi copy-paste this

[Desktop Entry]
Icon=<pwd copied path of bin>/phpstorm.png
Exec="<pwd copied path of bin>/" %f
Comment=Develop with pleasure!

Note: change <pwd copied path of bin> with the copied path of phpstorm bin in Step-4

to save press the ESC button followed by :wq

any mistake then press the ESC button followed by :q!

Happy coding!

Answered By: Nilesh Dubey
Categories: Answers Tags: , , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.