How can I "remind" Kate that I have set 'Window -> Hide Documents'? I've set it and saved it in the default session, but every time I reopen Kate, there's that irritating document list. I searched the forum archive, but though I've seen other folks complain about the presence of the document list, all of the responses seem disinclined to provide an actual solution to its presence. :-)
Leslie
Am Samstag 17 Dezember 2016 schrieb Leslie Turriff:
How can I "remind" Kate that I have set 'Window -> Hide Documents'? I've set it and saved it in the default session, but every time I reopen Kate, there's that irritating document list. I searched the forum archive, but though I've seen other folks complain about the presence of the document list, all of the responses seem disinclined to provide an actual solution to its presence. :-)
Leslie
There seems to be something strange about kate's handling of default session indeed. When you start kate with a pristine config dir it opens with new session and side bar and document list shown. Kate does not seem to save the settings for the default session, as you said. I tried and it didn't.
But with other sessions I created myself it works. I set option "save session" on exit and when I open the session next time the document list is not shown like I wanted.
Unfortunately I do nowhere see an option to set default session. However, it appeared once, in an opening dialog to choose the session to open and there was an switch to let kate always open that chosen session when starting. But I can't reproduce that.
Default session seems to be "hardwired" and when you open kate with "new session" it opens that one anyways. But you can save your own empty session (without showing document list) and let kate choose that one instead when starting.
After a little experimenting I found this workaround:
1) Start with pristine kate config dir
cp ~/.trinity/share/apps/kate{,orig}
2) Open kate with no arguments and close it
3) Open ~/.trinity/share/apps/kate/sessions/default.session with an editor and change these options to "false" and save file. Kate-MDI-Sidebar-Visible=false Kate-MDI-ToolView-kate_filelist-Visible=false
4) Next time you open kate it will neither show the side bar nor the document list.
Stefan
Stefan Krusche wrote:
Am Samstag 17 Dezember 2016 schrieb Leslie Turriff:
How can I "remind" Kate that I have set 'Window -> Hide Documents'? I've set it and saved it in the default session, but every time I reopen Kate, there's that irritating document list. I searched the forum archive, but though I've seen other folks complain about the presence of the document list, all of the responses seem disinclined to provide an actual solution to its presence. :-)
Leslie
There seems to be something strange about kate's handling of default session indeed. When you start kate with a pristine config dir it opens with new session and side bar and document list shown. Kate does not seem to save the settings for the default session, as you said. I tried and it didn't.
But with other sessions I created myself it works. I set option "save session" on exit and when I open the session next time the document list is not shown like I wanted.
Unfortunately I do nowhere see an option to set default session. However, it appeared once, in an opening dialog to choose the session to open and there was an switch to let kate always open that chosen session when starting. But I can't reproduce that.
Default session seems to be "hardwired" and when you open kate with "new session" it opens that one anyways. But you can save your own empty session (without showing document list) and let kate choose that one instead when starting.
After a little experimenting I found this workaround:
- Start with pristine kate config dir
cp ~/.trinity/share/apps/kate{,orig}
Open kate with no arguments and close it
Open ~/.trinity/share/apps/kate/sessions/default.session with an editor
and change these options to "false" and save file. Kate-MDI-Sidebar-Visible=false Kate-MDI-ToolView-kate_filelist-Visible=false
- Next time you open kate it will neither show the side bar nor the
document list.
Stefan
Thats great, however if you don't need those you perhaps want to use kwrite.
regards
On 2016/12/17 11:16 PM, Stefan Krusche wrote:
Am Samstag 17 Dezember 2016 schrieb Leslie Turriff:
How can I "remind" Kate that I have set 'Window -> Hide Documents'? I've set it and saved it in the default session, but every time I reopen Kate, there's that irritating document list. I searched the forum archive, but though I've seen other folks complain about the presence of the document list, all of the responses seem disinclined to provide an actual solution to its presence. :-)
Leslie
There seems to be something strange about kate's handling of default session indeed. When you start kate with a pristine config dir it opens with new session and side bar and document list shown. Kate does not seem to save the settings for the default session, as you said. I tried and it didn't.
But with other sessions I created myself it works. I set option "save session" on exit and when I open the session next time the document list is not shown like I wanted.
Unfortunately I do nowhere see an option to set default session. However, it appeared once, in an opening dialog to choose the session to open and there was an switch to let kate always open that chosen session when starting. But I can't reproduce that.
Default session seems to be "hardwired" and when you open kate with "new session" it opens that one anyways. But you can save your own empty session (without showing document list) and let kate choose that one instead when starting.
After a little experimenting I found this workaround:
- Start with pristine kate config dir
cp ~/.trinity/share/apps/kate{,orig}
Open kate with no arguments and close it
Open ~/.trinity/share/apps/kate/sessions/default.session with an editor and change these options to "false" and save file.
Kate-MDI-Sidebar-Visible=false Kate-MDI-ToolView-kate_filelist-Visible=false
- Next time you open kate it will neither show the side bar nor the document
list.
The default session up to R14.0.x is hardwired in the code, if a session does not exist the default session is created/selected by default.
Kate -> Settings -> Configure Kate -> Session: provides option for session management when opening and closing Kate. In particular if you choose "Manually choose session" you will be presented with a dialog where to select the session to use when you start Kate
The Session menus instead is where you can load/save sessions. Once you set up your Kate window as you wish, use the Session menu to save it to file.
In R14.1.x, session management will be different, with a new session panel available in the GUI for easy operations on different sessions. The Session menu will also be updated. Currently it looks as shown in the attachment, although the code has not yet been pushed to the main repo. There will be more development on that when time allows. Probably the additional functionality will end up in R14.2.x.
Cheers Michele
Am Sonntag 18 Dezember 2016 schrieb Michele Calgaro:
Unfortunately I do nowhere see an option to set default session. However, it appeared once, in an opening dialog to choose the session to open and there was an switch to let kate always open that chosen session when starting. But I can't reproduce that.
The default session up to R14.0.x is hardwired in the code, if a session does not exist the default session is created/selected by default.
Kate -> Settings -> Configure Kate -> Session: provides option for session management when opening and closing Kate. In particular if you choose "Manually choose session" you will be presented with a dialog where to select the session to use when you start Kate
And there comes up again the option to permanently choose that session to be opened by default. I did not try that because I was thinking it would only choose the session for that one particular start-up of kate.
That is what I could not rediscover after it had appeared one time... Thanx. So, the proposed "work-around" is obsolete ;-)
Excellent! I'll give this a try.
On 2016-12-17 09:16:20 Stefan Krusche wrote:
After a little experimenting I found this workaround:
- Start with pristine kate config dir
cp ~/.trinity/share/apps/kate{,orig}
Open kate with no arguments and close it
Open ~/.trinity/share/apps/kate/sessions/default.session with an editor
and change these options to "false" and save file. Kate-MDI-Sidebar-Visible=false Kate-MDI-ToolView-kate_filelist-Visible=false
- Next time you open kate it will neither show the side bar nor the
document list.
Leslie Turriff wrote:
How can I "remind" Kate that I have set 'Window -> Hide Documents'?
Settings > configure > sessions > save session (last-used saves open docs, new session doesn't). I had not used that option because I find the full feature filesystem browser really useful (docs hidden behind it).