How can I locate the “.desktop” of an existing Gnome App, so that I can copy and modify it?

How can I locate the “.desktop” of an existing Gnome Apps, so that I can copy and modify it?

For example:
I searched for Files, and it is shown in the search result.
I want to locate its .desktop file to see its details, copy and modify, etc.

rpm -q -l pkg_name | grep -e "[.]desktop$"
find {/usr,~/.local}/share/applications -iname "*app_name*"
grep -i -r -e "app_name" {/usr,~/.local}/share/applications

Can a network scanner URL be saved in xsane to avoid having to use a shell script? - #3 by vgaetera

3 Likes

Thank you very much!

I got the ideas now.

1 Like