PDA

View Full Version : [ubuntu] newbie desktop problem



e_pupazzi
April 16th, 2009, 06:25 PM
I've got a noob question :) The directory displayed on my desktop is not

/home/user/Desktop

but

/home/user


xdg-user-dir shows /home/user

where can i change the environment variable? Thank you in advance!

Daisuke_Aramaki
April 16th, 2009, 06:42 PM
I've got a noob question :) The directory displayed on my desktop is not

/home/user/Desktop

but

/home/user


xdg-user-dir shows /home/user

where can i change the environment variable? Thank you in advance!

I don't really get that. The location of your Desktop is /home/user, which is indeed the way it should be. Desktop is a folder under /home/user.

RyanVanDiemen
April 16th, 2009, 07:22 PM
what he meant is probably that the content of the directory /home/user/desktop is not showing on his desktop, but /home/user is. which is weird, never encountered that... anybody, idea?

RyanVanDiemen
April 16th, 2009, 07:33 PM
found it: go to your .config directory and edit user-dirs.dirs file and change line XDG_DESKTOP_DIR="$HOME/" to the directory you want to be shown as your desktop. in your case
XDG_DESKTOP_DIR="$HOME/Desktop" or any other if you wish so.

hope this answers your question

e_pupazzi
April 16th, 2009, 07:58 PM
Solved, thank you Ryan!

sorry for the double post, there was some db issue today with the forum...

_Purple_
April 16th, 2009, 07:58 PM
I've got a noob question :) The directory displayed on my desktop is not

/home/user/Desktop

but

/home/user


xdg-user-dir shows /home/user

where can i change the environment variable? Thank you in advance!

The command given below will give you the desktop directory:

xdg-user-dir DESKTOP

The default settings are stored in /etc/xdg/user-dirs.defaults where as the settings for any particular users are stored in /home/user/.config/user-dirs.dirs as RyanVanDiemen has mentioned. You can change the settings for all the users or for any specific user.