A better tool to configure xrandr
Go to file
Roberto Alsina b2b458a2ac Bump version 2022-06-08 14:26:35 -03:00
.github Working on making modes nicer 2022-06-08 10:27:34 -03:00
tests Show mode frequency 2022-06-08 12:46:51 -03:00
xrandroll Fix snapping for right/bottom edges 2022-06-08 13:31:41 -03:00
.flake8 refactors 2020-01-31 14:27:59 -03:00
.gitignore Ignore .venv 2020-02-05 16:02:40 -03:00
.pre-commit-config.yaml Bump deps to make it work 2022-06-07 13:43:14 -03:00
LICENSE Create LICENSE 2020-01-31 19:17:36 -03:00
README.md Updated README 2022-06-07 13:47:09 -03:00
TODO.md Fix snapping for right/bottom edges 2022-06-08 13:31:41 -03:00
poetry.lock Fix pytest 2022-06-08 09:24:40 -03:00
pyproject.toml Bump version 2022-06-08 14:26:35 -03:00



None of the existing display configuration tools does what I think is "the right thing". So I went and wrote one.

The Right Thing

  • Don't start from a stored config, use xrandr to read the systems' current state
  • Allow creating "profiles" that will get applied smartly (not there yet)
  • Generate a xrandr invocation to reflect the desired configuration
  • Allow per-monitor scaling
  • Allow arbitrary monitor positioning
  • Implement "scale everything so all the pixels are the same size"

To try:

If you have PySide2: python -m xrandroll in the folder where you cloned it (of course deps are a problem, this is experimental code, if you can't figure it out it's probably better for you 😊).


  • Implement other things
  • Forget about it forever