Views:
1,036β
Votes: 2β
Tags:
shutdown
session
Link:
π See Original Answer on Ask Ubuntu β§ π
URL:
https://askubuntu.com/q/1021436
Title:
Is there a setting in the startup applications menu item to remember all apps when shutting down?
ID:
/2018/04/02/Is-there-a-setting-in-the-startup-applications-menu-item-to-remember-all-apps-when-shutting-down_
Created:
April 2, 2018
Edited: April 2, 2018
Upload:
September 15, 2024
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
Short Answer
If you want to save sessions across reboots youβll have to switch from Lubuntu (LXDE Desktop) to Kubuntu (KDE desktop) or Xubuntu (XFCE desktop).
It wonβt work on Ubuntu (Unity Desktop).
Long Answer
Using this tool I recently wrote: Bash one-liner to display ALL gsettings
in Zenity or Yad. I sorted on Key
and scrolled to the A
section to find:
Note: Many people will prefer to install dconf-editor
to navigate to the gsettings
and set the values.
To manually find the states use:
$ gsettings get org.gnome.SessionManager auto-save-session
false
$ gsettings get org.gnome.SessionManager auto-save-session-one-shot
false
To save the session for across reboots use:
gsettings set org.gnome.SessionManager auto-save-session true
Then reboot.
Note: This doesnβt work in Ubuntu 16.04 but does in Kubuntu.
Someone recommended here to use Compiz Session Management:
but it doesnβt appear to work in Ubuntu 16.04 either.