Default Foliate desktop shortcut points to "com.github.johnfactotum.Foliate" which doesn't exist, so nothing will open. If you issue "foliate" from the terminal, the app does open and work as expected.
I think the recent update might have broken it, let me test and fix this.
(In reply to Santhosh Raju from comment #1) Ok, thank you for your quick reply. I'm running Foliate 2.0.0 by the way, not the latest you added.
A commit references this bug: Author: fox Date: Thu Apr 9 20:04:26 UTC 2020 New revision: 531267 URL: https://svnweb.freebsd.org/changeset/ports/531267 Log: deskutils/foliate: Fix the desktop shortcut. Bump the PORTREVISION. PR: 245489 Reported by: Patricio Villar <patovm04@gmail.com> Changes: head/deskutils/foliate/Makefile
(In reply to Patricio Villar from comment #2) Looks like it was an issue with the shortcut itself, and I never bothered to test it. I have fixed it in the latest commit, let me know if this fixes the issue at your end.
(In reply to Santhosh Raju from comment #4) Just tried it, and indeed it fixed the shortcut issue. Thanks a lot!
(In reply to Patricio Villar from comment #5) Good to hear, closing the ticket.