Reply to topic

Importing "places" from another computer/older KDE version

Ofnuts
Registered Member
Posts
41
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
18669
Karma
83
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.


System Settings and Device Actions KCM maintainer
Image
Ofnuts
Registered Member
Posts
41
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
4966
Karma
17
OS
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 13.1 x64, KDE 4.12.x

Problem solved? Please click on Image below the post with the best answer to mark your topic as solved.
User avatar bcooksley
Administrator
Posts
18669
Karma
83
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.


System Settings and Device Actions KCM maintainer
Image
User avatar cleary
Registered Member
Posts
24
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

 
Reply to topic

Bookmarks



Who is online

Registered users: Alastair, apater, Baidu [Spider], Bing [Bot], Exabot [Bot], garthecho, ggael, Google [Bot], google01103, Horus, jitseniesen, Joif, kde-jriddell, ken300, La Ninje, Mamarok, mmistretta, Nuc!eoN, psbot [Picsearch], rbruce, renatoatilio, sacarde, sinclair, stephans, TheraHedwig, tienhung, wolfi323, Yahoo [Bot]