Where Does KWrite Store Settings?
KWrite stores settings in KDE config files under home config. Back up kwriterc plus shared KatePart files to migrate.
Last updated
KWrite follows KDE convention. Its own settings live in kwriterc under the XDG config home, while the editor engine shares files like kateschemarc with Kate and KDevelop. Sessions and recent files ride along in the same tree.
Exact filenames shift between KDE generations, so treat the paths below as the standard layout. Scripted edits work through the kwriteconfig tool, which writes the same files without opening the app. Sessions restore open documents and cursor spots on relaunch. Color scheme edits apply instantly and save back to the same shared files.
Where KWrite stores this, by platform
/home/<username>/.config/kwriterc
Main KWrite settings. Exact keys vary by release, so check inside the app if a value looks different.
/home/<username>/.config/kateschemarc
Shared color schemes and KatePart behavior used by KWrite, Kate, and KDevelop. Migrate these together with kwriterc.
Frequently asked questions
How do I move KWrite settings to a new machine?
Copy kwriterc and the shared kateschemarc and katepartrc files to home config on the new machine with KWrite closed. Color schemes and sessions travel with them.
How do I reset KWrite settings?
Rename kwriterc and restart. KWrite rebuilds defaults. Your documents are elsewhere and stay safe.
Notice an outdated path? Let us know.