How to add a program to dmenu?


I’ve recently started trying out Linux and decided to try EOS with i3wm.

I have got PhpStorm installed as per IntelliJ’s docs ( sudo tar -xzf PhpStorm-.tar.gz -C /opt ), and PhpStorm is working well. However, I have to run /opt/PhpStorm-/bin/ every time I want to start it. PhpStorm’s built-in “Tools > Create Desktop Entry” doesn’t seem to be working.

I have managed to get it to launch via a command line with PhpStorm’s “Create Command-Line Launcher” options, but I would prefer to be able to use it through dmenu like other programs.

I also noticed it’s running as root if that messes with anything.

Any help would be appreciated.



It’s better to install via AUR instead