Skip to content

Restore not working on Linux / tmux 1.9-6 #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
GuillaumeSeren opened this issue Apr 14, 2015 · 9 comments
Closed

Restore not working on Linux / tmux 1.9-6 #5

GuillaumeSeren opened this issue Apr 14, 2015 · 9 comments

Comments

@GuillaumeSeren
Copy link

Hi there,
I've just discovered your work, last week and seriously thank you it is awesome !

I find the idea great, and most of the plugin where most wanted features in tmux for long time,
specially, a way of make tmux, survive reboot, so I ended installing continuum.

But even if I add the auto restore the session didn't come back, here some details:

I use tmuxinator to design the session content, (https://github.com/tmuxinator/tmuxinator)
and it is also used to launch tmux itself, by .Xsessionrc:

urxvtcd -e bash -c 'echo "--> Get Screen session central" &&
tmuxinator start central ' &

After that my revelant part of my ~/.tmux.conf

# List of plugins
# Supports `github_username/repo` or full git repo URLs
set -g @tpm_plugins '              \
  tmux-plugins/tpm                 \
  tmux-plugins/tmux-sensible       \
  tmux-plugins/tmux-copycat        \
  tmux-plugins/tmux-resurrect      \
  tmux-plugins/tmux-continuum      \
  tmux-plugins/tmux-yank           \

# Plugin conf
set -g @continuum-restore 'on'

# Other examples:
# github_username/plugin_name    \
# [email protected]/user/plugin     \
# [email protected]/user/plugin  \

# Initializes TMUX plugin manager.
# Keep this line at the very bottom of tmux.conf.
run-shell '~/.tmux/plugins/tpm/tpm'

Any idea / test to make it work ?

Guillaume.

@bruno-
Copy link
Member

bruno- commented Jun 17, 2015

Hey,
sorry for the late response. Did you have any luck with this?

Frankly I'm not sure how well this plugin works with tmuxinator. I think they both try to do the same thing with different approaches, that is: create tmux environment.

Did you try using tmux-resurrect on it's own? Is that working ok?

@GuillaumeSeren
Copy link
Author

Hey @bruno- thank you for responding 👍
again thank you for your work it is a really good and needed projects for tmux users.

So on this issue, I still don't fix it but it is not a big pain because tmuxinator give a good preset in the session, on this point it near but keeping the session saved on top of tmuxinator would be great.

I will upgrade and check the whole process again then update my status here.

@bruno-
Copy link
Member

bruno- commented Jun 19, 2015

As mentioned previously, you might experience some collision between tmuxinator and tmux-resurrect because they both do the same job. It might make sense to pick one and just stick with it.

Anyhow, if you do the experiment of running both together, please update this thread with your findings. Thanks!

@GuillaumeSeren
Copy link
Author

Yes I understand that, but I feel tmuxinator can provide a default state and tmux-continuum,
a saved-session so we can just test if there is a saved session and in this case load, on top of tmuxinator.

I will take some time to make test, and give back details here.

@bruno-
Copy link
Member

bruno- commented Jul 7, 2015

Any updates on this?

@GuillaumeSeren
Copy link
Author

Hi @bruno- ,
I have not been able to gather much time on this task, but I made some test out of tmuxinator session,
I will publish a summary of my test soon.

Guillaume.

@bruno-
Copy link
Member

bruno- commented Oct 8, 2015

Hi,
I made a short doc about moving to tmux-resurrect from tmuxinator, pros and cons etc. Here's the link.

It would be good to get some feedback on this issue so we can either fix or close it.

@GuillaumeSeren
Copy link
Author

Hi Bruno,
yes I was missing time to do that and I have seen your doc on migrating from 'tmuxinator' to 'tmux-resurrect', I did not want to stay with tmuxinator anymore, too much dependencies.

I think this issue can be close.

Again thank for your work ! :)

Guillaume.

@bruno-
Copy link
Member

bruno- commented Oct 9, 2015

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants