Create link with PCMan File Manager in lubuntu - lightblueseas/linuxstuff GitHub Wiki
The create a link feature in PCMan File Manager is hidden feature. So if you want to create a link for instance from a shell script you can do that by mark the shell script and drag and drop with Ctrl+Shift hold it from the browser to the desktop.
Another good File Manager is the mucommander
create .desktop file for desktop-link
The simplest construct for a .desktop file is:
[Desktop Entry]
Type=Application
Name=NameOfYourApplication
Exec=CommandToExecute
We demonstrate this on an example by creating a .desktop file for intellij:
[Desktop Entry]
Type=Application
Name=Intellij
GenericName=IDE
Comment=IntelliJ IDEA is a Java integrated development environment for developing computer software
Exec=/home/astrapi69/ides/intellij/idea-IU-182.4129.33/bin/idea.sh
Icon=/home/astrapi69/ides/intellij/idea.png
And for android-studio:
[Desktop Entry]
Type=Application
Name=Android Studio
GenericName=IDE
Comment=Android Studio is a Java integrated development environment for developing software for mobile devices
Exec=/opt/android-studio/bin/studio.sh
Icon=/opt/android-studio/bin/studio.png
Now you only have to copy your created desktop file to the directory /usr/share/applications
so any user can use it(you need root permissions for that), or if you want that only the current user to have access to it copy the directory ~/.local/share/applications
.
More information on askubuntu.com