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.
2 Comments
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 freedesktop.org desktop entry specification files, and then make those filese executable, so one can just execute the .desktop file to load the appropriate app. […]