• 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

mons: command not found

by Deepika

“mons” is a command-line tool used in Linux and Unix-like systems to manage multiple displays. The primary purpose of “mons” is to provide a quick and easy way to switch between different display configurations, such as a single display, dual displays, or a laptop display and an external monitor.

“mons” allows you to control the position and orientation of displays, as well as the resolution and refresh rate. You can use “mons” to create and save different display configurations, and then switch between them with a single command. This makes it easy to use your computer with different display setups, such as a large desktop display at work, and a smaller laptop display when on the go.

The “mons” command provides several options to control the display configuration, such as specifying the display resolution, orientation, and position. You can also use “mons” to turn off a display, or to display the current display configuration.

In general, “mons” is a useful tool for users who frequently switch between different display configurations, or for users who need to manage multiple displays with a minimum of hassle. By providing a simple, easy-to-use interface for managing displays, “mons” makes it easy to get the most out of your computer’s display setup.

If you encounter the below error while running the command mons:

mons: command not found

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

Distribution Command
Debian apt-get install mono-dbg
Ubuntu apt-get install mono-dbg
Arch Linux pacman -S mono
Kali Linux apt-get install mono-dbg
Fedora dnf install mono-core
OS X brew install mono
Raspbian apt-get install mono-dbg

mons Command Examples

1. Enable only the primary monitor:

# mons -o

2.Enable only the secondary monitor:

# mons -s

3.Duplicate the primary monitor onto the secondary monitor, using the resolution of the primary monitor:

# mons -d

4.Mirror the primary monitor onto the secondary monitor, using the resolution of the secondary monitor:

# mons -m

Filed Under: Linux

Some more articles you might also be interested in …

  1. cpio command – copies, lists & extracts files to and from archives
  2. auracle Command Examples
  3. lscpu Command Examples in Linux
  4. fprintd-list: command not found
  5. certbot Command Examples in Linux
  6. Difference between the Java heap and native C heap
  7. mkfs.hfsplus: command not found
  8. kdeconnect-cli Command Examples
  9. git archive: Create an archive of files from a named tree
  10. fold: Wraps each line in an input file to fit a specified width and prints it to the standard output

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