It seems my ongoing quest to set my machines up to seamlessly maintain state through the inevitable forced updates that still need to happen will likely need to me step in and hack up my own solution!
Right now I need to solve this problem across 2-3 platforms TBH:
1) Gnome - For my work machines, where I've got a specific "6 + 4" window setup I want to have restored each time my VNC session restarts for whatever reason. i.e. With that, I want a whole bunch of terminal + folder windows opened at specific sizes + positions, each one hosting a mix of some 3-4 different tabs set to specific folders, with specific commands pre-typed into each shell ready to be deployed with a single enter-key press, and/or each maintaining its own command history log.
2) KDE - This is the setup I'm trying to move to for all my personal machines. Currently just on my laptop and a bunch of VM's on my primary workstation. Annoyingly, it looks annoyingly close to doing what I want - but only on a surface glance!
3) Windows - While in the future this will hopefully no longer be a concern, until then, I still am running Windows as my primary at home, at also have to go via that at work to get into my Linux VNC sessions at work. So, finding *any* way to streamline the process of automating a restore-setup-after-forced-restart is still very important to me...
How KDE Failed Tonight
Argh! Learned a few more unwanted things about some of the limitations of KDE's session restore stuff today I think (or at least that's what I'm currently blaming here):
1) It only seemed to restore the windows I had open on my primary workspace, but not the secondary!
I think I had two or three separate projects open on there!!! All gone!
2) Annoyingly, Sublime Text / Merge seem to restore on primary workspace only (and not on the secondary) - And only *ONE* of the windows (i.e. the least important one, used for config stuff).
I know on Windows I always have massive issues with it restoring everything to the Primary Only! But ugh!
3) Trying to open Sublime Merge from the text editor on the 2nd workspace opened it on the first, then showed the taskbar item first in the list. When clicked, it jumped to the first workspace instead! Argh! No!
4) This is all on top of the existing problems with Dolphin + Konsole not restoring multiple windows after restart in the right ways.
Specifically, while they both have "Restore Session" type options (which you'd think are what you want), it's actually a big mistake trying to enable those. As what happens is that every time you try to open a new terminal or file browser by using the taskbar / start menu shortcuts, you actually end up getting it to restore the current session, thus *doubling* all the windows you already have open! Argh!
I want session restore, but only when restoring from a System Restart, and NOT whenever I launch a new window! Argh!!!
Hopefully I've gotten all this wrong, and actually it was from a bad shutdown (mediated by KDE's own "Restart" workflow activated from taskbar tray area when it requested a restart. I mean, it did end up freezing my machine on the boot screen the first time round, so it's possible something else dodgy was going on?!
No comments:
Post a Comment