Skip to main content

A terminal emulator for use with Toolbox

Project description

Boxi

A terminal emulator for use with Toolbox.

This is a thought-experiment app based around the idea of having a terminal emulator running in a separate container from the session inside of it, with the kernel as the only intermediary.

This is accomplished by means of file descriptor passing of the pseudo-terminal device from a small "agent" program running on the other side of a container boundary. The agent is started using the usual container tools (flatpak-spawn, toolbox, podman), but creating a session is done purely via sockets.

The recommended way to install Boxi is from Flathub, but it's also possible to install via pip:

pip install boxi

Note that after installing Boxi this way, you'll need to manually compile the GSettings schema file:

glib-compile-schemas ~/.local/share/glib-2.0/schemas/

The install comes with a .desktop file, so Boxi can be launched from the desktop shell. It can also be launched from the command line:

boxi

By default, Boxi will create sessions on the host system. If you'd like to create sessions in a named Toolbox container, use -c:

boxi -c f36

Boxi uses different application identifiers when it is run for different containers. This allows creating individual launcher icons for each container. For example, ~/.local/share/applications/dev.boxi.Boxi.f36.desktop:

[Desktop Entry]
Type=Application
Name=Fedora 36 (Boxi)
Icon=fedora
StartupNotify=true
Exec=boxi -c f36

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

boxi-5.tar.gz (41.0 kB view details)

Uploaded Source

Built Distribution

boxi-5-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

Details for the file boxi-5.tar.gz.

File metadata

  • Download URL: boxi-5.tar.gz
  • Upload date:
  • Size: 41.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0rc1

File hashes

Hashes for boxi-5.tar.gz
Algorithm Hash digest
SHA256 3aafbe2b2a76df8d258819442b64686383f28ebb7f4248da1276d962fa921b58
MD5 40b9eac0c093756f4ea6af73350581ee
BLAKE2b-256 3dced3db1b5e981f3e004e56d11e2a38d8621f8329c3e693fc7515f19b7ace99

See more details on using hashes here.

File details

Details for the file boxi-5-py3-none-any.whl.

File metadata

  • Download URL: boxi-5-py3-none-any.whl
  • Upload date:
  • Size: 19.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0rc1

File hashes

Hashes for boxi-5-py3-none-any.whl
Algorithm Hash digest
SHA256 0926124a991b6671c813898fb73f42155e712d738e0599022b1804b5423f29c9
MD5 08aa4e2954c8ca0307ade7a3c9b5f3e6
BLAKE2b-256 9f3faf72fa504ccee5b485548f0a2f68eeb84fe2f9294b2879021ad1d3f640bf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page