Adapting to changed config file names/locations in master

Friedrich W. H. Kossebau kossebau at kde.org
Mon Jul 18 21:15:35 BST 2016


Hi,

I just pushed a row of commits to master which have changed a the location of 
some config files. So if you have some custom settings with your local 
development setup you would like to recover, please see below for the needed 
file location/name adaptions.

The goal of the commits was to make the applications properly startable by D-
Bus, to follow the appdata naming scheme some more and to cleanup the 
installation a little bit more, by having more consistent names and 
namespaces.

# Adapt app config files:
# e.g. $HOME/.config/
export MYCONFIGDIR=$HOME/where/your/user/config/is

mv $MYCONFIGDIR/planrc     $MYCONFIGDIR/calligraplanrc
mv $MYCONFIGDIR/planworkrc $MYCONFIGDIR/calligraplanworkrc
mv $MYCONFIGDIR/sheetsrc   $MYCONFIGDIR/calligrasheetsrc
mv $MYCONFIGDIR/stagerc    $MYCONFIGDIR/calligrastagerc
mv $MYCONFIGDIR/wordsrc    $MYCONFIGDIR/calligrawordsrc

# Adapt xmlgui config files:
# e.g. $HOME/.local/share/kxmlgui5
export MYXMLGUIDIR=$HOME/where/your/user/xmlgui/is

mv $MYXMLGUIDIR/plan/plan.rc     $MYXMLGUIDIR/calligraplan/calligraplan.rc
mv $MYXMLGUIDIR/planwork/planwork.rc $MYXMLGUIDIR/calligraplanwork/
calligraplanwork.rc
mv $MYXMLGUIDIR/sheets/sheets.rc $MYXMLGUIDIR/calligrasheets/calligrasheets.rc
mv $MYXMLGUIDIR/stage/stage.rc   $MYXMLGUIDIR/calligrastage/calligrastage.rc
mv $MYXMLGUIDIR/words/words.rc   $MYXMLGUIDIR/calligrawords/calligrawords.rc


Which also reminds that someone needs to write config migration code for 2.* -
> 3.0, see https://phabricator.kde.org/T469

Cheers
Friedrich



More information about the calligra-devel mailing list