Re: [Github-comments] [geany/geany] Lose the last opened files (#1826)

2021-08-01 Thread BobC
I will have to wait till I switch to bullseye, it looks. I wasn't able to get past the dependency issues to install a 1.37.1 on my buster based system. I was able to build it from Git, but it gave me an error about missing Glade setup, so since bullseye is close, the easy answer is just to

Re: [Github-comments] [geany/geany] Lose the last opened files (#1826)

2021-07-31 Thread elextr
This probably should have been closed when #2114 was merged. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1826#issuecomment-890417379

Re: [Github-comments] [geany/geany] Lose the last opened files (#1826)

2021-07-31 Thread elextr
Closed #1826. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1826#event-5094801864

Re: [Github-comments] [geany/geany] Lose the last opened files (#1826)

2021-07-31 Thread elextr
@cheapy the PR #2114 listed above saves the session whenever it changes, so with 1.37 or newer you shouldn't need to do anything. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Github-comments] [geany/geany] Lose the last opened files (#1826)

2021-07-31 Thread BobC
Ok, I wrote a small script to generate document list every 5 minutes and keep the last 49 of them [save_geany_files.zip](https://github.com/geany/geany/files/6911919/save_geany_files.zip) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view

Re: [Github-comments] [geany/geany] Lose the last opened files (#1826)

2021-07-31 Thread BobC
While the program is still running is there a file somewhere that contains a list of the files open? If so, could I later somehow manually inject that list into the startup? If I could even just copy a particular folder or file, that would be good enough. I occasionally lose my list of what

Re: [Github-comments] [geany/geany] Lose the last opened files (#1826)

2018-04-17 Thread RostislavVel
@elextr I did not understand your answer? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1826#issuecomment-381880101

Re: [Github-comments] [geany/geany] Lose the last opened files (#1826)

2018-04-17 Thread elextr
@codebrainz maybe there are too many negatives in it but what I meant is that Geany does not subscribe to any of the session managers, so effectively as far as Geany is concerned no DEs have session management. -- You are receiving this because you are subscribed to this thread. Reply to this

Re: [Github-comments] [geany/geany] Lose the last opened files (#1826)

2018-04-17 Thread RostislavVel
Why not add the function to save list of projects each time you open or close files. Can it be done optional? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Github-comments] [geany/geany] Lose the last opened files (#1826)

2018-04-17 Thread RostislavVel
The behavior is the same on all kubuntu 12, 14, 16 versions. Geany crashes or not - I don't know. To save the list of open files in the project I specifically restart geany, every time you open or close files. If this is not done, then after the computer is restarted - the project list is not

Re: [Github-comments] [geany/geany] Lose the last opened files (#1826)

2018-04-17 Thread shiftee
> systemd (opposed to upstart in earlier Ubuntu verions) additionally sends > SIGHUP on shutdown (and waits 90s instead of 10s before sending SIGKILL). I > suggest to ignore SIGHUP or to handle SIGTERM and SIGHUP the same > (idempotent) way.

Re: [Github-comments] [geany/geany] Lose the last opened files (#1826)

2018-04-16 Thread Matthew Brush
But realistically all of the major Linux DEs/WMs do. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1826#issuecomment-381827136

Re: [Github-comments] [geany/geany] Lose the last opened files (#1826)

2018-04-16 Thread elextr
As far as Geany is concerned, all of them :) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1826#issuecomment-381826977

Re: [Github-comments] [geany/geany] Lose the last opened files (#1826)

2018-04-16 Thread Matthew Brush
Which desktop environments don't have a session manager? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1826#issuecomment-381826861

Re: [Github-comments] [geany/geany] Lose the last opened files (#1826)

2018-04-16 Thread elextr
The problem is that many DEs won't wait, even if they send SIGTERM they don't allow any time for the save to happen before they SIGKILL the process. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Github-comments] [geany/geany] Lose the last opened files (#1826)

2018-04-16 Thread Matthew Brush
Duplicate of #1416 I don't know what signals your OS is sending to Geany, but if it's not sending `SIGTERM` Geany won't even try to save the session. We could probably add other signals to be handled if it makes sense (mentioned in the comments on #1255). -- You are receiving this because

Re: [Github-comments] [geany/geany] Lose the last opened files (#1826)

2018-04-16 Thread elextr
Crashing Geany is not the correct way to close it. (Crashing it is what your system is doing to Geany if you logout or shutdown with Geany still running). Even if the session was saved each time it was saved, its only one of the things that can be saved at shutdown, many plugins (which are

Re: [Github-comments] [geany/geany] Lose the last opened files (#1826)

2018-04-16 Thread RostislavVel
If you close geany in the manual - it retains. It is not very convenient! Other editors such oddities are not. Is it possible to do save project every time you open a new file? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on

Re: [Github-comments] [geany/geany] Lose the last opened files (#1826)

2018-04-16 Thread shiftee
Loses the list or doesn't save the latest version? In my experience Geany closes without saving the list when it receives SIGINT. To keep the list you need to use **File->Quit** after opening a new file or close and re-open the project. Ideally this would be fixed -- You are receiving this