Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am having problems when I want to use a folder name containing a blank (Hentede filer in my case). It is in the line: Exec= Hentede filer of the .desktop file but that doesn't work.

[Downloads Shortcut Group]
Name=Hentede filer
Exec=nautilus Hentede filer
share|improve this question

Change it to nautilus "Hentede filer"

For future reference: you can test these by issueing the command in a terminal like so:


It will open it if it the command is correct or give an error message if it is not. Since I do not have a "Hentede filer" I get this message:


But as you can see it errors out on not finding it but it does show it tries to open it the way you want it to.

share|improve this answer
Thanks a lot - it works. – Knud Petersen May 22 '11 at 21:57

Try changing to:

[Downloads Shortcut Group]
Name=Hentede filer
Exec=nautilus Hentede\ filer

In fact, in linux blanks are identified by the "\" key code (backslash+blank).

share|improve this answer
Actually, the "\" (backslash) is used to prefix characters that cannot be entered as-is. So, when you enter "Hentede\ filer" the space will be made part of the parameter, not a parameter separator. – jfmessier May 22 '11 at 22:59

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.