Bug 511006

Summary: Improve display of Shortcuts (.destkop Link)
Product: [Applications] dolphin Reporter: Lehmeier <r.lehmeier>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: dolphin-bugs-null, meven, nicolas.fella
Priority: NOR    
Version First Reported In: 25.08.2   
Target Milestone: ---   
Platform: EndeavourOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Lehmeier 2025-10-24 09:42:59 UTC
When I create a shortcut, it is displayed with the extension “.desktop”.

It would be better if the extension could be disabled so that it is no longer displayed. 
This would create a more uniform appearance and avoid some queries.

STEPS TO REPRODUCE

An example:

1. Go to a directory on the local computer.
2. Find an empty space and right-click the mouse.
3. Select “+ Create new.”
4. Select “Create shortcut to file or folder” and link to a file or folder.
5. The link is displayed with the extension .desktop.


EXPECTED RESULT

The link should be displayed without the extension. E.g., a selection function (with or without display) when creating the link.

Translated with DeepL.com (free version)
Comment 1 Lehmeier 2025-10-24 09:49:09 UTC
Operating System: EndeavourOS 
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.4-arch2-1 (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 7900X 12-Core Processor
Memory: 128 GiB of RAM (124.9 GiB usable)
Graphics Processor 1: AMD Radeon RX 7900 XT
Graphics Processor 2: AMD Radeon Graphics
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X670 AORUS ELITE AX
Comment 2 Méven 2025-10-24 14:01:29 UTC
> When I create a shortcut, it is displayed with the extension “.desktop”.

The file extension cant change, the extension is important to determine quickly the file type.
Without this  extension, the file becomes just a text file, without any meaning to the system.
FYI those files are defined by this specification: https://specifications.freedesktop.org/desktop-entry-spec/latest/

One think we can do, is make this extension less visible, perhaps making the extension grey, or hidding it, and making it act more link a symbolic link.

If you want you can instead create symbolic links, that won't use the .destkop files, you can use "Define a link to a file or folder" instead.
Comment 3 Lehmeier 2025-10-27 06:48:26 UTC
When I use “Define a link to a file or folder,” I get the following error message: “WorkingDirectory= expects an absolute path or ‘~’.”