[SOLVED] Dolphin re-creates Places links.

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Dolphin re-creates Places links.

Postby madeye » Mar 14th, '14, 15:36

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.
Attachments
dolphin.png
dolphin.png (97.78 KiB) Viewed 500 times
- Madeye

When I supply commands in an answer, please make sure you understand them before you run them! Use google or man to check!
User avatar
madeye
 
Posts: 110
Joined: Jul 23rd, '11, 12:36
Location: Aabenraa, Denmark

Re: Dolphin re-creates Places links.

Postby doktor5000 » Mar 14th, '14, 20:21

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 ;)
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18068
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Dolphin re-creates Places links.

Postby madeye » Mar 14th, '14, 21:40

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...
- Madeye

When I supply commands in an answer, please make sure you understand them before you run them! Use google or man to check!
User avatar
madeye
 
Posts: 110
Joined: Jul 23rd, '11, 12:36
Location: Aabenraa, Denmark


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest