Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MONS(1)				 User Commands			       MONS(1)

NAME
       Mons - POSIX Shell script to quickly manage 2-monitors display.

SYNOPSIS
       mons [OPTION]...

DESCRIPTION
       Without	argument,  it  prints connected	monitors list with their names
       and ids.	 Options are exclusive and can be used in conjunction with ex-
       tra options.

   Information:
       -h     Prints this help and exits.

       -v     Prints version and exits.

   Two monitors:
       -o     Primary monitor only.

       -s     Second monitor only.

       -d     Duplicates the primary monitor.

       -m     Mirrors the primary monitor.

       -e <side>

	      Extends the primary monitor to the selected side [ top | left  |
	      right | bottom ].

       -n <side>

	      This  mode selects the previous ones, one	after another. The ar-
	      gument sets the side for the extend mode.

   More	monitors:

       -O <mon>

	      Only enables the monitor with a specified	id.

       -S <mon1>,<mon2>:<pos>

	      Only enables two monitors	with specified ids. The	specified  po-
	      sition  places the second	monitor	on the right (R) or at the top
	      (T).

   Extra (in-conjunction or alone):

       --dpi <dpi>

	      Set the DPI, a strictly positive value within  the  range	 [0  ;
	      27432].

       --primary <mon_name>

	      Select a connected monitor as the	primary	output.	Run the	script
	      without argument to print	monitors information, the names	are in
	      the second column	between	ids and	status.	The primary monitor is
	      marked by	an asterisk.

   Daemon mode:
       -a     Performs an automatic display if it detects only one monitor.

COPYRIGHT
       Copyright (C) 2017 Thomas "Ventto" Venries.

       License MIT: <https://opensource.org/licenses/MIT>.

       THE SOFTWARE IS PROVIDED	"AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
       OR  IMPLIED,  INCLUDING	BUT  NOT  LIMITED  TO  THE  WARRANTIES OF MER-
       CHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.

Mons 0.8.2			 November 2025			       MONS(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mons&sektion=1&manpath=FreeBSD+Ports+15.0>

home | help