GNOME Bugzilla – Bug 566477
.desktop files have no file type application associated
Last modified: 2016-03-07 20:11:56 UTC
Please describe the problem: Say I go to ~/.local/share/applications in nautilus and right-click on firefox.desktop (or any other .desktop file), then I cannot choose to open it with a text editor. If I go to "file properties" of a .desktop file, I have no tab to let me choose the "Open with ...". I think this is a bug because I might want to open .desktop files with a text editor sometimes. Steps to reproduce: 1. Open nautilus 2. Go to ~/.local/share/applications 3. Right-click on a .desktop file Actual results: Missing the option of "Open with ..." Expected results: Have an option to open with a text editor. Does this happen every time? yes Other information:
Created attachment 323094 [details] [review] Clearing the bug 566477 Now the desktop files can be launched by double clicking. But to edit it : Right click and go for "Open With ...". Of course if any application associated with that type (application/x-desktop) or that are capable of opening such files it will be found in the menu or you have to select the program from the list of all programs.
Created attachment 323138 [details] [review] Clearing the bug 566477 - adding mime type application/x-desktop in "Text File" mime type Patch reworked with addind "application/x-desktop" under "Text File" Mime Type.
Created attachment 323201 [details] [review] fixing the issue as well as some additions Now "Open with application" is added in the context menu for all instances except when right clicked in empty space in nautilus.
Created attachment 323202 [details] [review] files-view: add Open With App menu item for all items
Created attachment 323211 [details] [review] files-view: add Open With App menu item for all items
Review of attachment 323211 [details] [review]: Looks good now, thanks!
Attachment 323211 [details] pushed as cedea77 - files-view: add Open With App menu item for all items