johannesjo / gnome-shell-extension-window-session-manager

An indicator that let's you save and restore your open apps and the window positions and arrangements over multiple real and virtual displays.
MIT License
91 stars 18 forks source link

Troubles with extra sessions #24

Open DFF-fred opened 4 years ago

DFF-fred commented 4 years ago

Hi! I saved a first setup and it seems about ok (the Thunderbird window is slightly off but I can live with that ;-) ). Now I'm trying to set up different configurations and it seems it's always that 1st session which comes back. Where are those sessions saved? Is it possible to manually edit them to get the exact position you expect when the software doesn't do it? Any other advices?

Also when rotating one of my screen and back, then starting the next day one app is systemacially in the wrong monitor. Anyway to address this?

Thank you.

johannesjo commented 4 years ago

Hey there!

Where are those sessions saved? Is it possible to manually edit them to get the exact position you expect when the software doesn't do it? Any other advices?

Data is saved to .config/lwsm/sessionData. You can manually edit everything in there. I'd also recommend using the command line version to further debug the issue: https://github.com/johannesjo/linux-window-session-manager

Also when rotating one of my screen and back, then starting the next day one app is systemacially in the wrong monitor. Anyway to address this?

Lwsm saves window positions based on your current monitor setup and resolutions and e.g. 1200x800 is considered to be a different one than 800x1200. I recommend turning your monitor and then to save the same session again. Then you need to restore that session every time you turn your monitor.