R
R
Roman2015-10-03 14:50:53
ubuntu
Roman, 2015-10-03 14:50:53

How to add Quicklist from projects in PhpStorm shortcut in Ubuntu?

How to add Quicklist from projects in PhpStorm shortcut in Ubuntu?
I did like this (Shortcut config):

[Desktop Entry]
Version=1.0
Type=Application
Name=PhpStorm
Icon=/opt/PhpStorm-141.2462/bin/webide.png
Exec="/opt/PhpStorm-141.2462/bin/phpstorm.sh"
Comment=Develop with pleasure!!!
Categories=Development;IDE;
Terminal=false
StartupWMClass=jetbrains-phpstorm

Actions=Project1;Project2;Project3;

[Desktop Action Project1]
Name=Project1
Exec="/opt/PhpStorm-141.2462/bin/phpstorm.sh /var/www/Project1/"
OnlyShowIn=Unity;

[Desktop Action Project2]
Name=Project2
Exec="/opt/PhpStorm-141.2462/bin/phpstorm.sh /var/www/Project2/"
OnlyShowIn=Unity;

[Desktop Action Project3]
Name=Project3
Exec="/opt/PhpStorm-141.2462/bin/phpstorm.sh /var/www/Project3/"
OnlyShowIn=Unity;

Quicklist appeared, but no response to pressing. If you remove /var/www/Project*/ just PhpStorm starts up. From the terminal, the command /opt/PhpStorm-141.2462/bin/phpstorm.sh /var/www/Project3/ launches PhpStorm fine with the right project.
Help me please. Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman, 2015-10-03
@romteh

As an option add to Exec=sh -c "/opt/PhpStorm-141.2462/bin/phpstorm.sh /var/www/Project3/"

[Desktop Entry]
Version=1.0
Type=Application
Name=PhpStorm
Icon=/opt/PhpStorm-141.2462/bin/webide.png
Exec="/opt/PhpStorm-141.2462/bin/phpstorm.sh"
Comment=Develop with pleasure!!!
Categories=Development;IDE;
Terminal=false
StartupWMClass=jetbrains-phpstorm

Actions=Project1;Project2;Project3;

[Desktop Action Project1]
Name=Project1
Exec=sh -c "/opt/PhpStorm-141.2462/bin/phpstorm.sh /var/www/Project1/"
OnlyShowIn=Unity;

[Desktop Action Project2]
Name=Project2
Exec=sh -c "/opt/PhpStorm-141.2462/bin/phpstorm.sh /var/www/Project2/"
OnlyShowIn=Unity;

[Desktop Action Project3]
Name=Project3
Exec=sh -c "/opt/PhpStorm-141.2462/bin/phpstorm.sh /var/www/Project3/"
OnlyShowIn=Unity;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question