Changing the desktop directory/name

Asked by Daniel Carr

I was fiddling with my desktop language, and I changed it to a language that uses a different character set. When I changed back to English, the Desktop was still named incorrectly (and the folder named "Desktop" was still in my home folder, with all the files and folders that were previously on my desktop).
Then I tried various things to change it back, and long story short, my home folder is now my 'Desktop' (but my real Desktop folder is still there).
How can I change that?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Daniel Carr
Solved:
Last query:
Last reply:
Revision history for this message
Gord Allott (gordallott) said :
#1

try running the command:
gconftool --set /apps/nautilus/preferences/desktop_is_home_dir --type bool "true"

and then logging out and logging back in again (might not need to but you never know)

Revision history for this message
Gord Allott (gordallott) said :
#2

sorry that should be:
gconftool --set /apps/nautilus/preferences/desktop_is_home_dir --type bool "false"

Revision history for this message
Daniel Carr (danielcarr) said :
#3

Thank you, but unfortunately that didn't help.
I opened the graphical conf-editor as well, and looked there (although I had done it already). I found some interesting options, but none that helped. Is there perhaps a similar setting, but instead of a boolean, it just sets the directory of the desktop? (eg desktop_folder_is --type string "/home/daniel/Desktop")?

Revision history for this message
Launchpad Janitor (janitor) said :
#4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Daniel Carr (danielcarr) said :
#5

Well, I'd really love it if this question got an answer, but it expired, so I am just un-expiring (inspiring?) it.

Revision history for this message
Launchpad Janitor (janitor) said :
#6

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Daniel Carr (danielcarr) said :
#7

I have to unexpire this again...

Revision history for this message
Launchpad Janitor (janitor) said :
#8

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Daniel Carr (danielcarr) said :
#9

Now I have to unexpire the question to answer it...

Revision history for this message
Daniel Carr (danielcarr) said :
#10

I eventually found the solution on Launchpad a few weeks ago. It's as simple as editing the line: XDG_DESKTOP_DIR="" in the file: ~/.config/user-dirs.dirs by putting my Desktop directory between the quotation marks. ie. XDG_DESKTOP_DIR="$HOME/Desktop".