Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Applications list entirely empty because of corrupt .desktop file #280

Open
kruthers64 opened this issue Jan 7, 2024 · 0 comments
Open

Comments

@kruthers64
Copy link

My mintmenu lost the list of applications, identical to this forum post:
https://forums.linuxmint.com/viewtopic.php?t=384302

It turned out that a .desktop file in ~/.local/share/applications that I had been editing acquired a slight corruption, (a null byte appended to the end in case that matters). This .desktop file still worked fine for a panel launcher or even double-clicking in caja, but it broke mintmenu.

I only found the problem by running desktop-file-validate on it, which reported:
example.desktop: warning: file contains lines that are not UTF-8 encoded. There is no guarantee the validator will correctly work.

Fixing the desktop file and running mintmenu --reset fixed the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant