Jupyterlab fix in a form of extension for a common problem of restoring workspace after server restart etc... such that terminal windows are there, but they all were opened in the same location (notebook root). We'd like to have them opened in the locations where they were opened originally.
Project description
jupyterlab_restore_terminals_fix
[!TIP] This extension is part of the stellars_jupyterlab_fixes metapackage. Install all Stellars extensions at once:
pip install stellars_jupyterlab_fixes
Fix for the common JupyterLab problem where terminal windows lose their working directories after workspace restoration. When JupyterLab restores a saved workspace (after server restart, browser refresh, etc.), all terminals reopen pointing to the notebook root instead of their original locations. This extension remembers and restores each terminal's working directory.
Features
- Automatic cwd restoration - terminals reopen in their original working directories after workspace restore
- Server-side cwd detection - accurately determines each terminal's current directory via process inspection
- Cross-platform support - works on Linux (via /proc) and macOS (via lsof)
- Transparent operation - works automatically with no user interaction required
Requirements
- JupyterLab >= 4.0.0
Install
pip install jupyterlab_restore_terminals_fix
Uninstall
To remove the extension, execute:
pip uninstall jupyterlab_restore_terminals_fix
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jupyterlab_restore_terminals_fix-0.9.26.tar.gz.
File metadata
- Download URL: jupyterlab_restore_terminals_fix-0.9.26.tar.gz
- Upload date:
- Size: 271.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18ff629c3f14e0d15ca241c93d6eae086f334336e767bd5cb8dddfeaf87236d4
|
|
| MD5 |
89b0ae5bf6ebb5d63fdb239938c130d3
|
|
| BLAKE2b-256 |
c1fefc48f8a36aa3c9b1cb506f098ad8d4d6fae9cdd20b8a9b4c618c3cd1c331
|
File details
Details for the file jupyterlab_restore_terminals_fix-0.9.26-py3-none-any.whl.
File metadata
- Download URL: jupyterlab_restore_terminals_fix-0.9.26-py3-none-any.whl
- Upload date:
- Size: 22.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13d1c62b7d5057f3e44d8dbda154e00f7b41f2cb0d7eaaf38a27d7045ba26def
|
|
| MD5 |
f14d795464c43b4c8596d5e96d94cd60
|
|
| BLAKE2b-256 |
4e9cace52f3ab5f4c1ec7a42f654ca6d7c82c622bceff811c8302dc6d1344d56
|