I don't know if I did something wrong, but all my .desktop files open in text editor. I have tried to install f.lux, there is a setup.py file, which also opens in some text editor.
I have tried to change the location of the files to .local/share/applications, check if they had permission to run as program, I still can't get it to work.