.desktop vs .ini

How do .desktop files differ to .ini files? Their syntax appears identical.

This is more a question about #FreeDesktop, but I’m fairly confident that in all but name, that organization is a subsidiary of GNOME.

1 Like

In general, INI files have no specification.

  • INI files use the ‘;’ character to begin comments, desktop entry files use the ‘#’ character
  • desktop entry files do not allow for ungrouped keys meaning only comments can precede the first group; some INI file parsers allow “global” keys
  • desktop entry files are always encoded in UTF-8
  • Key and Group names are case-sensitive in desktop entry files, whereas INI files are case insensitive
  • INI files don’t have a strongly typed boolean entry type, they only have GetProfileInt(); desktop entry files have true and false

No, it’s very much not. Freedesktop.org is an independent entity, managed by the X.org foundation.

1 Like

Do you have the Q&A module installed? I’d like to designate your question as the answer.

Last time I checked it was installed.

I can’t, though.

The extension is installed, but it seems you’ve been creating a bunch of different accounts.

What do you mean? For what? On this Discourse instance, I have perhaps 2 at most.

Why would that affect this anyway?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.