Linux Mint 18 with Cinnamon Session Save and Restore

11,243

Solution 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

Solution 2

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!

Solution 3

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

Share:
11,243

Related videos on Youtube

Chris
Author by

Chris

Updated on September 18, 2022

Comments

  • Chris
    Chris over 1 year

    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?

    • Izzy
      Izzy over 7 years
      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.
  • G_V
    G_V over 6 years
    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?