Bug 511006 - Improve display of Shortcuts (.destkop Link)
Summary: Improve display of Shortcuts (.destkop Link)
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.08.2
Platform: EndeavourOS Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-24 09:42 UTC by Lehmeier
Modified: 2025-10-27 18:38 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ‘~’.”