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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

gnome-screenshot: command not found

by Deepika

gnome-screenshot is a command-line utility that allows you to capture screenshots of the screen, a window, or a user-defined area, and save the image to a file. It is a part of the GNOME desktop environment and can be used to quickly and easily take screenshots without the need for a separate graphical application.

With gnome-screenshot, you can capture the entire screen, a specific window, or a user-defined area by selecting the rectangular region to be captured. It also allows you to take screenshots with a delay, allowing you to set a timer before the screenshot is taken. This can be useful for capturing screenshots of menus or other elements that may disappear when the screenshot is taken.

Once the screenshot is taken, gnome-screenshot will save the image to a file in the user’s home directory, with a default name of Screenshot-[year]-[month]-[day]-[hour]-[minute]-[second].png. The format of the file can be changed to jpg, gif or bmp by passing the appropriate flag.

The basic syntax for taking a screenshot is:

# gnome-screenshot [options]

If you encounter the below error while running the command gnome-screenshot:

gnome-screenshot: command not found

you may try installing the below package as per your choice of distribution:

Distribution Command
Debian apt-get install gnome-screenshot
Ubuntu apt-get install gnome-screenshot
Arch Linux pacman -S gnome-screenshot
Kali Linux apt-get install gnome-screenshot
CentOS yum install gnome-screenshot
Fedora dnf install gnome-screenshot
Raspbian apt-get install gnome-screenshot

gnome-screenshot Command Examples

1. Take a screenshot and save it to the default location, normally `~/Pictures`:

# gnome-screenshot

2. Take a screenshot and save it to the named file location:

# gnome-screenshot --file path/to/file

3. Take a screenshot and save it to the clipboard:

# gnome-screenshot --clipboard

4. Take a screenshot after the specified number of seconds:

# gnome-screenshot --delay 5

5. Launch the GNOME Screenshot GUI:

# gnome-screenshot --interactive

6. Take a screenshot of the current window and save it to the specified file location:

# gnome-screenshot --window --file path/to/file

7. Take a screenshot after the specified number of seconds and save it to the clipboard:

# gnome-screenshot --delay 10 --clipboard

8. Display the version:

# gnome-screenshot --version

Filed Under: Linux

Some more articles you might also be interested in …

  1. man Command Examples in Linux
  2. –force V/s –nodeps : rpm command options to install or uninstall a package
  3. “ntpq -pn” command returns with error “Name or service not known”
  4. What is Anacron and usage of Anacron in Linux
  5. CentOS / RHEL : How to adjust the telnet timeout (and how to disable it)
  6. lsattr Command Examples in Linux
  7. mkfs.fat: command not found
  8. CentOS / RHEL : How to Install and Configure OpenSSH Server and Client
  9. snapper Command Examples in Linux
  10. 11 Useful “ssh” and “scp” Commands in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright