Bug 503655

Summary: [Feature Request] Application / Settings menu for editing/viewing `.desktop` files
Product: [I don't know] kde Reporter: insuna
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 6.4.0
Sentry Crash Report:

Description insuna 2025-05-02 10:10:39 UTC
SUMMARY
`.desktop` files are annoying to deal with and are spread across innumerable directories across often multiple drives and partitions, but somehow always get picked up. This leads to inconvenient situations where the application search can return 50 results for "Steam" of which 1 is correct and 49 are dead references with no discernible origin.

Because KDE seems to be able to pick up `.desktop` files even if they're written on paper in an old shoebox in my grandma's attic it also becomes impossible to edit or remove incorrect or orphaned `.desktop` entries.

I would wish for an application or settings submenu where I can graphically edit `.desktop` files that were auto-detected by KDE or at least for a way to right-click on a Search result in the application search, which would show me the path where these parasitic `.desktop` files are located, so that I can delete them.

STEPS TO REPRODUCE
1. Type anything into the application search
2. See that you have many search results with absolutely no context
3. Despair

OBSERVED RESULT
Application Search results are displayed with no way of finding out what their origin is, leaving search results cluttered with garbage that cannot be removed without running a `find` command that searches all mounted volumes for files with the `.desktop` extension

EXPECTED RESULT
Right-Clicking on a Search result should open a small context menu that shows me the file path for this particular `.desktop` file.  Alternatively there could be a menu in the system settings for Desktop Shortcuts, where I would be able to see the path of the `.desktop` file, see the execute parameter and possibly change/add icons

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux 6.14.2-273-tkg-bore
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0

ADDITIONAL INFORMATION
Sorry for not properly categorizing this feature request, I don't know where I should've put it.
Comment 1 Nate Graham 2025-05-02 15:54:33 UTC
KDE has an app that does this: KMenuEdit. In version 6.4, it will be able to show you the path to the file, too.