This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Importing "places" from another computer/older KDE version

Tags: None
(comma "," separated)
Ofnuts
Registered Member
Posts
62
Karma
0
OS
I'm setting up a new PC with Kubuntu 12.10. My previous one was running Kubuntu 10.04. I have a fairly large set of "places" (the various servers I work with). Is there a way to import the places in the new PC? I tried to copy ".kde/share/apps/kfileplaces/bookmarks.*" but Dolphin seems to ignore it (and replaces bookmark.xml with its own version).
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Please note that Dolphin (or ideally KDE) should not be running in any form when you replace the file. Otherwise it will be ignored and overwritten when you quit the application.

You may also wish to check other locations such as apps/konqueror/bookmarks.xml (and likely also apps/dolphin/bookmarks.xml) to see if they are involved.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Ofnuts
Registered Member
Posts
62
Karma
0
OS
bcooksley wrote:Please note that Dolphin (or ideally KDE) should not be running in any form when you replace the file. Otherwise it will be ignored and overwritten when you quit the application.

You may also wish to check other locations such as apps/konqueror/bookmarks.xml (and likely also apps/dolphin/bookmarks.xml) to see if they are involved.

Dolphin wasn't running when I replaced the file. But I tried something else: kept the new file, but edited it to insert my stuff, then save and set it R/O before other software tries to update it. Launch Dolphin once: still the original places, relauch Dolphin, new places are there. Will have to set it R/W and restart to check if it sticks around.

Speaking of apps/konqueror/bookmarks.xml: it supports "folders" and it seems to have the same structure as kfileplaces. Does that mean kfileplaces could support folders?
User avatar
google01103
Manager
Posts
6668
Karma
25
try doing the replacement while KDE is not running using command line mv/cp - just a guess but both Kmenu and Lancelot make use of places and maybe that's the reason your new file is being ignored


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
In theory kfileplaces could support folders (as the file format supports it) but the code itself does not support having folders in the Places area at this time.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
cleary
Registered Member
Posts
32
Karma
0
copy your backed up bookmarks.xml to ~/.local/share/user-places.xbel

Dolphin will read that and append it to it's bookmarks.xml file.

Courtesy of this rather succinct post which I found while trying to solve the same problem:
http://linuxexchange.org/questions/2726 ... for-places


Bookmarks



Who is online

Registered users: Bing [Bot], gfielding, Google [Bot], markhm, sethaaaa, Sogou [Bot], Yahoo [Bot]