How to add a program to dmenu?

Hi,

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

https://wiki.archlinux.org/title/Dmenu#Manually_adding_items

Welcome!

honka_animated-128px-40

It’s better to install via AUR instead

2 Likes