Comments (18)
Hi, first time using continuum (already resurrect user). After installing and adding continuum status it showed me as off. I had to set the save interval to 15 on tmux.conf to have it working.
The documentation is not very clear at this point, I though just installing it (and reloading tmux.conf) should have started the process.
from tmux-continuum.
We're getting close to a fix though! :)
from tmux-continuum.
Hey, oh I see you upgraded to tmux-continuum
, cool.
About environment not saving.. how did you check that? Save is done un-intrusively in the background so a spinner in tmux is not shown.
The way to check if "auto save" is working is to do $ ls -al ~/.tmux/resurrect
. Save files are stored in that dir. Files have timestamps in the name so you can verify when the last save happened.
I was gonna write you a couple other things you can try to debug a "auto save" feature.. but what do you say we do a quick session over google hangouts (or skype) and we debug both "auto save" and "auto restore" together?
I can make 15 minutes for this anytime so let me know when you're free? Also drop me an email if you wanna send e.g. a skype username.
from tmux-continuum.
Hey man!
Yeah, I was checking the autosaves by looking in the ~/.tmux/ressurect folder.
I think a session over Google hangouts sounds like a good call.
Just sent you an email!
from tmux-continuum.
After a Skype session, we have determined that something is going wrong here
It seems like the ampersand is being ignored because the script is not running asynchronously
from tmux-continuum.
Progress:
I switched to tmux plugin manager and the plugin works like a charm, although, it doesn't restore my vim session. No big deal there though.
On that note, without the plugin manager, I was able to get things working by adding the following to the end of my tmux.conf file instead. The -b (background) flag seems to have had some affect. I'm not sure if that helps you at all. In either case, the plugin is mostly working with the plugin manager.
run-shell ~/.tmux/tmux-continuum/continuum.tmux
run-shell -b ~/.tmux/tmux-continuum/scripts/continuum_restore.sh
from tmux-continuum.
Thank you for the time today @chiedojohn.
I'll try to reproduce the issue with backgrounding on that line.
I forgot to ask, what bash
version you're running? Just $ bash --version
.
from tmux-continuum.
No prob man!
GNU bash, version 3.2.53(1)-release (x86_64-apple-darwin14)
from tmux-continuum.
I've opened a question for this on stackoverflow.
from tmux-continuum.
Perfect
from tmux-continuum.
I looked at the old tmux-resurrect-auto code and that used to work (and it uses backgrounding as well).
Well I am on 10.10.3 and it does not work here either.
But it's possible that OSX (or an Xcode CLI Tools) upgrade broke this somehow.
from tmux-continuum.
We've spent a lot of time trying to debug this. I never managed to reproduce this (also OSX 10.10.3). Any hint here is appreciated.
from tmux-continuum.
hmm so for you the auto-resurrect just works?
probably a starting point would be having the bash subscripts write logs to files, right?
from tmux-continuum.
Yea, everything works just fine for me. Both the "auto restore" and "restore after boot" features.
As for debugging auto restore, yea, the first step would be to put some debugging lines into the main script and this script and see what gets executed and what not.
IIRC when we last debugged the main issue was that the continuum_restore.sh
script wasn't executing properly in the background. That background invocation is here and I couldn't figure out why that doesn't work for some users.
from tmux-continuum.
Haha my machine locked up again because I forgot to force the Nvidia GPU again, and this time when it booted the auto restore worked! Hopefully that means auto save will also work (I do know how to check that).
from tmux-continuum.
Good to hear that things actually work for you.
You can check if auto save by checking the timestamp of ~/.tmux/resurrect/last
file. Execute this command:
ls -al ~/.tmux/resurrect/last
And check the hour and minutes. Auto save saves in an interval of 15 minutes by default so if you check the file again in 15-20 minutes the timestamp should be updated.
People haven't reported many issues about auto-save, so I think that one should work (but please let us know).
from tmux-continuum.
Hello, I facing the same issues on OSX. tmux version 2.1
This code works, however described in the docs methods with plugin manager won't.
run-shell ~/.tmux/tmux-continuum/continuum.tmux
run-shell -b ~/.tmux/tmux-continuum/scripts/continuum_restore.sh
I am using continuum on top of https://github.com/skwp/dotfiles, plugin loading through ~/.tmux.conf.user:
run-shell '~/.tmux/plugins/tmux-resurrect/resurrect.tmux'
set -g @resurrect-strategy-vim 'session'
set -g @resurrect-strategy-nvim 'session'
run-shell '~/.tmux/plugins/tmux-continuum/continuum.tmux'
run-shell -b '~/.tmux/plugins/tmux-continuum/scripts/continuum_restore.sh'
set -g @continuum-boot 'on'
set -g @continuum-boot-options 'iterm'
set -g @continuum-restore 'on'
from tmux-continuum.
I have installed tmux-resurrect and tmux-continuum-master plugin. I am having below issues.
- tmux-resurrect works with manual save and restore
- It restores the window titles and number of windows only. No command history etc. I have remote connections (ssh) which it doesn't restore. In all my windows, I see local host.
Please help if its possible to restore the ssh state as thats the only thing I want when I meant 'restore'
Another point is that, continuum doesn't save or restore sessions automatically. when I set the status in my status bar, I don't see any status (duration or on/off) . So I guess its not working?
from tmux-continuum.
Related Issues (20)
- Is it possible to add a running script to resurrect-processes list and automatically restore it? HOT 1
- Restoring environment variables HOT 1
- Tmux exits after started with @continuum-restore 'on' HOT 11
- AppleScript syntax errors in iterm automatic start osx script HOT 1
- Continuum starts a new tmux session with every ssh login HOT 1
- Add support for Wezterm terminal HOT 1
- iTerm2 launch in fullscreen mode
- Issue while starting via shell configuration in Alacritty
- add option for working on multiple tmux server
- macOS Ventura: "Background Item Added" notification on each boot HOT 6
- Autostart session with a specific name?
- Customise status with time remaining HOT 4
- Systemd user service disabled even if not managed by continuum
- Restore to named session if name provided
- Programs are not restarting
- High CPU usage on MacOS after long sleep/hibernate time HOT 2
- Hardcoded DISPLAY Variable Issues
- XAUTHORITY environment variable is not set when using automatic tmux start with systemd HOT 2
- How to restore multiple tmux sessions independently and simultaneously
- Disable auto save before manual save session
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tmux-continuum.