Hi all!
Is there a way to permaently hide these items? - toolbars on top - status line of editor subwindow (where it says "raw, column, filename, insert ...") - tab buttons below editor window (terminal, search, ..)
Nik
-- Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...
Sorry, there is a "a" missing in the subject, it's about "kate". Anno domini 2024 Mon, 13 May 16:25:29 +0200 Dr. Nikolaus Klepp via tde-users scripsit:
Hi all!
Is there a way to permaently hide these items?
- toolbars on top
- status line of editor subwindow (where it says "raw, column, filename, insert ...")
- tab buttons below editor window (terminal, search, ..)
Nik
-- Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ... ____________________________________________________ tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskto...
-- Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...
Dr. Nikolaus Klepp via tde-users wrote:
Is there a way to permaently hide these items?
- toolbars on top
- status line of editor subwindow (where it says "raw, column, filename,
insert ...") - tab buttons below editor window (terminal, search, ..)
Try right mouse click on the toolbar and disable the "main toolbar" and/or the extended one.(img1) Same can be achieved in the menu under what should be called Settings in English
Anno domini 2024 Tue, 14 May 00:42:13 +0200 deloptes via tde-users scripsit:
Dr. Nikolaus Klepp via tde-users wrote:
Is there a way to permaently hide these items?
- toolbars on top
- status line of editor subwindow (where it says "raw, column, filename,
insert ...") - tab buttons below editor window (terminal, search, ..)
Try right mouse click on the toolbar and disable the "main toolbar" and/or the extended one.(img1) Same can be achieved in the menu under what should be called Settings in English
Yes, that works for the current session. But as soon as kate is restarted the toolbars are there again. Any way to wark around that?
Nik
-- Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...
On Monday 13 May 2024 23:23:24 Dr. Nikolaus Klepp via tde-users wrote:
Anno domini 2024 Tue, 14 May 00:42:13 +0200
deloptes via tde-users scripsit:
Dr. Nikolaus Klepp via tde-users wrote:
Is there a way to permaently hide these items?
- toolbars on top
- status line of editor subwindow (where it says "raw, column,
filename, insert ...") - tab buttons below editor window (terminal, search, ..)
Try right mouse click on the toolbar and disable the "main toolbar" and/or the extended one.(img1) Same can be achieved in the menu under what should be called Settings in English
Yes, that works for the current session. But as soon as kate is restarted the toolbars are there again. Any way to wark around that?
Nik
I can find many possible config files (with that -rc extension) that might be the right one, but this seems most likely:
/<user>/.config/katerc
Please note the lines about tab bar, status bar, menu bar. If you don't find exactly what you need, you may be able to write your own custom lines to make it obey.
Other candidates for config files (including some that might be left over from the old KDE3/4/5/etc.):
/opt/trinity/share/apps/kateui.rc /<user>/.config/kateschemarc /<user>/.config/katepartrc
There are other tucked away in /<user>/.config/ /home/<user>/.kde/share/apps/ /home/<user>/.trinity/share/apps/ but that first one seems the best fit.
Bill
William Morder via tde-users wrote:
I can find many possible config files (with that -rc extension) that might be the right one, but this seems most likely:
/<user>/.config/katerc
Please note the lines about tab bar, status bar, menu bar. If you don't find exactly what you need, you may be able to write your own custom lines to make it obey.
Other candidates for config files (including some that might be left over from the old KDE3/4/5/etc.):
/opt/trinity/share/apps/kateui.rc /<user>/.config/kateschemarc /<user>/.config/katepartrc
There are other tucked away in /<user>/.config/ /home/<user>/.kde/share/apps/ /home/<user>/.trinity/share/apps/ but that first one seems the best fit.
Bill
On my Debian all of it is in ~/.trinity/share/config/ ~/.trinity/share/config/katerc
But I do not think that this setting is being written anywhere. May be someone like Michele, who knows it better could answer.
BR
On Tuesday 14 May 2024 09:39:28 deloptes via tde-users wrote:
William Morder via tde-users wrote:
Other candidates for config files (including some that might be left over from the old KDE3/4/5/etc.):
/opt/trinity/share/apps/kateui.rc /<user>/.config/kateschemarc /<user>/.config/katepartrc
There are other tucked away in /<user>/.config/ /home/<user>/.kde/share/apps/ /home/<user>/.trinity/share/apps/ but that first one seems the best fit.
Bill
On my Debian all of it is in ~/.trinity/share/config/ ~/.trinity/share/config/katerc
But I do not think that this setting is being written anywhere. May be someone like Michele, who knows it better could answer.
BR
I have such a config file (in /home/~/.trinity/share/config/katerc), but mine shows entirely different lines, and is much longer; although it is in the trinity folder, which seems more appropriate.
Some of those others that I found could be leftovers from older systems (especially the one that discovered in /home/~/.config/), but I often find interesting possibilities in those old config files.
My older (obsolete?) katerc file reads:
#################
[General] Config Revision=10 Days Meta Infos=30 Modified Notification=false Recent File List Entry Count=10 Restore Window Configuration=true Save Meta Infos=true Show Full Path in Title=false Show Menu Bar=true Show Status Bar=true Show Tab Bar=true Startup Session=manual
[MainWindow] State=AAAA/wAAAAD9AAAAAAAABkAAAAMlAAAABAAAAAQAAAAIAAAACPwAAAABAAAAAgAAAAEAAAAWAG0AYQBpAG4AVABvAG8AbABCAGEAcgAAAAAA/////wAAAAAAAAAA ToolBarsMovable=Disabled Window-Maximized 900x1600=true
#################
Those lines, Show Menu bar, Show Status Bar, change them to false, and those bars ought to go away permanently. I am just guessing, but these lines might be added to the correct config file.
Wherever it ought to be, this looks right: /home/~/.trinity/share/config/katerc Now, if those other lines could be added, maybe Nik can get what he wants.
I hope that reads intelligibly. I took bits from here and there and threw them all together.
Bill
Anno domini 2024 Tue, 14 May 10:18:27 -0700 William Morder via tde-users scripsit:
On Tuesday 14 May 2024 09:39:28 deloptes via tde-users wrote:
William Morder via tde-users wrote:
Other candidates for config files (including some that might be left over from the old KDE3/4/5/etc.):
/opt/trinity/share/apps/kateui.rc /<user>/.config/kateschemarc /<user>/.config/katepartrc
There are other tucked away in /<user>/.config/ /home/<user>/.kde/share/apps/ /home/<user>/.trinity/share/apps/ but that first one seems the best fit.
Bill
On my Debian all of it is in ~/.trinity/share/config/ ~/.trinity/share/config/katerc
But I do not think that this setting is being written anywhere. May be someone like Michele, who knows it better could answer.
BR
I have such a config file (in /home/~/.trinity/share/config/katerc), but mine shows entirely different lines, and is much longer; although it is in the trinity folder, which seems more appropriate.
Some of those others that I found could be leftovers from older systems (especially the one that discovered in /home/~/.config/), but I often find interesting possibilities in those old config files.
My older (obsolete?) katerc file reads:
#################
[General] Config Revision=10 Days Meta Infos=30 Modified Notification=false Recent File List Entry Count=10 Restore Window Configuration=true Save Meta Infos=true Show Full Path in Title=false Show Menu Bar=true Show Status Bar=true Show Tab Bar=true Startup Session=manual
[MainWindow] State=AAAA/wAAAAD9AAAAAAAABkAAAAMlAAAABAAAAAQAAAAIAAAACPwAAAABAAAAAgAAAAEAAAAWAG0AYQBpAG4AVABvAG8AbABCAGEAcgAAAAAA/////wAAAAAAAAAA ToolBarsMovable=Disabled Window-Maximized 900x1600=true
#################
Those lines, Show Menu bar, Show Status Bar, change them to false, and those bars ought to go away permanently. I am just guessing, but these lines might be added to the correct config file.
Wherever it ought to be, this looks right: /home/~/.trinity/share/config/katerc Now, if those other lines could be added, maybe Nik can get what he wants.
I hope that reads intelligibly. I took bits from here and there and threw them all together.
A glimmer of hope, alas, short lived ... these cofig settings are gone with the wind. There is a "ShowStatusBar" (without spaces") but it does nothing. I greped through the source code, but it looks like there is nothing there any more. Interestingly I found an antient klabtechrc that has setting for toolbars and status and therer's code in kate that would read it but it does not work in kate - or maybe I missed something.
Nik
Bill ____________________________________________________ tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskto...
-- Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...
On Tuesday 14 May 2024 11:20:58 Dr. Nikolaus Klepp via tde-users wrote:
A glimmer of hope, alas, short lived ... these cofig settings are gone with the wind. There is a "ShowStatusBar" (without spaces") but it does nothing. I greped through the source code, but it looks like there is nothing there any more. Interestingly I found an antient klabtechrc that has setting for toolbars and status and therer's code in kate that would read it but it >
does not work in kate - or maybe I missed something.
Nik
Did you put that header line, [General], before the lines for Show Menu Bar & Show Status Bar? It seems like those headers might be important.
And please disregard my lines of ###s, I just use that to set off quoted text in an email when it is a very long passage.
Every so often, I find that those snips taken from older config files still work in the newer TDE releases. (I probably shouldn't say that; those tricks might go away!)
In any case, it *seems* like something like this ought to work, if only you can find the right config file. There are also some with a different extension, .kcfg, that I find in the newer releases, no longer plaintext files but rather something like xml, maybe? In any case, I looked there: /opt/trinity/share/config.kcfg and on my machine (running Devuan Daedalus) there is no .kcfg file for kate. Whether or not these can be modified by the ordinary user, I don't know. But if so, it may be possible to write your own. There are .kcfg files for other similar Trinity apps, such as kedit.
I haven't yet tried to modify these, don't know if it's possible, but I believe maybe there, or by changing lines in another such -rc file, your hopes can at last be fulfilled, all your dreams come true.
Bill
Anno domini 2024 Tue, 14 May 12:13:39 -0700 William Morder via tde-users scripsit:
On Tuesday 14 May 2024 11:20:58 Dr. Nikolaus Klepp via tde-users wrote:
A glimmer of hope, alas, short lived ... these cofig settings are gone with the wind. There is a "ShowStatusBar" (without spaces") but it does nothing. I greped through the source code, but it looks like there is nothing there any more. Interestingly I found an antient klabtechrc that has setting for toolbars and status and therer's code in kate that would read it but it >
does not work in kate - or maybe I missed something.
Nik
Did you put that header line, [General], before the lines for Show Menu Bar & Show Status Bar? It seems like those headers might be important.
Yep.
And please disregard my lines of ###s, I just use that to set off quoted text in an email when it is a very long passage.
Every so often, I find that those snips taken from older config files still work in the newer TDE releases. (I probably shouldn't say that; those tricks might go away!)
In any case, it *seems* like something like this ought to work, if only you can find the right config file. There are also some with a different extension, .kcfg, that I find in the newer releases, no longer plaintext files but rather something like xml, maybe? In any case, I looked there: /opt/trinity/share/config.kcfg and on my machine (running Devuan Daedalus) there is no .kcfg file for kate. Whether or not these can be modified by the ordinary user, I don't know. But if so, it may be possible to write your own. There are .kcfg files for other similar Trinity apps, such as kedit.
Neither is on my machine.
I haven't yet tried to modify these, don't know if it's possible, but I believe maybe there, or by changing lines in another such -rc file, your hopes can at last be fulfilled, all your dreams come true.
Can you make the toolbar disappear permanently on your system?
Nik
Bill
tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskto...
-- Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...
On Tuesday 14 May 2024 12:56:37 Dr. Nikolaus Klepp via tde-users wrote:
Anno domini 2024 Tue, 14 May 12:13:39 -0700
In any case, it *seems* like something like this ought to work, if only you can find the right config file. There are also some with a different extension, .kcfg, that I find in the newer releases, no longer plaintext files but rather something like xml, maybe? In any case, I looked there: /opt/trinity/share/config.kcfg and on my machine (running Devuan Daedalus) there is no .kcfg file for kate. Whether or not these can be modified by the ordinary user, I don't know. But if so, it may be possible to write your own. There are .kcfg files for other similar Trinity apps, such as kedit.
Neither is on my machine.
I haven't yet tried to modify these, don't know if it's possible, but I believe maybe there, or by changing lines in another such -rc file, your hopes can at last be fulfilled, all your dreams come true.
Can you make the toolbar disappear permanently on your system?
Nik
You ask for things never attempted. I don't actually use kate. I use kedit and other basic Linux text editor apps. Maybe it's because I don't do any real coding to speak of, only the occasional hack to my system.
At present, this is how my kate looks. (See attachment for screenshot.) The only toolbar is the basic menu. If you want to get rid of that, too, I will have to poke around to see what happens.
Otherwise, my kate is probably the same as way back in about 2006-2008, when I first got into Linux, then soon thereafter discovered the KDE3 desktop. Like I said, I never use kate, or don't remember using it. I probably tried it out, but it didn't suit me.
If you like, I will make a few experiments; once I find out what config file has those settings, that is, and make a backup. But if you also want the menu bar to disappear, that may be impossible, as deloptes points out in separate response, if, or because, (quoting here): "corresponding code to read the value and use it in the code"; I don't know about that, as I am not a developer, don't mess around with code.
Bill
On Tuesday 14 May 2024 14:04:35 William Morder wrote:
On Tuesday 14 May 2024 12:56:37 Dr. Nikolaus Klepp via tde-users wrote:
Anno domini 2024 Tue, 14 May 12:13:39 -0700 Can you make the toolbar disappear permanently on your system?
Nik
If you like, I will make a few experiments
Well, I will assume that I got the right config file, here: /home/~/.trinity/share/config/katerc
I added these lines after version header, but before any other headers:
################# [General] Days Meta Infos=30 Last Session= Modified Notification=false Restore Window Configuration=false Save Meta Infos=true Show Full Path in Title=false Show Menu Bar=false Show Status Bar=false Startup Session=manual
[Kate Document Defaults] #################
When I first start kate, there are no toolbars, but when I click for new session, the same toolbars as I had appear. I can make the icons go away in settings (within the gui), but the menu toolbar remains.
See attachments.
Bill
On Tuesday 14 May 2024 15:32:28 William Morder wrote:
On Tuesday 14 May 2024 12:56:37 Dr. Nikolaus Klepp via tde-users wrote:
Anno domini 2024 Tue, 14 May 12:13:39 -0700 Can you make the toolbar disappear permanently on your system?
Nik
Within kate's gui, I got rid of all the icons on the lower toolbar, only that menu bar remains, and probably cannot be made to disappear.
See attachment.
Bill
Anno domini 2024 Tue, 14 May 15:43:17 -0700 William Morder via tde-users scripsit:
On Tuesday 14 May 2024 15:32:28 William Morder wrote:
On Tuesday 14 May 2024 12:56:37 Dr. Nikolaus Klepp via tde-users wrote:
Anno domini 2024 Tue, 14 May 12:13:39 -0700 Can you make the toolbar disappear permanently on your system?
Nik
Within kate's gui, I got rid of all the icons on the lower toolbar, only that menu bar remains, and probably cannot be made to disappear.
See attachment.
Hi Bill,
is this permanent, e.g. does it survive restarting kate?
Bill
-- Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...
On Tuesday 14 May 2024 23:38:09 Dr. Nikolaus Klepp via tde-users wrote:
Anno domini 2024 Tue, 14 May 15:43:17 -0700
William Morder via tde-users scripsit:
On Tuesday 14 May 2024 15:32:28 William Morder wrote:
On Tuesday 14 May 2024 12:56:37 Dr. Nikolaus Klepp via tde-users
wrote:
Anno domini 2024 Tue, 14 May 12:13:39 -0700 Can you make the toolbar disappear permanently on your system?
Nik
Within kate's gui, I got rid of all the icons on the lower toolbar, only that menu bar remains, and probably cannot be made to disappear.
See attachment.
Hi Bill,
is this permanent, e.g. does it survive restarting kate?
Bill
It is permanent, yes, except that I can't seem to get rid of that sidebar. But somewhere I saw something about making the sidebar go away, too. Look in Window > Tool Views > Hide Sidebars or just alt-ctrl-shift-F to get rid of them. I think there must be a way to make the sidebar go away permanently, as well.
There is yet another possible way to get rid of even the menubar, but that would mean going into the window settings, and I have found that trying to apply it to a specific application gives very mixed results. Sometimes you will find those same changes applied to other application windows, where you did not want them.
If you are brave or foolhardy, however, then right-click at the top of kate's window, in the title border, Advanced > Special Application Settings > Window Extra. It seems that it is possible to configure even those borders and toolbars to go away, but good luck getting them back. I like to do a lot of special window configurations, to make applications open in specific desktops, for example, or to use workarounds like focus stealing prevention, but I haven't had much luck using those settings to suppress part of a window's appearance. I doubt that's possible, at least not without messing up other applications.
In any case, except for the sidebar, that's how it looks for me when I open, the click to start a new session.
Bill
On Wednesday 15 May 2024 00:58:20 William Morder via tde-users wrote:
On Tuesday 14 May 2024 23:38:09 Dr. Nikolaus Klepp via tde-users wrote:
There is yet another trick I just got. Save session, then it will open up exactly as you left it. There remains the problem of naming, because you can set kate to load your last saved session: Settings > Configure Kate > Sessions but if you start with a plain saved session, then it seems that all your subsequent sessions ought to keep the same appearance.
I tested it, and kate opens saved sessions that look exactly like that last screenshot I sent.
Unless you want to go into those window settings that I mentioned before, I think this is about as close as you can get.
Bill
Anno domini 2024 Wed, 15 May 00:58:20 -0700 William Morder via tde-users scripsit:
[...] If you are brave or foolhardy, however, then right-click at the top of kate's window, in the title border, Advanced > Special Application Settings > Window Extra. It seems that it is possible to configure even those borders and toolbars to go away, but good luck getting them back. I like to do a lot of special window configurations, to make applications open in specific desktops, for example, or to use workarounds like focus stealing prevention, but I haven't had much luck using those settings to suppress part of a window's appearance. I doubt that's possible, at least not without messing up other applications.
In any case, except for the sidebar, that's how it looks for me when I open, the click to start a new session.
You are a live saver :)
Ok, this is how it works: - Disable "save session on exit": kate always loads the default settings including visible toolbars etc. And there are 2 sessions named "Unknown". --> this is what I had and it is bad.
- Enable "save settings on exit": creates or overwrites a session file in /home/nik/.trinity/share/apps/kate/sessions/[strangeletternumbercombo].katesession Now this file has everything in it I saw in the source code. Rename it to "empty.katesession", remove all file references, make it readonly amd change the session name in sessions.list. --> toolbar is gone and the other stuff is configurable.
Now I have what I want :)
Nik
Bill
tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskto...
-- Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...
On Wednesday 15 May 2024 02:59:46 Dr. Nikolaus Klepp via tde-users wrote:
Anno domini 2024 Wed, 15 May 00:58:20 -0700
You are a live saver :)
Ok, this is how it works:
- Disable "save session on exit": kate always loads the default settings
including visible toolbars etc. And there are 2 sessions named "Unknown". --> this is what I had and it is bad.
- Enable "save settings on exit": creates or overwrites a session file in
/home/nik/.trinity/share/apps/kate/sessions/[strangeletternumbercombo].kate session Now this file has everything in it I saw in the source code. Rename it to "empty.katesession", remove all file references, make it readonly amd change the session name in sessions.list. --> toolbar is gone and the other stuff is configurable.
Now I have what I want :)
Nik
Glad I could help. On many of those applications inherited from KDE3 -- or maybe earlier -- it is usually possible yet to do some creative self-hacking.
Bill
On 5/15/24 2:59 AM, Dr. Nikolaus Klepp via tde-users wrote:
- Disable "save session on exit": kate always loads the default settings
including visible toolbars etc. And there are 2 sessions named "Unknown". --> this is what I had and it is bad.
- Enable "save settings on exit": creates or overwrites a session file in
/home/nik/.trinity/share/apps/kate/sessions/[strangeletternumbercombo].katesession Now this file has everything in it I saw in the source code. Rename it to "empty.katesession", remove all file references, make it readonly amd change the session name in sessions.list. --> toolbar is gone and the other stuff is configurable.
I haven't been following this discussion very closely, so may have missed something. But what I did notice I think could be accomplished simply by using kwrite instead of kate, unless you need kate's session functionality.
On Wednesday 15 May 2024 11:04:37 Dan Youngquist via tde-users wrote:
On 5/15/24 2:59 AM, Dr. Nikolaus Klepp via tde-users wrote:
- Disable "save session on exit": kate always loads the default settings
including visible toolbars etc. And there are 2 sessions named "Unknown". --> this is what I had and it is bad.
- Enable "save settings on exit": creates or overwrites a session file in
/home/nik/.trinity/share/apps/kate/sessions/[strangeletternumbercombo].ka tesession Now this file has everything in it I saw in the source code. Rename it to "empty.katesession", remove all file references, make it readonly amd change the session name in sessions.list. --> toolbar is gone and the other stuff is configurable.
I haven't been following this discussion very closely, so may have missed something. But what I did notice I think could be accomplished simply by using kwrite instead of kate, unless you need kate's session functionality.
I don't actually use either kate or kwrite. I use kedit and some other, basic Linux text editors. (I still use a version of leafpad from an older system, because it requires no dependencies, still works, and just does what I want.) I don't need a text editor for coding.
Nik is the one who wants to use kate, For me, it was just the challenge of getting it work as somebody wants to use it. It's more fun than watching television.
Bill
Anno domini 2024 Wed, 15 May 11:18:18 -0700 William Morder via tde-users scripsit:
On Wednesday 15 May 2024 11:04:37 Dan Youngquist via tde-users wrote:
On 5/15/24 2:59 AM, Dr. Nikolaus Klepp via tde-users wrote:
- Disable "save session on exit": kate always loads the default settings
including visible toolbars etc. And there are 2 sessions named "Unknown". --> this is what I had and it is bad.
- Enable "save settings on exit": creates or overwrites a session file in
/home/nik/.trinity/share/apps/kate/sessions/[strangeletternumbercombo].ka tesession Now this file has everything in it I saw in the source code. Rename it to "empty.katesession", remove all file references, make it readonly amd change the session name in sessions.list. --> toolbar is gone and the other stuff is configurable.
I haven't been following this discussion very closely, so may have missed something. But what I did notice I think could be accomplished simply by using kwrite instead of kate, unless you need kate's session functionality.
I don't actually use either kate or kwrite. I use kedit and some other, basic Linux text editors. (I still use a version of leafpad from an older system, because it requires no dependencies, still works, and just does what I want.) I don't need a text editor for coding.
Nik is the one who wants to use kate, For me, it was just the challenge of getting it work as somebody wants to use it. It's more fun than watching television.
Yep, I'm the culprit :) Actually I use kate 'cause geany went south with GTK3. I like the SDI interface and the files tab. I fill the files list from my Makefile and the included make-output-parser + terminal fit my development cycle. I just try to get more vertical pixels and readable lines of text for the texteditor on this t480's hdpi display.
Nik
Bill
tde-users mailing list -- users@trinitydesktop.org To unsubscribe send an email to users-leave@trinitydesktop.org Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydeskto...
-- Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...
William Morder via tde-users wrote:
Did you put that header line, [General], before the lines for Show Menu Bar & Show Status Bar? It seems like those headers might be important.
And please disregard my lines of ###s, I just use that to set off quoted text in an email when it is a very long passage.
Every so often, I find that those snips taken from older config files still work in the newer TDE releases. (I probably shouldn't say that; those tricks might go away!)
In any case, it *seems* like something like this ought to work, if only you can find the right config file. There are also some with a different extension, .kcfg, that I find in the newer releases, no longer plaintext files but rather something like xml, maybe? In any case, I looked there: /opt/trinity/share/config.kcfg and on my machine (running Devuan Daedalus) there is no .kcfg file for kate. Whether or not these can be modified by the ordinary user, I don't know. But if so, it may be possible to write your own. There are .kcfg files for other similar Trinity apps, such as kedit.
I haven't yet tried to modify these, don't know if it's possible, but I believe maybe there, or by changing lines in another such -rc file, your hopes can at last be fulfilled, all your dreams come true.
1. regarding the location I am pretty sure the correct place is ~/.trinity (this was .kde3 before).
2. regarding the format K/TDE uses a simple text-based file format for all its configuration files. It consists of key-value pairs that are placed in groups. All KDE configuration files use UTF-8 encoding for text outside the ASCII range.
The start of a group is indicated by a group name that is placed in square brackets. All the key-value entries that follow belong to the group. The group ends when either another group starts or when the end of the file is reached.
Entries at the top of the file that are not preceded by a group name belong to the default group.
https://userbase.kde.org/KDE_System_Administration/Configuration_Files
3. regarding changes in those config files. There must be corresponding code to read the value and use it in the code. As I am not aware of such options in Kate, I can only suggest to create feature request in TGW for extending Kate with this feature.
In fact I think the showing of the toolbar when the app starts is hardcoded in Kate.
4. regarding the code behind The TQToolBar inherits TQDockWindows and we find following information
TQMainWindow provides four dock areas (top, left, right and bottom) which can be used by dock windows. For many applications using the dock areas provided by TQMainWindow is sufficient. (See the TQDockArea documentation if you want to create your own dock areas.) In TQMainWindow a right-click popup menu (the dock window menu) is available which lists dock windows and can be used to show or hide them. (The popup menu only lists dock windows that have a caption.)
https://www.trinitydesktop.org/docs/qt3/ntqdockwindow.html
5. In the case of Kate there are two XML UI files (I think at some point of time they received the extention .ui, but in this case it is ...ui.rc
Anyway there is the gui - the things that you see
/opt/trinity/share/apps/kate/kateui.rc /opt/trinity/share/apps/ktechlab/ktechlabkateui.rc
I don't know what happens if you remove ToolBar from the XML. The code usually binds to those elements and provides standard or custom functionality.
BR