Toolbar settings for KWrite (and Kate)

Hello everyone,

I’d like some help to figure out where KWrite’s toolbar settings are stored.

For example when changing the settings as follows:
KWrite → Settings → Toolbars Shown → and I uncheck the “Main Toolbar” and the “Hamburger Menu Toolbar”

I cannot find in which file(s) these changes are saved.

I am aware of: ~/.config/kwriterc
but this doesn’t seem to be related to the toolbars.

I am also aware that Kate has this file:
~/.local/share/kxmlgui5/kate/kateui.rc

However when I tried to change the same toolbar settings in Kate, this file did not seem to contain these changed settings either, so I am out of ideas.

By the way, is there any online KDE resource that explains where the settigns for each KDE program are stored? That would be extra useful!

Thanks!

Hey funky

Here are my files from Plasma 5

.config
kwriterc
.local
share
kxmlgui5
katepart
katepart5ui.rc
kwrite
kwriteui.rc
org.kde.syntax-highlighting
themes
Vim Dark VIC-1.theme

Good luck

Vektor

edit: I put this in outline form but it got flattened somehow.
Maybe with a code window —

-config
   kwriterc
.local
   share
     kxmlgui5
       katepart
         katepart5ui.rc
       kwrite
         kwriteui.rc
     org.kde.syntax-highlighting
       thenes
         Vim Dark VIC-1.theme

Thanks for you help vektor!

I know for sure that

~/.config/kwriterc
~/.local/share/kxmlgui5/kwrite/kwrite.rc
~/.local/share/org.kde.syntax-highlighting/themes/my_theme.theme

do not include the setting I am looking for.

I also don’t have this folder & file from my system,
~/.local/share/kxmlgui5/katepart/katepart5ui.rc
so that leads me to believe that the setting I am looking for has to be saved somewhere else.

Hey funky

I have used the “watch” command to find many things until I ran across this thread on the Porteus forums:

I made two scripts for myself

#! /bin/bash

cd /root/
konsole --noclose -e find -newer  start_count.txt |tee  /tmp/list_recent.txt &
rm /tmp/list_recent.txt

and

#! /bin/bash

touch /root/start_count.txt
touch /tmp/list_recent.txt

They work very well for me.
I run it right before making a single change and easily see what I need.

Have fun

Vektor

2 Likes

Thanks Vektor, that’s pretty neat! I think I’ll probably be able to work out the answer soon! :slightly_smiling_face: