• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

i3-scrot Command Examples in Linux

by admin

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

Filed Under: Linux

Some more articles you might also be interested in …

  1. toilet: command not found
  2. How To Configure 802.1q VLAN On NIC On CentOS/RHEL 7 and 8
  3. pdfxup Command Examples in Linux
  4. extrace Command Examples in Linux
  5. What are SELinux Modes and how to set them
  6. How To Check Current Values for Kernel Tuning Parameters in CentOS/RHEL
  7. ac: command not found
  8. netselect-apt: command not found
  9. Unable To Remove Files From Directory with Error “Argument list too long”
  10. st: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • csslint: A linter for CSS code
  • csh: The shell (command interpreter) with C-like syntax (Command Examples)
  • csc: The Microsoft C# Compiler (Command Examples)
  • crystal: Tool for managing Crystal source code

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright