- will be equal as long as people follow the
prgname == wmclass == desktop name convention
at this point in time, I'd go with option #2. That should cover most cases.
One tricky thing to consider, however -- epiphany webapps. They have their own separate desktop files... Do you want to use that desktop ID here, or the main one for epiphany?
Ideas for determining the desktop file name:
- use the GApplication app-id
- will be equal in increasing numbers of cases
- use g_get_prgname()
- will be equal as long as people follow the
prgname == wmclass == desktop name convention
at this point in time, I'd go with option #2. That should cover most cases.
One tricky thing to consider, however -- epiphany webapps. They have their own separate desktop files... Do you want to use that desktop ID here, or the main one for epiphany?