You’ve set up the programs you need. Your windows are arranged just right. Then, something else demands your attention and you have to shut down. No worries. You can have Ubuntu remember all your running applications and restore them the next time you log in.
您已经设置了所需的程序。 您的窗户布置得恰到好处。 然后,还有其他事情需要您的注意,因此您必须关机。 别担心。 您可以让Ubuntu记住所有正在运行的应用程序,并在下次登录时将其还原。
To have Ubuntu remember the applications you have running in your current session and restore them the next time you log in, you will use the dconf-editor. This tool replaces the gconf-editor available in previous versions of Ubuntu but is not available by default. To install the dconf-editor, see the instructions in this article.
为了让Ubuntu记住您当前会话中正在运行的应用程序,并在下次登录时将其还原,您将使用dconf-editor。 该工具替代了早期版本的Ubuntu中可用的gconf编辑器,但默认情况下不可用。 要安装dconf-editor,请参阅本文中的说明。
NOTE: When we say to type something in this article and there are quotes around the text, DO NOT type the quotes, unless we specify otherwise.
注意:当我们说要在本文中键入某些内容并且文本周围有引号时,请不要键入引号,除非我们另外指定。
Once the dconf-editor is installed, click the Dash button at the top of the Unity Launcher bar.
安装dconf编辑器后,单击Unity Launcher栏顶部的Dash按钮。
Start typing “dconf editor” in the search box. When the “dconf Editor” item displays, click on the icon to start the tool.
开始在搜索框中输入“ dconf编辑器”。 当显示“ dconf编辑器”项时,单击图标以启动该工具。
In the “dconf Editor” window, click the right arrow next to “org” in the left pane to expand that branch of the tree.
在“ dconf编辑器”窗口中,单击左窗格中“组织”旁边的右箭头以展开树的该分支。
Under “org”, click the right arrow next to “gnome.”
在“组织”下,单击“侏儒”旁边的向右箭头。
Under “gnome,” click “gnome-session.”.In the right pane, select the “auto-save-session” check box to turn on the option.
在“ gnome”下,单击“ gnome-session”。在右窗格中,选中“ auto-save-session”复选框以打开该选项。
Close the “dconf Editor” by clicking the “X” button in the upper-left corner of the window.
通过单击窗口左上角的“ X”按钮,关闭“ dconf编辑器”。
The next time you log out and log back in, all of your running applications will be restored.
下次注销并重新登录时,将还原所有正在运行的应用程序。