gnome-shell-extension-window-session-manager
gnome-shell-extension-window-session-manager copied to clipboard
[solved] Problem with lwsm config path after update
The latest update broke the extension for me. It stopped showing any saved sessions and did not seem to do anything when creating new ones.
After looking at the recently changed code, I realized that you changed the hard-coded path to the linux-window-session-manager configuration from .lwsm
to .config/lwsm
.
I was able to fix the problem by upgrading linux-window-session-manager and moving the configuration from the old to the new location.
sudo npm uninstall -g linux-window-session-manager && sudo npm i -g linux-window-session-manager
mv ~/.lwsm/ ~/.config/lwsm/
However, it would be nice, if the extension also checked the old config location just in case someone (like me) has not upgraded linux-window-session-manager to the latest version yet. Alternatively, give the users a hint what they should do to fix the issue (i.e. some error message or a hint in the readme here and/or on https://extensions.gnome.org)
Thanks for reporting this! You're absolutely right! That would have been much better. To be honest: I merged the the PR with this change to lwsm without taking into consideration that this would break the extension. After that I hadn't much time available to spent on the quick fix and this is how we ended up here.
I assume that by now most people have either fixed the issue or uninstalled the extension completely. Don't know if it makes much sense to implement this improvement now, as doing this wrong, will cause additional problems for other people.
@johannesjo I would not be so sure that many people are affected yet. Not everyone manually upgrades the extension as soon as an update becomes available.
I would be more than happy to help test whether the fix works.