hengxing | 8 Jan 10:01

What's wrong with my gnome desktop? 选项

I don't know what my mistaken operation which makes all un-hidden
files in my 'home' directory list on the desktop. And if I delete the
file or directory on the desktop, it will remove the file in my 'home
' directory accordingly. It seem a hard link on the desktop which map
to my 'home' directory. How can I remove it from the desktop?

thanks!

_______________________________________________
gnome-list mailing list
gnome-list <at> gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-list
Robert Moonen | 8 Jan 11:05

Re: What's wrong with my gnome desktop? 选项

hengxing wrote:
> I don't know what my mistaken operation which makes all un-hidden
> files in my 'home' directory list on the desktop. And if I delete the
> file or directory on the desktop, it will remove the file in my 'home
> ' directory accordingly. It seem a hard link on the desktop which map
> to my 'home' directory. How can I remove it from the desktop?
>   

from /home/yourname/$

You will need to issue the command ls -la
from this listing you can see which one is the link, probably only a 
soft link.
Then you can rm softlink, or whatever its name is.

cheers
Robert
Robert Moonen | 8 Jan 11:07

Re: What's wrong with my gnome desktop? 选项

hengxing wrote:
> I don't know what my mistaken operation which makes all un-hidden
> files in my 'home' directory list on the desktop. And if I delete the
> file or directory on the desktop, it will remove the file in my 'home
> ' directory accordingly. It seem a hard link on the desktop which map
> to my 'home' directory. How can I remove it from the desktop?
>   

from /home/yourname/$

You will need to issue the command ls -la
Oh, and maybe do a ls -la Desktop as well,
from this listing you can see which one is the link, probably only a
soft link.
Then you can rm softlink, or whatever its name is.

cheers
Robert
Eugene Gorodinsky | 8 Jan 11:40

Re: What's wrong with my gnome desktop? 选项



2009/1/8 Robert Moonen <rmoonen <at> bigpond.net.au>
hengxing wrote:
I don't know what my mistaken operation which makes all un-hidden
files in my 'home' directory list on the desktop. And if I delete the
file or directory on the desktop, it will remove the file in my 'home
' directory accordingly. It seem a hard link on the desktop which map
to my 'home' directory. How can I remove it from the desktop?
 

from /home/yourname/$

You will need to issue the command ls -la
Oh, and maybe do a ls -la Desktop as well,

from this listing you can see which one is the link, probably only a
soft link.
Then you can rm softlink, or whatever its name is.


cheers
Robert


_______________________________________________
gnome-list mailing list
gnome-list <at> gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-list

The distro might localize directory names (e.g. Ubuntu does this), so it might not be Desktop, but something else.
_______________________________________________
gnome-list mailing list
gnome-list <at> gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-list
Daniel James | 8 Jan 21:12
Favicon

Re: What's wrong with my gnome desktop? 选项

On Thu, 2009-01-08 at 17:04 +0800, hengxing wrote:
> I don't know what my mistaken operation which makes all un-hidden 
> files in my 'home' directory list on the desktop. And if I delete the 
> file or directory on the desktop, it will remove the file in my 'home 
> ' directory accordingly. It seem a hard link on the desktop which map 
> to my 'home' directory. How can I remove it from the desktop? 

Sounds like you are showing your home folder as your desktop folder.
There are two ways this can happen. There is a GConf setting that will
let you display your home folder as your desktop, or, you could have
your XDG_DESKTOP_DIR set to $HOME.

To make sure your home dir isn't being used as your desktop dir in
gconf, run this command:

gconftool-2 -s /apps/nautilus/preferences/desktop_is_home_dir
--type=bool false

make sure that all appears on one line. You will need to restart
nautilus to see the changes, just log out and then in again. If that
doesn't work, you need to edit your XDG user-dirs file:

gedit .config/user-dirs.dirs

your DESKTOP entry should point to something like "$HOME/Desktop"

Daniel
hengxing | 9 Jan 03:04

Re: What's wrong with my gnome desktop? 选项

Thanks all for your answer.
That's right. My ~/.config/user-dirs.dirs was modified by my some mistaken operation which I
don't know how it happen by now.
The XDG_DESKTOP_DIR was set to $HOME. That is the reason.
2009/1/9 Daniel James <daniel <at> netbreeze.com.au>
On Thu, 2009-01-08 at 17:04 +0800, hengxing wrote:
> I don't know what my mistaken operation which makes all un-hidden
> files in my 'home' directory list on the desktop. And if I delete the
> file or directory on the desktop, it will remove the file in my 'home
> ' directory accordingly. It seem a hard link on the desktop which map
> to my 'home' directory. How can I remove it from the desktop?

Sounds like you are showing your home folder as your desktop folder.
There are two ways this can happen. There is a GConf setting that will
let you display your home folder as your desktop, or, you could have
your XDG_DESKTOP_DIR set to $HOME.

To make sure your home dir isn't being used as your desktop dir in
gconf, run this command:

gconftool-2 -s /apps/nautilus/preferences/desktop_is_home_dir
--type=bool false

make sure that all appears on one line. You will need to restart
nautilus to see the changes, just log out and then in again. If that
doesn't work, you need to edit your XDG user-dirs file:

gedit .config/user-dirs.dirs

your DESKTOP entry should point to something like "$HOME/Desktop"

Daniel



_______________________________________________
gnome-list mailing list
gnome-list <at> gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-list

Gmane