Score:0

How to create a shortcut to a document on Lubuntu desktop?

pe flag

I am trying to create a shortcut for a word document (.docx) on Lubuntu desktop (22.04 LTS). I thought I could create a symlink as follows:

ln -s a.docx ~/Desktop/

The symlink does get created and show up as a shortcut on the desktop. But it seems that Lubuntu does not treat it as a shortcut. When I double-click a.docx on Desktop, Lubuntu asks me to choose a program to open the symlink as shown in the screenshot below.

What is the right way to create a shortcut on Lubuntu desktop?

enter image description here

guiverc avatar
cn flag
https://manual.lubuntu.me/lts/5/5.2/desktop_icons.html?highlight=shortcut
Score:1
pe flag

@ARG's answer about creating a .desktop file works.

Additionally, as pointed out in the comments and the documentation, this can also be done via drag-and-drop onto the desktop and then choosing Create symlink here from the context menu.

You can also create shortcuts by dragging and dropping files and folders from the File manager onto the desktop.

enter image description here

guiverc avatar
cn flag
Thanks for writing this up (*and link to Lubuntu manual*)
tinlyx avatar
pe flag
@guiverc Thank you. :)
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.