feat: add "edit desktop entry" to the desktop file context menu

Opening a .desktop file launches the application it describes, so the
file manager offered no way to look at or change the file itself: the
only way out was a terminal. Reported upstream on 2025-05-11 and still
open.

Add an "Edit desktop entry" action to the context menu, next to the
entry own desktop actions. It opens the file with the default
text/plain handler instead of its application/x-desktop one.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Lionel DARNIS 2026-08-19 20:42:34 +02:00
parent 9e0c2726ef
commit d78a22d87c
4 changed files with 37 additions and 0 deletions

View file

@ -342,6 +342,7 @@ extract-here = Extract
new-file = New file...
new-folder = New folder...
open-in-terminal = Open in terminal
edit-desktop-entry = Edit desktop entry
move-to = Move to...
move-to-trash = Move to trash
restore-from-trash = Restore from trash

View file

@ -349,6 +349,7 @@ extract-here = Extraire
new-file = Nouveau fichier...
new-folder = Nouveau dossier...
open-in-terminal = Ouvrir dans le terminal
edit-desktop-entry = Modifier le fichier .desktop
move-to-trash = Déplacer vers la corbeille
restore-from-trash = Restaurer depuis la corbeille
remove-from-sidebar = Supprimer de la barre latérale