Ask Your Question

How can I save the applications and workspaces they are in so that after a reboot, the same workspaces exist with the same programs/files open in them?

asked 2018-06-04 21:20:37 -0600

leftright gravatar image

updated 2018-06-04 21:21:41 -0600

How can I save the applications and workspaces they are in so that after a reboot, the same workspacesin the same positions with the same programs/files open in them? Is this perhaps called a session? Actually, it would be useful to be able to save and open "sessions" without having to reboot. I'm using Fedora 28 with Gnome 3.28.2. Gnome is so polished it seems like this would be a built-in feature, but I haven't found it.

A similar question was asked here but does not have an answer.

This website mentions a gnome settings key that would do it, but I didn't find a similar key on my machine using gsettings from the command line and looking through the schema for an appropriate name and then its keys.

I found a script on this website,, but that is a few years old and I would prefer a "native" method if one exists.

On this website,, a method is discussed using a deconf editor. I'd rather not install more software but if there is no other method, I'll try this.

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2018-06-05 12:15:15 -0600

jo_117 gravatar image

Well I guess Florian gave you solutions. And yes fedora doesn't support system state . But you can do it by installing fedora on VMware or virtual box and taking snapshots- there is a option in it , which exactly create replica of the desired system. It's a very good option to roll back your settings in system.

All the best...!!

edit flag offensive delete link more

answered 2018-06-05 09:06:46 -0600

florian gravatar image

updated 2018-06-05 22:28:44 -0600

EDIT: I tested the solution suggested below and it doesn't work.

Original answer:

The key you are looking for is called

org.gnome.SessionManager auto-save-session

So, what you want to to is set it to true:

gsettings set org.gnome.SessionManager auto-save-session true

You do not need dconf-editor - it's just a nice GUI tool to achieve the same thing.

edit flag offensive delete link more


Thank you. That sure seems like it should do it. When I reboot with some apps open, however, nothing opens. I verified the key is set to true using gsettings get. I also looked in ~/.config/gnome-session/saved-session and there is nothing in there. Is there a command I need to issue to save the session and another one to restore it?

leftright gravatar imageleftright ( 2018-06-05 12:07:48 -0600 )edit

answered 2018-06-05 05:31:20 -0600

jo_117 gravatar image

Are you saying that u want to reset ur system fedora 28--after doing some task but u need to roll it back as original system ???

edit flag offensive delete link more


No. I'm just wondering if there is a way to save the orentation of workspaces and files or programs that are open in them. An analogy, would be how a browser lets you set a homepage or set of pages so that each time the browser is opened, the same websites open on the same tabs.

leftright gravatar imageleftright ( 2018-06-05 06:10:53 -0600 )edit

Example: I have a pdf file half screen left and a libreoffice write file half screen right to take notes on the pdf file I'm reading. In the workspace below, I have a terminal open in the left half on the screen and an editor in the right. In the workspace below that, I have firefox open fullscreen. Everyday for the next week, I'll use these same files and applications. If I shut the machine off each night, I have to re-open the same files and reposition the workspaces each day. Hoping there is a way to save this instead.

leftright gravatar imageleftright ( 2018-06-05 06:13:40 -0600 )edit

as far as I know, fedora does not support saving system state as an option, with any of the desktop environments. my only suggestion, is to not shut down at night, but that would mean you have battery backup to avoid power loss.

SteveEbey73701 gravatar imageSteveEbey73701 ( 2018-06-05 07:18:42 -0600 )edit

Question Tools

1 follower


Asked: 2018-06-04 21:20:37 -0600

Seen: 686 times

Last updated: Jun 05 '18