Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,23 @@ back to using `softbuffer` and `tiny-skia`.

Custom color schemes can be imported from the `View -> Color schemes...` menu item.
You can find templates for color schemes in the [color-schemes](color-schemes) folder.

## Build on Ubuntu 24.04 LTS (Wayland) Minimal Dependencies

After extensive testing, the minimal set of dependencies required to build `cosmic-term` on Ubuntu 24.04 (Wayland) is as follows:

1. **Install Minimal Dependencies:**
```bash
sudo apt install libxkbcommon-dev libwayland-dev pkg-config libgl-dev libegl1-mesa-dev
```

2. **Set PKG_CONFIG_PATH:**
The build requires the `PKG_CONFIG_PATH` to be explicitly set to resolve the `xkbcommon.pc` dependency. This step must be run in the terminal session before executing `cargo run`.
```bash
export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/share/pkgconfig
```

3. **Build and Run:**
```bash
cargo run --release
```