johannesjo / linux-window-session-manager

A tool to store and reload open windows and window positions for x11 desktops like unity and gnome.
MIT License
393 stars 25 forks source link

Coping with multiple Firefox profiles #81

Open rrthomas opened 3 years ago

rrthomas commented 3 years ago

I saw issue #77, and I wondered similarly if there's a way to cope with relaunching multiple Firefox profiles (lwsm of course just finds the same desktop file for each Firefox window). Sorry to be extra demanding but in my case manual editing of the session file won't be good enough, because I'd like to save whatever windows I have open in multiple profiles.

johannesjo commented 3 years ago

Hi there! Apart from manually editing the session file there isn't a built in way and I think that it would be way to specific to include something like this into the tool.

rrthomas commented 3 years ago

Fair enough! But this does seem to be a version of a more general problem, given the other issue about multi-instance apps.

johannesjo commented 3 years ago

I don't disagree, but this is a very tricky problem to solve as there are so many different possible behaviors for each app. As I spent most of my free coding time on this it's unlikely that I will ever work on this myself. This being said: PRs are welcome! ;)

rrthomas commented 3 years ago

Great stuff, if I can get it to work for me apart from this I might have a go!

johannesjo commented 3 years ago

I am curious to see what you come up with!! I admit that I haven't dived into it very deeply, but from what I've seen I would say that this it impossible to find a generic solution. :)