Restore complete user session when logging in

Bug #1008351 reported by Eduard Gotwig
80
This bug affects 16 people
Affects Status Importance Assigned to Milestone
elementary OS
Confirmed
Wishlist
Unassigned

Bug Description

Give the option to save window states on log out

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

This is a job of X session manager like GNOME Session
There are in fact other cool uses for this...

affects: gala → elementaryos
Changed in elementaryos:
importance: Undecided → Wishlist
David Gomes (davidgomes)
Changed in elementaryos:
status: New → Confirmed
Changed in elementaryos:
milestone: none → loki-beta1
description: updated
summary: - Give the option to save window states on logout
+ Restore complete user session when logging in
Changed in elementaryos:
milestone: loki-beta1 → none
Revision history for this message
Niccolo Brogi (nbrogi) wrote :

I'm using this script with great success: http://blog.thewebsitepeople.org/2013/07/gnome-session-save-and-restore/

To log out, I do:
./session save && reboot

When I log back in (parameter "2" is required, or the thing doesn't work for me):
./session restore 2

Restoring windows is a little sudden, e.g. there could be some kind of animation (or what macOS does), and it would look a lot better. However, it works beautifully.

This could be added to elementary right now, and the commands executed on login/logout automatically by default, unless one opts out.

Revision history for this message
Zisu Andrei (matzipan) wrote :

Not sure about the including the script - maybe a Vala implementation?

Revision history for this message
Niccolo Brogi (nbrogi) wrote :

Sure, Vala would be fine. But that can definitely be a starting point, since it already works.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.