WMANAGER-LOOP(1)
π wmanager-loop(1) β the group chat manual π
okay bestie, sit down, hydrate, because we're talking about wmanager-loop, a lil General Commands Manual situation and honestly? it's giving "infinite loop but make it fashion" π
β¨ NAME β¨
wmanager-loop β loop running window managers chosen with wmanager
π SYNOPSIS π
wmanager-loop [OPTIONS ...]
π¦ DESCRIPTION π¦
so like. the wmanager-loop program starts either the window manager you told it about with the WM variable, or the very first window manager listed in ~/.wmanagerrc (or, if there's literally nothing there, an X terminal emulator). then when that thing exits, it runs wmanager(1) to ask the user for the next window manager. and it justβ¦ keeps doing that? on loop? until the user picks βExit this sessionβ in wmanager(1). periodt, that's the whole bit. π
also: any options you hand to wmanager-loop get passed straight on to wmanager(1). no secrets, no gatekeeping.
if the WM environment variable is set, wmanager-loop tries to interpret it as a window manager specification, and it checks these in this exact order:
- a full path to an executable file to run as the window manager;
- the name of a window manager listed in the
/.wmanagerrcfile; e.g. βfluxboxβ would match the following line:
fluxbox=/usr/bin/startfluxbox
- the program name of a window manager listed in the
/.wmanagerrcfile; e.g. βstartfluxboxβ would match the above example. - the start of such a program name; e.g. βstartβ would match the above example.
- the end of such a program name; e.g. βboxβ would match the above example.
lowkey important: ifWMis set and there is more than one line in~/.wmanagerrcthat matches the specification,wmanager-loopwill exit with an error message. not ambiguous, not vibes-based, it just bails. π
like we said up top, if no window manager is specified in the WM environment variable or found in the ~/.wmanagerrc file, wmanager-loop attempts to start an X terminal emulator. if the WMTERM environment variable is set, it uses that as the path to the emulator. otherwise it searches the user's path for a program named βx-terminal-emulatorβ, βurxvtβ, βrxvtβ, or βxtermβ β in that order β and starts the first one it finds, using its full path. and if none of the common terminal emulators on that list shows up? it just runs βxtermβ and hopes something comes up on the user's display. manifesting, honestly. πβ¨
πΈ ENVIRONMENT πΈ
wmanager-loop uses these environment variables, bestie, take notes π:
WMβ the name, path, or partial path to the first window manager to execute.WMTERMβ the name of the X terminal emulator to execute if no window manager could be found in the~/.wmanagerrcfile. if it's not specified,wmanager-loopsearches the user's path as described above.
π EXAMPLE π
to start using wmanager-loop, create a ~/.wmanagerrc file β generally with wmanagerrc-update(1) β and add something like the following at the end of your ~/.xsession file:
exec wmanager-loop -geometry +570+585
and that's it, you're slaying. π«Ά
π SEE ALSO π
wmanager(1), wmanagerrc-update(1)
π HISTORY π
the wmanager-loop program was written by Tommi Virtanen in 2000 and later modified by Peter Pentchev. this manual page was originally written in perldoc format by Tommi Virtanen in 2000, and converted to mdoc format and updated by Peter Pentchev in 2008. we love a documented glow-up. β
π AUTHORS π
- Tommi Virtanen β¨tv@debian.orgβ©
- Peter Pentchev β¨roam@ringlet.netβ©
and that's a wrap on this Debian edition, dated September 8, 2009 β shoutout to the wmanager-loop(1) girlies, ily, go touch grass after you exit your session πβ¨ππ¦
π¦ where this page comes from
- debian bookworm: wmanager 0.3.1-1 Β· GPL-2.0-or-later
- debian trixie: wmanager 0.3.1-3 Β· GPL-2.0-or-later
- ubuntu jammy: wmanager 0.3.0-2ubuntu1 Β· GPL-2.0-or-later
- ubuntu noble: wmanager 0.3.1-2build2 Β· GPL-2.0-or-later
- ubuntu questing: wmanager 0.3.1-3
- ubuntu resolute: wmanager 0.3.1-3build1 Β· GPL-2.0-or-later
- ubuntu stonking: wmanager 0.3.1-4 Β· GPL-2.0-or-later
- Copyright (C) 2000 Tommi Virtanen <tv@debian.org>
- Copyright (C) 2008, 2009 Peter Pentchev <roam@ringlet.net>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms