• 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

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. i3-scrot Command Examples in Linux
  2. How to create snapshot of LVM thin volumes using snapper command
  3. acpi: command not found
  4. How to exclude a file/directory from auditd rules
  5. UNIX/Linux : Access control lists (ACLs) basics
  6. ncview: command not found
  7. kdialog Command Examples in Linux
  8. bluetoothd Command Examples in Linux
  9. How to verify if NX/XD is Enabled or Disabled in CentOS/RHEL 7 and 8
  10. nsxiv Command Examples

You May Also Like

Primary Sidebar

Recent Posts

  • powertop Command Examples in Linux
  • powertop: command not found
  • powerstat: command not found
  • powerstat Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright