PhpStorm 7.0x
Create a file ~/.local/share/applications/jetbrains-phpstorm.desktop
With the following value:
[Desktop Entry]
Version=1.0
Type=Application
Name=PhpStorm
Icon=/home/USER/PhpStorm-133.982/bin/webide.png
Exec="/home/USER/PhpStorm-133.982/bin/phpstorm.sh" %f
Comment=Develop with pleasure!
Categories=Development;IDE;
Terminal=false
StartupWMClass=jetbrains-phpstorm
PhpStorm 8.0x
Create a file /usr/share/applications/jetbrains-phpstorm.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=PhpStorm
Icon=/home/USER/PhpStorm-138.2000.2262/bin/webide.png
Exec="/home/USER/PhpStorm-138.2000.2262/bin/phpstorm.sh" %f
Comment=Develop with pleasure!
Categories=Development;IDE;
Terminal=false
StartupWMClass=jetbrains-phpstorm
Creating a desktop shortcut
To create a desktop shortcut for IntelliJ IDEA, use the Create Desktop Entry command. This command is available:
In the Customize IntelliJ IDEA wizard - when you run IntelliJ IDEA for the first time.
On the Welcome screen: Configure | Create Desktop Entry.
In the main menu: Tools | Create Desktop Entry.
You can choose to create the shortcut:
For all of your computer users: In this case, the jetbrains-idea.desktop entry file is created in /usr/share/applications.
Only for yourself: The jetbrains-idea.desktop entry file is created in ~/.gnome/apps and ~/.local/share/applications.
https://www.jetbrains.com/help/idea/2016.1/installing-and-launching.html#desktop_shortcut