Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 70 down vote accepted

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!                                                  
share|improve this answer
This right here is one of the reasons Linux has such a limited user base. – Webnet Jun 30 '13 at 0:04
@Webnet This right here is an example of someone who has the wrong information. See the other answer. – Andrew Mao Sep 18 '13 at 22:52
Great!Great!Great! – The Green Foxx Jun 22 at 8:27

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

share|improve this answer
+1 This is far simpler and works perfectly. – Richard Holloway Feb 5 '13 at 11:50
Seems not to work in 13.04 :( – Nathan J. Brauer May 1 '13 at 18:18
Works for me in 13.04! – Elte Hupkes Jul 12 '13 at 8:54
Works for WebStorm EAP 11 and Ubuntu 14 as well. – Dan Dascalescu Aug 15 '15 at 11:12
Where is checkbox Create Desktop Entry in installation wizard. – m05quit0 Nov 14 '15 at 18:53

Try changing the two below lines in the file ~/.local/share/applications/jetbrains-phpstorm.desktop

Exec="/home/$USER/Downloads/PhpStorm-138.2000.2262/bin/" %f
share|improve this answer
This worked to change the existing launcher icon to now launch 8 instead of 7. – JoshP Oct 9 '14 at 13:07
I noticed the same desktop file is also placed in /usr/share/applications (I probably installed for all users on the system). You might have to edit this file as well! – karimkorun Mar 19 at 15:56

Go to Tools-> "Create Desktop Entry"

Phpstorm 8 Tools menu

share|improve this answer
May be need restart session if entry not appeared after creation. – Павел Шорохов Jul 14 at 23:10

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.

share|improve this answer

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.