Skip to content
This repository was archived by the owner on Dec 17, 2023. It is now read-only.

Add a command line interface? #19

Open
NoobDoesMC opened this issue Mar 21, 2018 · 2 comments
Open

Add a command line interface? #19

NoobDoesMC opened this issue Mar 21, 2018 · 2 comments

Comments

@NoobDoesMC
Copy link

I want to be able to change the screen resolution from the command line

@jonathonlui
Copy link

@NoobDoesMC the RDM.app includes a CLI. Assuming its installed at /Applications/RDM.app try these commands:

$ /Applications/RDM.app/Contents/MacOS/SetResX --modes
mode: {resolution=1280x800, scale = 2.0, freq = 0, bits/pixel = 32}
mode: {resolution=1680x1050, scale = 2.0, freq = 0, bits/pixel = 32}
mode: {resolution=1440x900, scale = 2.0, freq = 0, bits/pixel = 32}
...etc.

$ /Applications/RDM.app/Contents/MacOS/SetResX --width 1680 --height 1050 --scale 2.0

@RichardBronosky
Copy link

Assuming you use brew or have /usr/local/bin in your $PATH for any other reason. You can make it handy with:

ln -s /Applications/RDM.app/Contents/MacOS/SetResX /usr/local/bin/rdm

That let's you use the rdm command without specifying a path, just like most commands.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@RichardBronosky @jonathonlui @NoobDoesMC and others