GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
MONS(1) User Commands MONS(1)

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

mons [OPTION]...

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

-h
Prints this help and exits.
-v
Prints version and exits.

-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 argument sets the side for the extend mode.

-O <mon>

Only enables the monitor with a specified id.

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

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

--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.

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

Copyright © 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 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.

April 2022 Mons 0.8.2

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.