linux-window-session-manager
linux-window-session-manager copied to clipboard
Multiple instances of the same application restored incorrectly
I have multi workspace setup. Opened Intellij Idea IDE on first workspace, and another instance of Idea IDE with another project on second workspace. Saved session and restarted machine.
Expected results: both instances restored in correct workspaces. Actual result: one instance launched on second workspace.
Is it possible to handle this issue? May be some workaround?
Hey hexwit! Unfortunately, I haven't found a way to deal with that from lwsm. Intellij Idea (which I also use) handles its windows on its own. What you might try is editing the session file manually and to experiment with specifying a project to open from the command line interface (https://www.jetbrains.com/help/idea/working-with-the-ide-features-from-command-line.html#arguments). But apart from this I am not sure if it's possible to solve this dynamically in a convenient manner.
Config editing is fine for me. I am under linux :D Thanks
Please let me know if you can make it work!
I have a similar problem. Usually my current default would be:
- workspace 1: alacritty for running spotify-tui
- workspace 2: vivaldi browser
- workspace 3: vscode + alacritty
- possible workspace 4: alacritty again (for opening files)
The extension doesn't save and restore all alacritty windows, just one.