Okay, I tried this, but it's not working for me. Here's what I did and what happened:
1) I renamed ~/.trinity/share/apps/kate to ~/.trinity/share/apps/kate~ 2) I started kate (using its icon), then closed it. kate created a new apps directory, with an empty sessions subdirectory. 3) I restarted kate and it still shows the sidebar with the file names. 4) I tried creating and saving a dummy file to make kate create a session, but its sessions subdirectory remains empty. :-(
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.
Am Sonntag 18 Dezember 2016 schrieb Leslie Turriff:
Okay, I tried this, but it's not working for me. Here's what I did and what happened:
- I renamed ~/.trinity/share/apps/kate to ~/.trinity/share/apps/kate~
- I started kate (using its icon), then closed it. kate created a new apps directory, with an empty sessions subdirectory.
In my case it created also the file "default.session" in sessions subdirectory, which I could then edit as demonstrated. But it is not necessary, see below...
- I restarted kate and it still shows the sidebar with the file names.
- I tried creating and saving a dummy file to make kate create a session,
but its sessions subdirectory remains empty. :-(
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.
Maybe you have not noticed yet, but there is a new mail which point out a much more convenient way to achieve what you wanted:
Am Sonntag 18 Dezember 2016 schrieb Michele Calgaro: 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
After you close kate and start it again with no arguments a dialog will pop up and ask for which session to open. In that dialog you can choose your preferred session and click the button for keeping it permanently as your default session. When you have done that, the dialog will not pop up again when you start up kate next time, but your chosen default session will be opened.
regards! Stefan
Stefan Krusche wrote:
Am Sonntag 18 Dezember 2016 schrieb Michele Calgaro: 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
After you close kate and start it again with no arguments a dialog will pop up and ask for which session to open. In that dialog you can choose your preferred session and click the button for keeping it permanently as your default session.
That is the long route to setting 'last-used session'. As I said:
"Settings > configure > sessions > save session (last-used saves open docs, new session doesn't)."
Select the Settings 'save session' option to save the current session configuration, e.g. the OP's hidden sidebars and documents tool views.
Select 'start new session' to get a blank slate every time Kate starts. Select 'load last used session' to reopen any files left open in the previous session.
What you did was set 'load last used session' via the 'choose session' menu checkbox. The only reason to select 'choose session' is if you want to choose a saved session during Kate startup.
On 2016-12-18 14:15:10 Dave Lers wrote:
Stefan Krusche wrote:
Am Sonntag 18 Dezember 2016 schrieb Michele Calgaro: 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
After you close kate and start it again with no arguments a dialog will pop up and ask for which session to open. In that dialog you can choose your preferred session and click the button for keeping it permanently as your default session.
That is the long route to setting 'last-used session'. As I said:
"Settings > configure > sessions > save session (last-used saves open docs, new session doesn't)."
Select the Settings 'save session' option to save the current session configuration, e.g. the OP's hidden sidebars and documents tool views.
Okay, I tried using this new method, but it doesn't seem to work for me either. I still get the documents sidebar.
1) Delete ~/.trinity/share/apps/kate directory and contents 2) Open Kate 3) Close the documents sidebar (Window -> Tool Views -> Hide Documents) 4) Save the session (Sessions -> Save As -> somesession 4) Save the session (Settings -> Configure Kate -> Sessions -> Check Manually choose a session and Save Session 5) Close Kate 6) Open Kate -- it requests me to select a session, then opens with the document sidebar present. :-(
To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
On Monday 19 December 2016 10.40:36 Leslie Turriff wrote:
Okay, I tried using this new method, but it doesn't seem to work for me either. I still get the documents sidebar.
Maybe I found a way - seems to work for the moment.
1) setup Kate with no side bar/document windows 2) save the session under the name "default" 3) set up Kate to start with a new session and not to save any 4) Kate does *not* name it default.katesession, so I rename this "new" sessions to this default.katesession in /trinity/share/apps/kate/sessions and delete any other session
I rebooted the computer and kate opens with no side bar and no document windows.
I include copies of the two files in case.
See if it works for youa and I'll report if it continues to work for me.
Have a nice day,
Thierry
Thierry de Coulon wrote:
On Monday 19 December 2016 10.40:36 Leslie Turriff wrote:
Okay, I tried using this new method, but it doesn't seem to work for me either. I still get the documents sidebar.
Maybe I found a way - seems to work for the moment.
Set Settings > configure > sessions > save session ...check include window configuration
- setup Kate with no side bar/document windows
That's it, restart Kate.
- save the session under the name "default"
Why? You just configured Kate to save sessions on exit.
- set up Kate to start with a new session and not to save any
Startup behavior (new/save/select) doesn't matter.
- Kate does *not* name it default.katesession,
Kate changes the settings of the session you have open. If you make the above changes to the default session, they will be saved as default.katesession
I rebooted the computer
Totally pointless.
On Monday 19 December 2016 22.30:00 Dave Lers wrote:
Set Settings > configure > sessions > save session ...check include window configuration
That's it, restart Kate.
Kate seems to not always react the same. I was about to answer that your directions dos *not* work here (openSuSE, TDE 14.0.0 and 14.0.3). I followed your suggestion on my laptop and Kate still opens with Documents and side bar.
Now the settings seem to stick on my desktop. Before, setting "save session" on exit would bring back the "Documents" window.
Startup behavior (new/save/select) doesn't matter.
You are right, it does not if you don't save sessions. But it can't hurt.
Kate changes the settings of the session you have open. If you make the above changes to the default session, they will be saved as default.katesession
No session is saved anyway here (that may be because I some time choose to always start with a new session?).
For me, the setting that works best is to not save sessions (automaticaly) and save them manually. As I do this only rarely, I don't want to have to choose a session at start either
I rebooted the computer
Totally pointless.
Not for me when I want to make sure someting will work also next time I start the computer.
Thierry
Perhaps we'll need to look into the code and see what is going on there.
After you have a reproducible problem, open a bug request and someone will look into it. please also include the exact steps to reproduce.
regards
On 2016/12/20 03:05 PM, deloptes wrote:
Perhaps we'll need to look into the code and see what is going on there.
After you have a reproducible problem, open a bug request and someone will look into it. please also include the exact steps to reproduce.
regards
Emanoil, actually the code to handle sessions for R14.1 has been fully rewritten, although not pushed yet. If you are interested, I can send you a patch with all the current changes and you can test locally. It would be helpful to have additional feedback from you. I have been using the new functionality for about a year and is quite stable. Let me know ;-)
Cheers Michele
Michele Calgaro wrote:
On 2016/12/20 03:05 PM, deloptes wrote:
Perhaps we'll need to look into the code and see what is going on there.
After you have a reproducible problem, open a bug request and someone will look into it. please also include the exact steps to reproduce.
regards
Emanoil, actually the code to handle sessions for R14.1 has been fully rewritten, although not pushed yet. If you are interested, I can send you a patch with all the current changes and you can test locally. It would be helpful to have additional feedback from you. I have been using the new functionality for about a year and is quite stable. Let me know ;-)
Cheers Michele
I build this on jessie some time ago
dpkg -l | grep kate ii kate-plugins-trinity 4:14.1.0-0debian8.0.5+eko1 amd64 plugins for Kate, the TDE Advanced Text Editor ii kate-trinity 4:14.1.0-0debian8.0.5+eko1 amd64 advanced text editor for TDE ii libkate1 0.4.1-4 amd64 Codec for karaoke and text encapsulation
Do you mean we are using later version and do not see the problems that are discussed here?
I did not see any difference (IMO) from user perspective.
regards
This whole sessions configuration paradigm in Kate is extremely confusing and totally non-intuitive. That said, I got Kate to refrain from opening the document view ONCE by 1) Delete .trinity/Share/Apps/Kate folder 2) Open Kate 2) Settings -> Configure Kate -> Session -> Load last-used session Settings -> Configure Kate -> Session -> Save session 3) Close Kate 4) Reopen Kate -- Yay! No document view! 5) Closed Kate
I started this reply, and reopened Kate to verify the settings, and Surprise! The D....d document view is back. :-( It doesn't seem to matter much what settings I make, or whether or not I explicitly save the session or not; Kate insists that I should have the document view whether I like it or not. :-(
Leslie
On 2016-12-19 15:30:00 Dave Lers wrote:
Thierry de Coulon wrote:
On Monday 19 December 2016 10.40:36 Leslie Turriff wrote:
Okay, I tried using this new method, but it doesn't seem to work for me either. I still get the documents sidebar.
Maybe I found a way - seems to work for the moment.
Set Settings > configure > sessions > save session ...check include window configuration
- setup Kate with no side bar/document windows
That's it, restart Kate.
- save the session under the name "default"
Why? You just configured Kate to save sessions on exit.
- set up Kate to start with a new session and not to save any
Startup behavior (new/save/select) doesn't matter.
- Kate does *not* name it default.katesession,
Kate changes the settings of the session you have open. If you make the above changes to the default session, they will be saved as default.katesession
I rebooted the computer
Totally pointless.
To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
Il 21/12/2016 10:02, Leslie Turriff ha scritto:
- Delete .trinity/Share/Apps/Kate folder
- Open Kate
- Settings -> Configure Kate -> Session -> Load last-used session Settings -> Configure Kate -> Session -> Save session
- Close Kate
I don't know config file name, but if at this point change file permission only readable, probable solve your problem.
Reopen Kate -- Yay! No document view!
Closed Kate
I started this reply, and reopened Kate to verify the settings, and Surprise!
The D....d document view is back. :-(
Rodolfo
I don't know config file name, but if at this point change file permission only readable, probable solve your problem.
No, it doesn't. I changed it to Read Only, but then when I opened Kate again, there's the document view. So I changed it back to Read/Write, and changed
Kate-MDI-Sidebar-Visible=true
to
Kate-MDI-Sidebar-Visible=false
and made it Read Only once again; but opening Kate still gives me the document view. IMO, Kate is seriously broken with regards to its Sessions management.
Leslie
On 2016-12-21 03:21:55 relosrl wrote:
Il 21/12/2016 10:02, Leslie Turriff ha scritto:
- Delete .trinity/Share/Apps/Kate folder
- Open Kate
- Settings -> Configure Kate -> Session -> Load last-used session Settings -> Configure Kate -> Session -> Save session
- Close Kate
I don't know config file name, but if at this point change file permission only readable, probable solve your problem.
Reopen Kate -- Yay! No document view!
Closed Kate
I started this reply, and reopened Kate to verify the settings, and
Surprise! The D....d document view is back. :-(
Rodolfo
To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
Leslie Turriff wrote:
Okay, I tried using this new method, but it doesn't seem to work for me either. I still get the documents sidebar.
- Delete ~/.trinity/share/apps/kate directory and contents
Seems pointless, I'm pretty sure we're just editing .katesession files via GUI.
- Open Kate
Set Settings > configure > sessions > save session ...check include window configuration
- Close the documents sidebar (Window -> Tool Views -> Hide
Documents)
That's it, close Kate and reopen that session
- Save the session (Sessions -> Save As -> somesession
Nothing I mentioned said anything about the Sessions menu, ignore it completely.
Dave Lers wrote:
Leslie Turriff wrote:
Okay, I tried using this new method, but it doesn't seem to work for me either. I still get the documents sidebar.
- Delete ~/.trinity/share/apps/kate directory and contents
Seems pointless, I'm pretty sure we're just editing .katesession files via GUI.
- Open Kate
Set Settings > configure > sessions > save session ...check include window configuration
- Close the documents sidebar (Window -> Tool Views -> Hide
Documents)
That's it, close Kate and reopen that session
- Save the session (Sessions -> Save As -> somesession
Nothing I mentioned said anything about the Sessions menu, ignore it completely.
I didn't follow that much the discussion, so excuse me if I am repeating something already said.
I use many sessions related to different work subjects in kate. I just tried open kate close/hide the document/file view, closed kate. After this I opened kate and the view was hidden as expected. The default session is a bit odd, so I stopped using default long time ago. I recommend using custom session. you can remove the default one after creating your own.
regards
I just tried this, but it doesn't work for me. And with Sessions -> Manage... I can't delete the original Default Session file.
On 2016-12-19 17:03:18 deloptes wrote:
I didn't follow that much the discussion, so excuse me if I am repeating something already said.
I use many sessions related to different work subjects in kate. I just tried open kate close/hide the document/file view, closed kate. After this I opened kate and the view was hidden as expected. The default session is a bit odd, so I stopped using default long time ago. I recommend using custom session. you can remove the default one after creating your own.
regards
On Wednesday 21 December 2016 10.06:43 Leslie Turriff wrote:
I just tried this, but it doesn't work for me. And with Sessions -> Manage... I can't delete the original Default Session file.
rm ~/.trinity/share/apps/kate/sessions/default.katesession
Thierry
On 2016-12-21 04:11:33 Thierry de Coulon wrote:
On Wednesday 21 December 2016 10.06:43 Leslie Turriff wrote:
I just tried this, but it doesn't work for me. And with Sessions -> Manage... I can't delete the original Default Session file.
rm ~/.trinity/share/apps/kate/sessions/default.katesession
Thierry
IMO, having to make changes outside the program like this means that the program is broken.
Leslie
To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
On 2016/12/21 06:28 PM, Leslie Turriff wrote:
On 2016-12-21 04:11:33 Thierry de Coulon wrote:
On Wednesday 21 December 2016 10.06:43 Leslie Turriff wrote:
I just tried this, but it doesn't work for me. And with Sessions -> Manage... I can't delete the original Default Session file.
rm ~/.trinity/share/apps/kate/sessions/default.katesession
Thierry
IMO, having to make changes outside the program like this means that the program is broken.
The default session is actually hardwired in Kate's code (up to R14.0.x series). Even if you delete it, it will be recreated. Cheers Michele
On Wednesday 21 December 2016 14.01:08 Michele Calgaro wrote:
The default session is actually hardwired in Kate's code (up to R14.0.x series). Even if you delete it, it will be recreated. Cheers Michele
I haven't looked at the code, but it seems so far that if I create (save) a session with my settings, then delete the default session and rename the saved one to default, it works (so I'd guess the code checks for default.katesession and only recreates it if missing).
Thierry
Am Mittwoch 21 Dezember 2016 schrieb Thierry de Coulon:
On Wednesday 21 December 2016 14.01:08 Michele Calgaro wrote:
The default session is actually hardwired in Kate's code (up to R14.0.x series). Even if you delete it, it will be recreated. Cheers Michele
I haven't looked at the code, but it seems so far that if I create (save) a session with my settings, then delete the default session and rename the saved one to default, it works (so I'd guess the code checks for default.katesession and only recreates it if missing).
Thierry
I think so either, because this still works from program interface as said before (I just tried again in a completely new TDE user account):
1) open kate the first time with a new, empty session directory
2) close the documents list (and/or side bar), save the session. There is only "Default session", so the running session, which is the default session, will be saved as default.session in kate/sessions/ (would be saved in default.session anyway, but without your changes)
3) next time you start kate, it will find default.session with your saved changes concerning the view of docs list/side bar.
BUT: still strange is, that the second time I tried that, kate would not let me save the freshly opened session, but popped up a dialog to enter a name for the session to save. I then "opened" from within kate "Default session" (the only one in the list), which did not (!) revert to opened docs list/side bar, and after that I could save the session as is, that is, default.session. And this file apparently will be found kate starts the next.
Stefan