Biont/sway-launcher-desktop

[SOLVED] Desktop Entries Not Being Listed

electricjones opened this issue · 4 comments

This may not be a bug, but it consumed hours of my life, so I thought I'd post the problem and solution for others.

My installation was not showing any desktop entries. At all. And, I don't believe it was showing any user entries either.

It turns out that I had mawk installed and now gawk, which the script actually relies on. I'm not sure if awk will actually work, but I replaced all the calls to awk with gawk and everything worked fine from there.

The issue (I think) is that BEGINFILE and ENDFILE are gawk specific implementations and NOT part of the awk standard, and therefore not implemented by others.

Hope that saves others some headache :)

Thanks! I also had mawk, not gawk. I'm only seeing commands listed, not desktop files. After this change, I only saw command history. Any more debugging ideas? On Debian bookworm.