Skip to content

"Select a command" file dialog of "Application Autostart" doesn't quote the path

In general, it's OK that the "Add application" dialog of "Application Autostart" sends the contents of the "Command:" entry directly to the desktop file without any quoting required by the specification: obviously, only the user knows the boundaries of the arguments in the string to properly quote them.

But it's rather odd that when you select the executable using the "Select a command" file dialog, the path is not automatically quoted. As a result, the application will not run if the path contains spaces or other reserved characters that require quoting. Of course, you can quote it manually afterward, but that's not quite user-friendly for probably the most common use case, not to mention that an uninitiated user has to figure out why the app doesn't start and then learn the quoting rules from the desktop entry specification.

Edited by Daniel Plakhotich