X-ON-RESIZE(1)
β¨ X-ON-RESIZE(1) β¨
okay bestie, welcome to the x-on-resize page from the General Commands Manual π she's a little watcher daemon situation and she's literally so good at her job.
πΈ NAME πΈ
x-on-resize β the girl who sits there monitoring for hotplug or screen reconfigure events πβ¨
π¦ SYNOPSIS π¦
x-on-resize [--help] [--display display] [--config config-script]
[--resize resize-script] [--start]
π DESCRIPTION π
So here's the vibe: x-on-resize just watches your X display for output configuration changes and/or screen resize events. And when one of those happens? She doesn't just sit there β she can call external programs to respond to the new display environment. It's giving personal assistant. It's giving main character energy. π«Ά
π OPTIONS π
-h,--helpβ prints out a summary of the usage and then dips. exit stage left, we love a clean exit π-d,--displayname β picks which X display to use. β οΈ and bestie, listen: this refers to the X screen abstraction, not the monitor (or output). two completely different things, don't get it twisted π-c,--configconfig-script β picks the external script to run when the set of available outputs has changed. and if you don't provide one? no drama,x-on-resizejust prints"config"on stdout. lowkey iconic behavior π-r,--resizeresize-script β picks the external script to run when the size of the root window has changed. and again, if you don't provide one,x-on-resizeprints"resize"on stdout. consistent queen β¨-a,--autoβ this is literally the same as--config "xrandr --auto", which sets the system to a reasonable configuration each time the connected set of outputs changes. one flag, whole setup handled, we love efficiency π₯-s,--startβ tellsx-on-resizeto run any defined scripts at startup time in addition to when the specified conditions occur. so she's not just reacting, she's also showing up early like the overachiever she is π
π SEE ALSO π
go read those too, iykyk π
π AUTHORS π
Keith Packard, Open Source Technology Center, Intel Corporation. absolute legend, no cap π«‘
okay that's the whole page bestie, mwah π this was X-ON-RESIZE(1) from the General Commands Manual β go forth and reconfigure your displays, you got this π§β¨
π¦ where this page comes from
- ubuntu resolute: x-on-resize 0.3-1
- ubuntu stonking: x-on-resize 0.3-1
- Copyright 2013 Keith Packard
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms