A few minor fixes you could do: - The .desktop file for OptimizeN900 has been written in DOS format, thus it has ^M symbols at the end of every line. - The script OptimizeN900 should have executable flags (it is a script). This way you could invoke it from the .desktop without the /bin/sh.