It is super simple, you just need to follow these steps.
In this example I was trying to add PyCharm IDE shortcut to desktop
- Create a text file
-
Add the following content
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=2022.3
Exec=/home/user/IDES/PyCharm/bin/pycharm.sh
Icon=/home/user/IDES/PyCharm/bin/pycharm.svg
Name=PyCharm
GenericName=PyCharm
Comment=Develop JavaScript Applications
Encoding=UTF-8
Terminal=false
Type=Application
Categories=Application;IDE;
- Change the extension to `.desktop`
- Move it to desktop
- If all the links `Exec` and `Icon` are correct when right clicking on the file, you should be able to see `Allow Launching` and by clicking on it, the shortcut is complete and usable.
Top comments (0)