Skip to content
mertyuks3lPublic

About

Minimalist screenshot tool for Linux

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

50 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sshot Icon

sShot

Minimalist screenshot tool

sShot is a minimalist screenshot tool written in C using the SDL3 library. It works on both Wayland and X11. It allows users to take screenshots of their entire screen or a selected area, save them in PNG format, and copy them to the clipboard. The application is designed to be simple, minimal and easy to use.

Preview

sShot Preview

Index

Features

  • Take screenshots of the entire screen or a selected area
  • Save screenshots in PNG format
  • Save screenshots to a specified directory
  • Copy screenshots to the clipboard
  • Simple and easy to use interface

Installation

Pre-built binaries(including AppImage) for sShot are available on the Releases page. You can download the latest release and follow the installation instructions provided in the release notes.

Building from source

  1. Install the required dependencies:

    On Debian/Ubuntu:

    sudo apt-get install libsdl3-dev libsdl3-image-dev libnotify-dev

Note

On Debian/Ubuntu, you may need to add the experimental repository to get the latest SDL3 packages. Or you can build SDL3 from source if you prefer. See the SDL3 installation guide for more details.

On Arch Linux:

sudo pacman -S sdl3 sdl3_image libnotify
  1. Clone the repository:
    git clone https://github.com/MertYksl03/sShot.git
  2. Navigate to the project directory:
    cd sShot
  3. Build the project:
    make build 
  4. Install the binary to your system:
    sudo make install

Usage

To take a screenshot, simply run the sshot command in your terminal or from the application menu. You can choose to capture the entire screen or select a specific area. The captured screenshot will be saved in the specified directory and copied to the clipboard.

On Multi-Monitor Setups

Note

On multi-monitor setups, sShot captures the entire virtual screen on X11, while on Wayland it captures the monitor where the application is launched. This is due to the limitations of the Wayland protocol, which does not allow applications to capture content from other monitors for security reasons.

Keybindings

Key Action
Left Click Start selecting an area to crop
Right Click Crop the selected area
Ctrl + S Save screenshot
Ctrl + C Copy screenshot to clipboard
Ctrl + Z Undo last action
Mouse Wheel Zoom in and out
Esc or Q Exit the application

Uninstallation

To uninstall sShot, run the following command in your terminal:

  1. First navigate to the project directory:
    cd sShot
  2. Then run the uninstall command:
    sudo make uninstall

Contributing

Contributions are welcome! If you have any ideas for new features or improvements, please feel free to submit a pull request or open an issue.

License

This project is licensed under the GNU General Public License v3. See the LICENSE file for details

About

Minimalist screenshot tool for Linux

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages