i3-scrot Command Examples in Linux

i3-scrot is a wrapper script for the scrot command-line utility, which is a tool for taking screenshots on Linux. i3-scrot is specifically designed to work with the i3 window manager, which is a popular tiling window manager for Linux.

i3-scrot provides an easy way to take screenshots while using i3, it allows you to take screenshots of the entire screen, a specific window or a selected area of the screen, by using simple keybindings. By default, i3-scrot saves the screenshots in the ~/Pictures directory, but the save location can be changed in the configuration file located at ~/.config/i3-scrot.conf.

i3-scrot is a simple, yet powerful tool that makes it easy to take screenshots while using i3. It’s highly configurable and allows you to take screenshots quickly and easily with minimal interruption to your workflow.

i3-scrot Command Examples

1. Capture a screenshot of the whole screen and save it to the default directory:

# i3-scrot

2. Capture a screenshot of the active window:

# i3-scrot --window

3. Capture a screenshot of a specific rectangular selection:

# i3-scrot --select

4. Capture a screenshot of the whole screen and copy it to the clipboard:

# i3-scrot --desk-to-clipboard

5. Capture a screenshot of the active window and copy it to the clipboard:

# i3-scrot --window-to-clipboard

6. Capture a screenshot of a specific selection and copy it to the clipboard:

# i3-scrot --select-to-clibpoard

7. Capture a screenshot of the active window after a delay of 5 seconds:

# i3-scrot --window 5
Related Post