Jul 20, 2023

POSIX shell script to quickly manage displays using XRandR

Mons is a shell script to quickly manage 2-monitors display using XRandR.


  • No requirement POSIX-compliant minimal xorg-xrandr
  • Useful Perfectly fit for laptops, quick and daily use
  • Well known Laptop mode, projector mode, duplicate, mirror and extend
  • More Select one or two monitors over several others
  • Extra Cycle through every mode with only one shortcut
  • Auto Daemon mode to automatically reset display

Checkout these related ports:
  • Zenity - Display GNOME dialogs from the command line
  • Yelp - Help browser for the GNOME desktop
  • Yeahconsole - Terminal wrapper for creating drop-down consoles
  • Yalias - Enhanced execution box with regex pattern matching
  • Yakuake - Drop-down terminal emulator for KDE
  • Yad - Display GNOME dialogs from the command line
  • Xzoom - Magnify, rotate, mirror the image on the X11 screen
  • Xxkb - XKB keyboard layout indicator and switcher
  • Xwud - Image displayer for X
  • Xwit - X interface tool
  • Xwinwrap - XWinWrap replace a desktop background with a movie or screensaver
  • Xwininfo - Window information utility for X
  • Xwd - Dump an image of an X window
  • Xwatchwin - Watch a window on another X server
  • Xvt - Xterm replacement, supporting color, transparency, and more, with less