You are not logged in.

#1 2022-12-16 01:21:52

Kana_Meisa
Member
Registered: 2022-12-16
Posts: 6

[SOLVED] The dmenu can not find the executable program

I downloaded Pycharm from its official website, its executable program is pycharm.sh.

Then I soft-linked it to /usr/bin/pycharm, but I can't still find pycharm in dmenu.

I can only enter ./pycharm.sh in the terminal to run.

Last edited by Kana_Meisa (2022-12-16 08:44:20)

Offline

#2 2022-12-16 03:48:20

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,480
Website

Re: [SOLVED] The dmenu can not find the executable program

If your last sentence is correct, then dmenu is irrelevant.  If you can't even run it in the terminal as just "pycharm" then you did not (properly) create a link.  Post the output of `stat /bin/pycharm`.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2022-12-16 08:43:50

Kana_Meisa
Member
Registered: 2022-12-16
Posts: 6

Re: [SOLVED] The dmenu can not find the executable program

Trilby wrote:

If your last sentence is correct, then dmenu is irrelevant.  If you can't even run it in the terminal as just "pycharm" then you did not (properly) create a link.  Post the output of `stat /bin/pycharm`.

Thank you so much, I solved this problem.

I started with this:

kana@Arch ~>  sudo ln -s Software/pycharm-2022.2.3/bin/pycharm.sh /usr/bin/pycharm

I tried many times but it didn't work.

But after I changed it to absolute path, it worked!

kana@Arch ~>  sudo ln -s /home/kana/Software/pycharm-2022.2.3/bin/pycharm.sh /usr/bin/pycharm

Offline

Board footer

Powered by FluxBB