After some more digging into the problem, I've found a workaround, and I think that I also found the bug itself:
The KDE Control Center Module that changes the path creates an entry in ~/.config/user-dirs.dirs that has the form
XDG_DESKTOP_DIR[$e]="/home/olenz/KDesktop"
When removing the "[$e]" with an editor, and logging out and in again, the changed path persists, and everything works as intended.
The "[$e]" seems to originate from KDE, where it is found in the lines in ~/.kde/share/config/kdeglobals.
In ~/.config/user-dirs.dirs however, the "[$e]" has to be omitted.
I think the bug is therefore in the KDE control center module that edits the latter file. Now I wonder: is this a bug in KDE, or in Kubuntus modifications?
After some more digging into the problem, I've found a workaround, and I think that I also found the bug itself:
The KDE Control Center Module that changes the path creates an entry in ~/.config/ user-dirs. dirs that has the form
XDG_DESKTOP_ DIR[$e] ="/home/ olenz/KDesktop"
When removing the "[$e]" with an editor, and logging out and in again, the changed path persists, and everything works as intended.
The "[$e]" seems to originate from KDE, where it is found in the lines in ~/.kde/ share/config/ kdeglobals. user-dirs. dirs however, the "[$e]" has to be omitted.
In ~/.config/
I think the bug is therefore in the KDE control center module that edits the latter file. Now I wonder: is this a bug in KDE, or in Kubuntus modifications?