Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: bbhtt <[email protected]>
  • Loading branch information
harrmitch and bbhtt authored Oct 16, 2024
1 parent edb799c commit 2c42904
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/conventions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Here are some practical examples of poor ID choices:

- ``org.example.desktop``

This ID is problematic because the Appstream standard, for legacy reasons,treats IDs ending with
This ID is problematic because the Appstream standard, for legacy reasons, treats IDs ending with
``.desktop`` as a special case, leading to inconsistency. For the same reason, ``.Desktop`` suffixes
should not be used for newly named applications. Don't hesitate to repeat the application name
even if it is already part of the domain name section of the identifier (e.g. ``org.example.Example``).
Expand Down Expand Up @@ -88,8 +88,8 @@ reference for providing MetaInfo. You can use the online
`AppStream MetaInfo Creator <https://www.freedesktop.org/software/appstream/metainfocreator/>`_
to generate a basic file.

MetaInfo files should be named using the application ID, end with the ``.metainfo.xml``
file extension, and be placed in ``/app/share/metainfo/``. For example::
MetaInfo files should be named using the application ID, must end with the ``.metainfo.xml``
file extension, and must be placed in ``/app/share/metainfo/``. For example::

/app/share/metainfo/org.gnome.Dictionary.metainfo.xml

Expand Down Expand Up @@ -142,8 +142,8 @@ information about each application. The `Freedesktop specification
<https://specifications.freedesktop.org/desktop-entry-spec/latest/>`_
provides a complete reference for writing desktop files.

Desktop files should be named using the application's ID, followed
by the ``.desktop`` file extension, and should be placed in
Desktop files must be named using the application's ID, followed
by the ``.desktop`` file extension, and must be placed in
``/app/share/applications/``. For example::

/app/share/applications/org.gnome.Dictionary.desktop
Expand Down Expand Up @@ -252,5 +252,5 @@ and later. If your application needs to work on earlier versions of Flatpak, you
the app will use the correct directory, even after Flatpak is later upgraded to version
>1.13.

Also note that applications can be configured to use non-default base directory
Also, note that applications can be configured to use non-default base directory
locations (see :doc:`sandbox-permissions`).

0 comments on commit 2c42904

Please sign in to comment.