linuxmint / nemo

File browser for Cinnamon
GNU General Public License v2.0
1.21k stars 300 forks source link

Restore windows upon restarting Nemo #2832

Open GitHubIsToxic opened 3 years ago

GitHubIsToxic commented 3 years ago

It would be nice if Nemo restored all window instances after restarting, for example when plugins are enabled/disabled, or when restarted using "nemo -q".

For multiple reasons I have to restart Nemo frequently (Nemo hangs/slowdowns when working folders with many image files, RabbitVCS hanging, thumbnailer hangs/crashes etc, plugin Python scripts generating GBs of error logs in minutes). While I've reported those issues and they will be resolved eventually, it would be nice to limit the frustration in the mean time. Being able to quickly restore Nemo windows without having to manually browse to their locations again, would make things much more bearable and waste the user less time. Other than that, I really do like Nemo!

In addition, it would also be nice to have Nemo (optionally) restore windows (like Windows Explorer) after restarting the OS or logging in (like Explorer on Windows).

Automatically restoring crashed Nemo windows would likewise be a nice feature. I.e. the Nemo desktop instance would be able to keep track of windowed Nemo instances, and restore/recover them when needed.

Thanks!

Lanchon commented 2 years ago

i second this. the nemo ecosystem is brittle and needs restarting now and then. (eg: after sftp connection loss, many times sftp will fail until restart; nemo restarted to reset memory leaks; etc.) and if one day it isn't, i still may want to restart to update the kernel.

nemo saving sessions would be great. it's a thing i miss from even my windows 95 days.

ZebulonGlitch commented 5 months ago

I third this. It's a great quality of life option I miss from other OS's also. :)

jondo commented 2 months ago

This seems to be a duplicate of #1260. I don't know why that one is marked as completed, though.

u2n commented 2 months ago

Much more robust discussion at #3240, which has been marked as a duplicate of this thread and closed. (Just documenting, not necessarily agreeing.)

Side note: github really does need a better way of dealing with duplicates like this. (Several options in mind, but this is not the place for them.)

leigh123linux commented 2 months ago

@u2n It is unlikely this feature request will ever be implemented as it's already been considered in https://github.com/linuxmint/nemo/issues/1260 and closed. TBH the team is very small and there a million other things that are much more important eg: bug fixes and support for newer package versions. We would consider pull requests for this from non team members (if you want it DIY).

u2n commented 2 months ago

@u2n It is unlikely this feature request will ever be implemented as it's already been considered in #1260 and closed... We would consider pull requests for this from non team members (if you want it DIY).

But wait! #1260 was from 8 years ago lol. Though do understand about limited resources and just keeping the project well-maintained. Much appreciation to the team, and to all contributors.

And TY for keeping the door open to pull requests from the community. Guessing anyone taking this on would do best by pre-communicating intentions before coding. Might even gain a new team member.

GitHubIsToxic commented 2 months ago

the team is very small and there a million other things that are much more important eg: bug fixes and support for newer package versions. We would consider pull requests for this from non team members (if you want it DIY).

Thank you for clearly communicating this. I think that's important, so users understand the reasoning, and maybe inspires someone jump in and contribute.

I'd like to share a Python script I've written as workaround to restart Nemo to restore windows, you can find it here: https://gist.github.com/GitHubIsToxic/dfa0804df4510e27ca8eaafc689626cc This requires that you enable full paths in titles via Nemo preferences ('Display' tab), and it doesn't restore individual tabs of those windows though.