Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
130
rated 0 times [  130] [ 0]  / answers: 1 / hits: 141189  / 3 Years ago, wed, june 16, 2021, 11:20:06

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


More From » 12.04

 Answers
4

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/phpstorm.sh

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]
Version=1.0
Type=Application
Name=JetBrains PhpStorm
Exec=/opt/PhpStorm/bin/phpstorm.sh %f
Icon=/opt/PhpStorm/bin/webide.png
Comment=Develop with pleasure!
Categories=Development;IDE;
Terminal=false
StartupNotify=true
StartupWMClass=jetbrains-phpstorm

[#34118] Thursday, June 17, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
pantkie

Total Points: 209
Total Questions: 112
Total Answers: 138

Location: Venezuela
Member since Sat, Apr 24, 2021
3 Years ago
;