Silly desktop idea

A sillly destop idea: .desktop files should start with “#! some-new-program” and be executable. Then I could run them directly from the command line. Naturally the script interpreter would know how to parse command line arguments and pass them on to the underlying program appropriately.


  • It’s not that silly, this has actually been suggested as a security measure by some people, to protect against .desktop files in e-mail attachments or things like that.

  • […] Tom Tromey had a Silly desktop idea for the GNOME desktop project — create a small interpreter that can load desktop entry specification files, and then make those filese executable, so one can just execute the .desktop file to load the appropriate app. […]

Join the Discussion

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>