Open rusanpas opened 2 years ago
This is a good question. I'll think about it. The problem is that it is quite complicated to pass argument from python, through cmd, through bash. Alot gets mixed up. It is probably possible to add something to your shortcut command that runs it with the specific .profile in front of it.
I tried to add "source ~/.profile" inside pycharm.sh with no results.
Hm.. That is strange. Of course assuming that is where the environment variables are...
Hi
I have pycharm installed on my ubuntu distribution and when I run it from bash it works perfectly. To launch it I use the pycharm.sh available in the /bin folder of the pycharm installation. (/home/user/pycharm-community-2021.3.3/bin pycharm.sh)
I have created a shortcut that runs the exactly same pycharm.sh.
When i launch the shortcut, It opens the program correctly, but the pycharm terminal does not have the correct environment variables (PATH...), and it cannot launch certain applications.
In addition, the pycharm terminal, by default, opens the project folder and in the pycharm opened from shortcut, It does not happen.
It seems that my user's bash session has not been executed. if I run "source ~/.profile", from the pycharm terminal, at least it fixes the path environment.
Any ideas or suggestions I can fix it?