H
H
HellWalk2018-05-04 15:42:55
ubuntu
HellWalk, 2018-05-04 15:42:55

Your label - where did the error creep in?

I created a shortcut for phpStorm in Ubuntu 16.04, but I can't start it - it gives an error "An error occurred while starting the application"
Shortcut contents:

[Desktop Entry]
Name=phpStorm
Comment=phpStorm
GenericName=phpStorm
Keywords=phpStorm
Exec=/opt/phpstorm/
Terminal=false
Type=Application
Icon=/opt/phpstorm/bin/phpstorm.png
Categories=
Path=/usr/local/bin/phpstorm
NoDiplay=false

Can anyone point out the error? I followed the example from help.ubuntu.ru
phpStorm is in /opt/phpstorm/
Executable file: /usr/local/bin/phpstorm
Update : the correct version turned out to be:
[Desktop Entry]
Version=1.0
Type=Application
Name=phpStorm
Exec=/opt/phpstorm/bin/phpstorm.sh %f
Icon=/opt/phpstorm/bin/phpstorm.png
Comment=Develop with pleasure!
Categories=Development;IDE;
Terminal=false
StartupNotify=true
StartupWMClass=jetbrains-phpstorm
Name[ru]=phpStorm

But there was another problem - at startup, a normal "picture" icon is displayed, and after loading phpStrom - the picture flies:
5aec5f3bb57a0363234929.png
Does anyone know what is the reason?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Evgeny Komarov, 2018-05-04
@HellWalk

For this reason, the developers have implemented such a menu item in the settings
5aec69d0a2af5818682372.png

V
vreitech, 2018-05-04
@fzfx

> phpStorm is in /opt/phpstorm/
> Executable file: /usr/local/bin/phpstorm
Exec=/usr/local/bin/phpstorm

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question