Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have several workspaces that have several terminals open in each one. I need to reboot my system, but I don't want to have to recreate each workspace after reboot.

Is there a way to save the state of each workspace, so after reboot all terminals reopen in the same working directory they were before, and preferably with the command history as well?

share|improve this question

1 Answer 1

If reset/shutdown isn't the important part of it, you could hibernate the machine, suspending the state to the disk.

That way you are able to power off the computer without losing your state.

Another way would be to make use of tmux and scripts to have the state start automatically, then you could use your Desktop Environment to keep track of the windows and restore them (XFCE supports this pretty nicely), keeping some of your state (but not all).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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