Home directory messed up

Asked by Nuthan Santharam

Greetings,

Recently, I installed Ubuntu 12.04. For some reason, i backed-up my home directory contents to another directory(say bkp dir). Precisely, I moved Documents, Pictures, Downloads, etc.. to bkp directory. Now, Deleted all my original home directory contents. I restored all the bkp directory content back to home. I find them all on my Desktop. I believe some kinda chain is broken. I dont find respective home directories icons on them. How do i restore it? Also, i dont find them in my places options.

Messed up directory screen:http://i48.tinypic.com/1qo740.png

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Solved by:
Nuthan Santharam
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Do you have the home items set to display on the desktop.

Can you give the output of:

lsb_release -a;uname -a

Thanks

Revision history for this message
Nuthan Santharam (nuthankumarns) said :
#2

Thanks for the reply.....

i have not set anything to display the items on the desktop..

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise

uname -a

Linux nuthan-desktop 3.2.0-23-generic-pae #36-Ubuntu SMP Tue Apr 10 22:19:09 UTC 2012 i686 i686 i386 GNU/Linux

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3
Revision history for this message
Nuthan Santharam (nuthankumarns) said :
#4

user-dirs.dirs

# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/"
XDG_DOWNLOAD_DIR="$HOME/"
XDG_TEMPLATES_DIR="$HOME/"
XDG_PUBLICSHARE_DIR="$HOME/"
XDG_DOCUMENTS_DIR="$HOME/"
XDG_MUSIC_DIR="$HOME/"
XDG_PICTURES_DIR="$HOME/"
XDG_VIDEOS_DIR="$HOME/"

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

You can't see the issue??

Your desktop folder is referenced as:

XDG_DESKTOP_DIR="$HOME/"

So if you change the line to:

XDG_DESKTOP_DIR="$HOME/Desktop"

Save the new file and reboot, it should be ok. You may also want to set the other lines right too (make a bacup copy first).

Revision history for this message
Nuthan Santharam (nuthankumarns) said :
#6

Thanks very much... That solved my problem..!!!!

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

Suprised you didn't change the line yourself based on the site.....

Revision history for this message
Nuthan Santharam (nuthankumarns) said :
#8

yeah..., the site had the answer what i was looking for. I did not read it fully.