Support creation of desktop menu entries (#1943)