Looks like the logic is built-in but desktop definitions are in control file.