Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I was just learning how to make new launcher icons and I encountered a small annoyance with the spaces in filenames.

[Desktop Entry]
Comment=This is my comment
Exec=/home/alex/**New\ folder**/exec.sh
Icon=/home/alex/**New folder**/icon.png

And I noticed this. As you can see on Exec filepath you need to put " \ " before a space, while for Icon it doesn't need and it doesn't even work if you insert it. Why is that?

share|improve this question
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.