Vellum is a small native Wayland overlay for drawing directly over the live desktop.
Vellum began as a fork of Chameleos by Thomas Lindae.
- Full support: niri, Sway, Hyprland, river, labwc, COSMIC, Wayfire
- No screen freeze: KDE Plasma
- Not supported: GNOME, Weston
Protocol requirements
| Feature | Protocol |
|---|---|
| Overlay | wlr-layer-shell-unstable-v1 |
| Screen freeze | ext-image-copy-capture-v1, ext-image-capture-source-v1 |
| Fractional scaling | fractional-scale-v1, viewporter |
| Cursor shapes | cursor-shape-v1 |
| Drawing tablets | tablet-v2 |
| IME text input | text-input-unstable-v3 |
Compare compositor support in the Wayland Protocols Table.
For released versions, use the NixOS module from nixpkgs.
For Vellum main, use the flake module:
{
imports = [inputs.vellum.nixosModules.default];
# Optionally add cache settings for pre-built binaries.
nix.settings = {
extra-substituters = ["https://greyxp1.cachix.org"];
extra-trusted-public-keys = ["greyxp1.cachix.org-1:hUnQC8sjfKykPgkFdcXiuv4xjiISuWnBnPfW2F2df3k="];
};
services.vellum = {
enable = true;
# Reduce driver memory use on NVIDIA. Disables software fallback.
# graphicsDriver = "nvidia";
};
}Install the dependencies for your distribution:
Arch dependencies
sudo pacman -S --needed base-devel git rust wayland libxkbcommon fontconfig mesa vulkan-icd-loaderDebian 13+ dependencies
sudo apt install build-essential git pkg-config rustup libwayland-dev libxkbcommon-dev libfontconfig-dev libgbm-dev libvulkan1
rustup default stableFedora dependencies
sudo dnf install cargo gcc git pkgconf-pkg-config wayland-devel libxkbcommon-devel fontconfig-devel mesa-libgbm-devel vulkan-loaderBuild and install to ~/.local:
git clone https://github.com/greyxp1/vellum
cd vellum
cargo xtask installRun vellum & and bind vellum toggle to a compositor shortcut. For example, in niri:
Mod+A { spawn "vellum" "toggle"; }Running as a systemd user service
Save this as ~/.config/systemd/user/vellum.service:
[Unit]
Description=Vellum screen annotation overlay
After=graphical-session.target
PartOf=graphical-session.target
[Service]
Type=exec
ExecStart=%h/.local/bin/vellum
Restart=on-failure
[Install]
WantedBy=graphical-session.targetEnable the service:
systemctl --user enable --now vellum.service