In Bash
I can do after editing my .bashrc
file:
source .bashrc
and then the changes have taken affect.
But I created a .desktop file in /usr/share/applications
, how can I make the changes take effect?
Here's my .desktop file if it matters:
pycharm.desktop
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=/opt/pycharm-2021.3.2/bin/pycharm
Name=Pycharm
Comment=Best Python IDE in the world!
Icon=/opt/pycharm-2021.3.2/bin/pycharm.png
Categories=Development
~/.local/share/applications
it's automatic? Untested. – schrodingerscatcuriosity Feb 23 '22 at 13:35