Page 1 of 1

[SOLVED] Dolphin re-creates Places links.

PostPosted: Mar 14th, '14, 15:36
by madeye
My dolphin filemanager is behaving strange. There are some folders in the home directory which I don't use. So I removed them. However dolphin keeps listing them in the Places list.
I can hide them, but they just show up again. Sometims I can delete them, but this doesn't keep them away either.

In my autostart folder I found "user-dirs-update-gtk.desktop". Thinking it could have something to do with my problem, I deleted that as well. Needless to say nothing changed.

Does anyone know where I need to remove these links? I find it rather annoying when my computer starts to think it knows what I want! This is no apple computer for gods sake! :x

I have attached a screenshot of dolphin. It's the icons : Music, Videos and Downloads that I want to be rid off.

Re: Dolphin re-creates Places links.

PostPosted: Mar 14th, '14, 20:21
by doktor5000
Pretty simple:
You either right-click on the entry in the places list (maybe needs to be unlocked) and either choose "hide entry" or "delete entry".
Delete is permanent, and removes that link from the places list, but doesn't touch the actual folder. Hide is only to hide it,
if you right-click and select "show all entries" it will show up again as long as that's enabled.

The actual places are stored in ~/.local/share/user-places.xbel in XML format.

Simply deleting the linked folders themselves has no effect on places list. Like removing the target of
a symlink (soft link) will have no effect on the symlink itself ;)

Re: Dolphin re-creates Places links.

PostPosted: Mar 14th, '14, 21:40
by madeye
Actually I did both try and hide them and also remove them by right clicking on the links in the Places pane. But they still re-appeared. It seems this is caused by xdg.
There is a setting in /etc/xdg/user-dirs.conf that makes the system re-create the links according to the settings in /etc/xdg/user-dirs.defaults.

Both these files can also be placed in ~/.config where they can be used to disable this behaviour. Just change
Code: Select all
enabled=True
to
Code: Select all
enabled=False


It seems to have solved the problem. I will wait to bring out the champagne though, until I've seen it to still be true in a couple of days!

EDIT:
Like I thought. The problem has shown its ugly face again :evil:
My research has brought me to the following page where it's described in which files the places are actually stored. (like also doktor5000 writes above)
http://userbase.kde.org/Dolphin/File_Management#Places

I have tried to remove the file. For now it seems to be OK. We'll see in a couple of days...