9

Is there any way to save the position / workspace and possibly state of all of my open programs so that when I restart I can restore everything to exactly where it was before without having to reopen and reposition everything?

  • That would be really nice to have. I'm not aware of how to get that exact feature, but as a work-around "suspend to disk" should achieve a similar thing: computer can be shutdown completely (as the "memory image" is saved to disk), and after "resume" the last state should be restored. Just doesn't help if you really have to reboot, e.g. due to kernel updates. – Izzy Jan 12 '17 at 13:08
1

Here is how :

  1. Execute sudo apt-get install dconf-tools
  2. Run dconf-editor
  3. On the left panel : Open org > gnome and click on gnome-session
  4. Check auto-save-session on the right side of the config window
  • Can you expand on what this actually achieves? Does this mean I can type shutdown -h now and resume my session later or is it just protection against crashes? What actually happens? Is state periodically saved to disk? – G_V Sep 29 '17 at 8:17
1

Just in case that someones find this (like me) while searching for a solution to change the Low Battery Action Percentages in Linux Mint 18.3 I tried this solution (dconf-editor) using Linux Mint 18.3 and the Power Management ignores the values set in DConf for some reason.

I had to edit this file: /etc/UPower/UPower.conf, concretely these 3 lines:

PercentageLow=25
PercentageCritical=15
PercentageAction=13

In order to make it work as I wanted. I also changed:

UsePercentageForPolicy=true

because I don't like the "timed actions" default behaviour

Good luck!

0

Pretty much as above Except org > cinnamon > cinnamon-session. Accept defaults. I put the delay time at 20 do give applications time to close gracefully. Works for me

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.