A screenshot and screen recording tool for the COSMIC DE with annotation capabilities
Rust
45
211 commits
updated Sep 18, 2026
A screenshot and screen recording tool for the COSMIC desktop environment with annotation capabilities.
https://github.com/user-attachments/assets/8091f7e3-5ecb-4111-abaf-0fe365aa1e1d
Disclaimer: This project is based on xdg-desktop-portal-cosmic with added features. It implements the same screenshot portal interface. When set up correctly, dbus messages sent by cosmic-screenshot will be handled by SnapPea instead of xdg-desktop-portal-cosmic (only Screenshot Portal messages).
SnapPea repository hosting is graciously provided by Cloudsmith.
For Ubuntu/Pop!_OS 24.04 (Noble):
# Add the Cloudsmith repository
curl -1sLf 'https://dl.cloudsmith.io/public/cosmetics/snappea/setup.deb.sh' | sudo -E bash
# Install SnapPea
sudo apt install snappea
Packages are built automatically on every release and include the binary and desktop entry.
COPR packages are maintained by @lorduskordus.
Traditional Fedora:
sudo dnf copr enable kordus/cosmic-apps
sudo dnf install snappea
Fedora Atomic:
sudo wget \
https://copr.fedorainfracloud.org/coprs/kordus/cosmic-apps/repo/fedora/kordus-cosmic-apps.repo \
-O /etc/yum.repos.d/_copr:copr.fedorainfracloud.org:kordus:cosmic-apps.repo
rpm-ostree install snappea
Build and install with just:
just && sudo just install
This installs the binary to /usr/bin/snappea and adds a desktop entry to your application menu.
Setting up a keyboard shortcut:
SnapPea (or Screenshot)snappeaPrint (or your preferred key)[!NOTE] Running
snappeamultiple times communicates with the existing instance. If you're recording and press the shortcut again, it will stop the recording.
To use SnapPea as the default screenshot portal (replacing the COSMIC screenshot tool when Print Screen is pressed):
This automatically registers SnapPea as the preferred screenshot portal for your user account and restarts xdg-desktop-portal to apply the change immediately. No root access or manual config editing required.
[!IMPORTANT] SnapPea used to install its config to
~/.config/xdg-desktop-portal/portals.conf. This breaks theming in Flatpaks. If you had an older version of SnapPea, make sureportals.confis deleted.
To get better gif quality install gifski.
To enable text recognition (OCR), install tesseract-ocr:
# Debian/Ubuntu
sudo apt install tesseract-ocr
# Fedora
sudo dnf install tesseract
# Arch
sudo pacman -S tesseract
sudo just uninstall
The uninstall command will warn you if ~/.config/xdg-desktop-portal/cosmic-portals.conf still contains SnapPea configuration.
It Snaps Pics and it's snappy!
Rust
98.2%
Fluent
1.5%
A screenshot and screen recording tool for the COSMIC DE with annotation capabilities
Rust
45
211 commits
updated Sep 18, 2026
A screenshot and screen recording tool for the COSMIC desktop environment with annotation capabilities.
https://github.com/user-attachments/assets/8091f7e3-5ecb-4111-abaf-0fe365aa1e1d
Disclaimer: This project is based on xdg-desktop-portal-cosmic with added features. It implements the same screenshot portal interface. When set up correctly, dbus messages sent by cosmic-screenshot will be handled by SnapPea instead of xdg-desktop-portal-cosmic (only Screenshot Portal messages).
SnapPea repository hosting is graciously provided by Cloudsmith.
For Ubuntu/Pop!_OS 24.04 (Noble):
# Add the Cloudsmith repository
curl -1sLf 'https://dl.cloudsmith.io/public/cosmetics/snappea/setup.deb.sh' | sudo -E bash
# Install SnapPea
sudo apt install snappea
Packages are built automatically on every release and include the binary and desktop entry.
COPR packages are maintained by @lorduskordus.
Traditional Fedora:
sudo dnf copr enable kordus/cosmic-apps
sudo dnf install snappea
Fedora Atomic:
sudo wget \
https://copr.fedorainfracloud.org/coprs/kordus/cosmic-apps/repo/fedora/kordus-cosmic-apps.repo \
-O /etc/yum.repos.d/_copr:copr.fedorainfracloud.org:kordus:cosmic-apps.repo
rpm-ostree install snappea
Build and install with just:
just && sudo just install
This installs the binary to /usr/bin/snappea and adds a desktop entry to your application menu.
Setting up a keyboard shortcut:
SnapPea (or Screenshot)snappeaPrint (or your preferred key)[!NOTE] Running
snappeamultiple times communicates with the existing instance. If you're recording and press the shortcut again, it will stop the recording.
To use SnapPea as the default screenshot portal (replacing the COSMIC screenshot tool when Print Screen is pressed):
This automatically registers SnapPea as the preferred screenshot portal for your user account and restarts xdg-desktop-portal to apply the change immediately. No root access or manual config editing required.
[!IMPORTANT] SnapPea used to install its config to
~/.config/xdg-desktop-portal/portals.conf. This breaks theming in Flatpaks. If you had an older version of SnapPea, make sureportals.confis deleted.
To get better gif quality install gifski.
To enable text recognition (OCR), install tesseract-ocr:
# Debian/Ubuntu
sudo apt install tesseract-ocr
# Fedora
sudo dnf install tesseract
# Arch
sudo pacman -S tesseract
sudo just uninstall
The uninstall command will warn you if ~/.config/xdg-desktop-portal/cosmic-portals.conf still contains SnapPea configuration.
It Snaps Pics and it's snappy!
Rust
98.2%
Fluent
1.5%