Create .desktop file as shorcut to a folder in Lubuntu LXDE

6,937

Solution 1

Simple:

Exec=filemanager /path/to/folder

On the desktop (that is: in pcmanfm) right click

enter image description here

enter image description here

Solution 2

The option to create a shortcut does not appear for me in Lubuntu 15.10 so I used the following command line:

ln -s /path/to/folder ~/Desktop

Solution 3

I had a same problem!

The solution for me was to create a new file on desktop, open it with leafpad and write the following:

[Desktop Entry]
Encoding=UTF-8
Name=Myname
Exec=pcmanfm /home/myfolder
Icon=/home/iconpath
Terminal=false
Type=Application

Save it and you will have a shortcut to /home/myfolder

Share:
6,937

Related videos on Youtube

Admin
Author by

Admin

Updated on September 18, 2022

Comments

  • Admin
    Admin over 1 year

    What is the "Exec=" part of a desktop configuration file for this? I guess I should mention file manager but how exactly?