Bug 499133 - Right-Clicking an .desktop shortcut file should have a "Open shortcut's folder" option on the Context Menu
Summary: Right-Clicking an .desktop shortcut file should have a "Open shortcut's folde...
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: Desktop icons & Folder View widget (other bugs)
Version First Reported In: 6.2.5
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-25 14:35 UTC by Fernando M. Muniz
Modified: 2025-01-28 00:48 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
The system knows the path of the shortcut. (401.42 KB, image/png)
2025-01-25 14:35 UTC, Fernando M. Muniz
Details
.desktop shortcut for game "Inside" (413 bytes, application/x-desktop)
2025-01-27 21:36 UTC, Fernando M. Muniz
Details
.desktop shortcut. (314 bytes, application/x-desktop)
2025-01-27 22:07 UTC, Fernando M. Muniz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando M. Muniz 2025-01-25 14:35:04 UTC
Created attachment 177671 [details]
The system knows the path of the shortcut.

I've noticed that when right-clicking this .lnk shortcut file, the Context Menu doesn't offer an option to open the folder the shorcut leads to.

So I'm requesting the addition of an option that opens the folders that .lnk shortcuts leads to.
Comment 1 Fernando M. Muniz 2025-01-25 16:00:22 UTC
Noticed that the shortcut file ended in .desktop
Comment 2 Nate Graham 2025-01-27 21:14:07 UTC
What create .lnk files? Where did you get this from? Can you attach it for inspection?
Comment 3 Fernando M. Muniz 2025-01-27 21:21:13 UTC
(In reply to Nate Graham from comment #2)
> What create .lnk files? Where did you get this from? Can you attach it for
> inspection?

It was actually a .desktop file, and it can be created by installing a Windows software with Wine and click the option to create a shortcut.
Steam also creates this .desktop shortcut, but it doesn't leave the address to the file like the attachment shows.
Comment 4 Nate Graham 2025-01-27 21:24:01 UTC
Please attach the file
Comment 5 Fernando M. Muniz 2025-01-27 21:36:53 UTC
Created attachment 177729 [details]
.desktop shortcut for game "Inside"
Comment 6 Fernando M. Muniz 2025-01-27 22:07:37 UTC
Created attachment 177730 [details]
.desktop shortcut.
Comment 7 Nate Graham 2025-01-28 00:41:00 UTC
So this is a shortcut that leads to an app, not a folder. As such, a feature to open the folder the shortcut leads to wouldn't be applicable to it. In this case it just opens `wine` in general, not even a specific version of it that has a known parent folder.
Comment 8 Fernando M. Muniz 2025-01-28 00:46:16 UTC
(In reply to Nate Graham from comment #7)
> So this is a shortcut that leads to an app, not a folder. As such, a feature
> to open the folder the shortcut leads to wouldn't be applicable to it. In
> this case it just opens `wine` in general, not even a specific version of it
> that has a known parent folder.

What is the purpose of that "Caminho de trabalho" highlighted in the first attachment? It points to where the files were installed.
Comment 9 Nate Graham 2025-01-28 00:48:59 UTC
It tells the system to `cd` to that folder before executing the command (in this case, `wine`) Sometimes this is needed for compatibility's sake. It's not the actual path that `wine` lives at.