# phillipberndt/autorandr

Auto-detect the connected display hardware and load the appropriate X11 setup using xrandr

Repository: https://github.com/phillipberndt/autorandr
Canonical: https://ross.abutalabs.com/products/autorandr
Language: Python
License Family: other
Topics: xrandr, x11, configuration-management
Last push: 2026-08-20T20:09:01+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 8, longevity 100
- inputs: {"age_days": 4660, "days_push": 13, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2712, forks 133 (observed 2026-08-28T04:07:11.895947+00:00)

## What it is
autorandr is a Python CLI tool that auto-detects connected display hardware and applies the matching saved X11 display configuration via xrandr. It can be triggered automatically on monitor hotplug, resume from suspend, or X11 login.

## Use cases
- automatically switch monitor layout when docking my laptop
- save and restore xrandr display configurations per monitor setup
- apply correct screen arrangement when connecting an external display
- fix display resolution after waking from suspend
- manage multi-monitor setups on X11 from the command line

## When to choose
- you use X11 on Linux and want automatic per-monitor-configuration display profiles
- you need a lightweight script-based tool installable via major distro package managers
- you use advanced xrandr options like --transform or --reflect

## When to avoid
- you run Wayland, which xrandr does not control
- you need disper/NVIDIA auto-disper support, which only the legacy bash version offers

## Facets
- artifact type: cli-tool
- maturity: active
- function: configuration-management, cli, developer-tools
- domain: operating-systems, desktop-applications, developer-tools
- platform: cli, python
- tags: xrandr, x11, display-configuration, monitor-setup, udev, automation, linux

## Member repositories
- phillipberndt/autorandr (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:11.895947+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:15:33.556400+00:00, confidence not recorded.
  - readme: https://github.com/phillipberndt/autorandr (fetched 2026-08-28T04:07:11.895947+00:00, sha 6603f023817d)
  - registry_pypi: https://pypi.org/pypi/autorandr/json (fetched 2026-08-29T09:58:33.786332+00:00, sha e309c77aa83b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
