https://github.com/bottlesdevs/easyterm
An easy-to-bundle GTK terminal emulator
https://github.com/bottlesdevs/easyterm
Last synced: 4 months ago
JSON representation
An easy-to-bundle GTK terminal emulator
- Host: GitHub
- URL: https://github.com/bottlesdevs/easyterm
- Owner: bottlesdevs
- Created: 2021-11-11T15:37:16.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-08T18:04:35.000Z (over 3 years ago)
- Last Synced: 2024-05-01T09:42:41.167Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 18.6 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# EasyTerm
An easy-to-bundle GTK terminal emulator.
This project is meant to be used as a dependency for other projects that
need an easy-to-bundle and lightweight terminal emulator, but also
works as a standalone terminal emulator.
## Dependencies
- GTK 3
- Handy
- Vte
## GTK4 & libadwaita
Port to GTK4 is almost simple, but is stalled because of the lack of
Vte for GTK4. This mean that also libhandy cannot be moved to libadwaita
because this last one need GTK4.
## Bottles purposes
EasyTerm should be provided as the default terminal in the Bottles project
when Vte will be ported to GTK4.
## Installation
```bash
git clone https://github.com/bottlesdevs/EasyTerm.git
cd EasyTerm
python3 setup.py install
```
## Usage
As a **library**, you can use the `EasyTerm` class as follows:
```python
from easyterm import easyterm
easyterm.EasyTerm(
cwd='/path',
command='/bin/bash',
env=[],
actions=[
{
"name": "Hello",
"icon": "emblem-favorite",
"tooltip": "Say hello to the world",
"command": "echo Hello World"
}
]
)
```