This is just crazy!
I am professional programmer and I am using Ubuntu for everyday work. I really don’t have the time to do this for every icon that I need. And I don’t see anything in this code and procedure that is not possible to create automaticity. When I click on bin file system knows the path of it, and the name of the file.
There is NO info here that requires human cognition process for input !!! Icon can be choosed later on right mouse button context menu. Giving additional permission for icon type to be executable is like asking: are you really sure that you need this icon, and do you know that it can start program! OMG, ATTENTION, HAZARD, SYSTEM MELTDOWN , WARNING.
It looks like this is made on purpose, to give the feeling for those “hackers” that uses Linux OS, that they are different, more cool, more “more”, then those pure souls that uses Windows or OSX. Ha, creating icon with one mouse click, it is for p****.
Just let us work real stuff, creating desktop icon is so 80’s, don’t make mission impossible from it!