Closed nlpsuge closed 1 year ago
Do "Restore previous apps and windows at startup" work in gnome 45 currently?
Do "Restore previous apps and windows at startup" work in gnome 45 currently?
No. We have to wait gnome-shell 45.2, which contains a MR to export EndSessionDialog so that this extension can modify the EndSessionDialog.
Since this MR https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3038?commit_id=8bb752adf47efa1e225d1aa885ae71865cabce8a has been merged, I think we can update to gnome-shell 45.2 very soon.
"Restore previous apps and windows at startup" should work in gnome 45.2.
Related to https://github.com/nlpsuge/gnome-shell-extension-another-window-session-manager/issues/89
Please note that due to gnome-shell 45 does not export
EndSessionDialog
, the flowing features do not work:currentSession
Using
cp -r ~/.config/another-window-session-manager/currentSession ~/.config/another-window-session-manager/currentSession-bak
currentSession
will be removed automatically. Next time after logging in, rename the backup tocurrentSession
Using
mv ~/.config/another-window-session-manager/currentSession-bak/ ~/.config/another-window-session-manager/currentSession
gdbus call --session --dest org.gnome.Shell.Extensions.awsm --object-path /org/gnome/Shell/Extensions/awsm --method org.gnome.Shell.Extensions.awsm.Autostart.RestorePreviousSession "{'removeAfterRestore': <false>}"
After this MR is merged, the above feature will be supported automatically based on the MR.