sway-launcher-desktop icon indicating copy to clipboard operation
sway-launcher-desktop copied to clipboard

[SOLVED] Desktop Entries Not Being Listed

Open electricjones opened this issue 2 years ago • 1 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 :)

electricjones avatar Jan 28 '23 06:01 electricjones

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.

Mikkolehtimaki avatar Apr 15 '23 16:04 Mikkolehtimaki