avibrazil / RDM

Easily set Mac Retina display to higher unsupported resolutions
4.13k stars 352 forks source link

Support for changing the menu bar location and display Ids? #30

Open jjarava opened 5 years ago

jjarava commented 5 years ago

Hi!

Great utility, and found it in a very timely manner... Before getting to it, I had found cscreen (https://www.pyehouse.com/cscreen/) which unfortunately doesn't work on my setup (High Sierra, Retina displays)... But this tool has a very handy feature which is changing the menu bar location.

So the -p option allows moving the "reference" menu bar location to a different display (making it the "default" one), and the -i option allows referencing displays using an permanent ID, regardless of what the "connection" order is:

So, being able to "move around" the menu bar would be incredibly handy - just a suggestion

The help screen from the tool:

Usage: cscreen [-d <depth>] [-x <width>] [-y <height>] [-r <refresh>] [-s <display>] [-v] [-m] [-f] [-l] [-h]
           [-d <depth>]    : specifies the bit depth (bits per pixel)
           [-x <width>]    : specifies the width in pixels
           [-y <height>]   : specifies the height in pixels
           [-r <refresh>]  : specifies the refresh rate in Hz
           [-s <display>]  : specifies which display to use (defaults to main display)
           use a as the option to -s to specify the action on all displays
           [-i <displayID>]: picks a display based on CGDirectDisplayID (permanent per display)
           continue to use '-s a' for "all displays"
           [-v]            : display valid modes (use -s to specify display or nothing for the default)
           [-m]            : require an exact match
           [-f]            : forces settings (ignores safety mechanisms; USE AT YOUR OWN RISK)
           [-l]            : lists the current displays and modes
           [-p]            : sets the requested display to have the menu bar
           [-h]            : displays the usage

           Note: Using -p will change the display index so you will likely want to use -l again to show the current
           displays if you wish to use -p a second time.

Could you consider adding support for this?