195 lines
13 KiB
HTML
195 lines
13 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv='content-type' value='text/html;charset=utf8'>
|
|
<meta name='generator' value='Ronn/v0.7.3 (http://github.com/rtomayko/ronn/tree/0.7.3)'>
|
|
<title>ryudo(1) - The floatiling window manager that flows</title>
|
|
<style type='text/css' media='all'>
|
|
/* style: man */
|
|
body#manpage {margin:0}
|
|
.mp {max-width:100ex;padding:0 9ex 1ex 4ex}
|
|
.mp p,.mp pre,.mp ul,.mp ol,.mp dl {margin:0 0 20px 0}
|
|
.mp h2 {margin:10px 0 0 0}
|
|
.mp > p,.mp > pre,.mp > ul,.mp > ol,.mp > dl {margin-left:8ex}
|
|
.mp h3 {margin:0 0 0 4ex}
|
|
.mp dt {margin:0;clear:left}
|
|
.mp dt.flush {float:left;width:8ex}
|
|
.mp dd {margin:0 0 0 9ex}
|
|
.mp h1,.mp h2,.mp h3,.mp h4 {clear:left}
|
|
.mp pre {margin-bottom:20px}
|
|
.mp pre+h2,.mp pre+h3 {margin-top:22px}
|
|
.mp h2+pre,.mp h3+pre {margin-top:5px}
|
|
.mp img {display:block;margin:auto}
|
|
.mp h1.man-title {display:none}
|
|
.mp,.mp code,.mp pre,.mp tt,.mp kbd,.mp samp,.mp h3,.mp h4 {font-family:monospace;font-size:14px;line-height:1.42857142857143}
|
|
.mp h2 {font-size:16px;line-height:1.25}
|
|
.mp h1 {font-size:20px;line-height:2}
|
|
.mp {text-align:justify;background:#fff}
|
|
.mp,.mp code,.mp pre,.mp pre code,.mp tt,.mp kbd,.mp samp {color:#131211}
|
|
.mp h1,.mp h2,.mp h3,.mp h4 {color:#030201}
|
|
.mp u {text-decoration:underline}
|
|
.mp code,.mp strong,.mp b {font-weight:bold;color:#131211}
|
|
.mp em,.mp var {font-style:italic;color:#232221;text-decoration:none}
|
|
.mp a,.mp a:link,.mp a:hover,.mp a code,.mp a pre,.mp a tt,.mp a kbd,.mp a samp {color:#0000ff}
|
|
.mp b.man-ref {font-weight:normal;color:#434241}
|
|
.mp pre {padding:0 4ex}
|
|
.mp pre code {font-weight:normal;color:#434241}
|
|
.mp h2+pre,h3+pre {padding-left:0}
|
|
ol.man-decor,ol.man-decor li {margin:3px 0 10px 0;padding:0;float:left;width:33%;list-style-type:none;text-transform:uppercase;color:#999;letter-spacing:1px}
|
|
ol.man-decor {width:100%}
|
|
ol.man-decor li.tl {text-align:left}
|
|
ol.man-decor li.tc {text-align:center;letter-spacing:4px}
|
|
ol.man-decor li.tr {text-align:right;float:right}
|
|
</style>
|
|
</head>
|
|
<!--
|
|
The following styles are deprecated and will be removed at some point:
|
|
div#man, div#man ol.man, div#man ol.head, div#man ol.man.
|
|
|
|
The .man-page, .man-decor, .man-head, .man-foot, .man-title, and
|
|
.man-navigation should be used instead.
|
|
-->
|
|
<body id='manpage'>
|
|
<div class='mp' id='man'>
|
|
|
|
<div class='man-navigation' style='display:none'>
|
|
<a href="#NAME">NAME</a>
|
|
<a href="#SYNOPSIS">SYNOPSIS</a>
|
|
<a href="#DESCRIPTION">DESCRIPTION</a>
|
|
<a href="#BUILDING-AND-INSTALLATION">BUILDING AND INSTALLATION</a>
|
|
<a href="#CONFIGURATION">CONFIGURATION</a>
|
|
<a href="#USAGE">USAGE</a>
|
|
<a href="#BUGS-AND-CAVEATS">BUGS AND CAVEATS</a>
|
|
<a href="#AUTHORS">AUTHORS</a>
|
|
<a href="#SEE-ALSO">SEE ALSO</a>
|
|
</div>
|
|
|
|
<ol class='man-decor man-head man head'>
|
|
<li class='tl'>ryudo(1)</li>
|
|
<li class='tc'></li>
|
|
<li class='tr'>ryudo(1)</li>
|
|
</ol>
|
|
|
|
<h2 id="NAME">NAME</h2>
|
|
<p class="man-name">
|
|
<code>ryudo</code> - <span class="man-whatis">The floatiling window manager that flows</span>
|
|
</p>
|
|
|
|
<h2 id="SYNOPSIS">SYNOPSIS</h2>
|
|
|
|
<p><code>ryudo</code> [ -font FONTNAME ] [ -term TERMPROG ] [ -virtuals NUMVIRTS ] [ -ffm ] [ -version ] [ exit | restart ]</p>
|
|
|
|
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
|
|
|
<p>Ryudo is a window manager for X which is a fork of <code>rio</code> from <code>plan9port</code> by Russ Cox, which is itself a fork of David Hogan's <code>9wm</code>. Ryudo aims to be a more dynamic and configurable window manager while keeping most of the behavior of Rio.</p>
|
|
|
|
<p>The <code>-font</code> option sets the font in ryudo's menu to FONTNAME, overriding the default/fallback list in the <code>config.h</code>. As in rio, this is an X11 font, not a Plan 9 font.</p>
|
|
|
|
<p>The <code>-term</code> option sets the default terminal emulator, overriding the builtin defaults of <code>urxvt</code>, <code>9term</code>, and <code>xterm</code>.</p>
|
|
|
|
<p>The <code>-virtuals</code> option sets the number of virtual desktops (an integer from 1 to 12). The default, and their names, is set in the <code>config.h</code>.</p>
|
|
|
|
<p>The <code>-ffm</code> option sets the focus model to "focus-follows-mouse", instead of "click-to-focus".</p>
|
|
|
|
<p>The <code>-version</code> option prints the current version to <code>stderr</code> and then exits.</p>
|
|
|
|
<p>If either <code>exit</code> or <code>restart</code> is given, the appropriate message is sent to an already-running <code>ryudo</code> instance to execute the named action.</p>
|
|
|
|
<h2 id="BUILDING-AND-INSTALLATION">BUILDING AND INSTALLATION</h2>
|
|
|
|
<p>Run the provided <code>build.sh</code> and <code>install.sh</code> scripts to build and install <code>ryudo</code>. If run as root, they will install the program and manual pages to the PLAN9 installation path and install the <code>startryudo</code> session wrapper to <code>/usr/bin/</code> and a <code>.desktop</code> file to <code>/usr/share/xsessions/</code> If run as a regular user, they will install the program to <code>~/bin/9/</code> and not install the manual pages, wrapper, or <code>.desktop</code> file.</p>
|
|
|
|
<p>Building requires <code>plan9port</code> and the <code>libX11</code> and <code>libXT</code> headers. Optionally, <code>libnotify</code> is used to show notifications when switching virtual desktops.</p>
|
|
|
|
<h2 id="CONFIGURATION">CONFIGURATION</h2>
|
|
|
|
<p>Many configuration options have been enabled as compile-time options configured in the <code>config.h</code> configuration file. The <code>config.def.h</code> file shipped with the source code documents all of the options and contains what I hope are sane defaults. If <code>config.h</code> does not exist in the source directory, it will be copied from <code>config.def.h</code> on build. After changing the configuration file, it is necessary to run the <code>build.sh</code> and/or <code>install.sh</code> script again and restart the program.</p>
|
|
|
|
<p>Session autostart programs can be placed in <code>~/.ryudorc</code>, and command line arguments to <code>ryudo</code> can be placed in <code>~/.ryudo.conf</code> -- these are sourced by <code>startryudo</code>.</p>
|
|
|
|
<h2 id="USAGE">USAGE</h2>
|
|
|
|
<p>Right-clicking on the desktop or an inactive window opens a menu with the following options (not all enabled by default):</p>
|
|
|
|
<ul>
|
|
<li><code>New</code>: Create a terminal window. Press mouse button 3 where one corner of the new window's area should start, hold it down, and drag the mouse to the opposite corner. Release the button to draw the window. The new window will be made active. The terminal program is either specified by the <code>-term</code> runtime option or the first of whichever of <code>urxvt</code>, <code>9term</code>, or <code>xterm</code> is installed.</li>
|
|
<li><code>Reshape</code>: Change the size and location of a window. Click mouse button 3 in the window to be changed, then sweep out the new window geometry as in the <code>New</code> operation. The changed window is made active.</li>
|
|
<li><code>Move</code>: Change the location of a window. Press and hold mouse button 3 on the window to be moved, and then drag the window to its new position. The window is made active.</li>
|
|
<li><code>Maximize</code>: Not enabled by default. Click mouse button 3 on the window to maximize, and it will fill the entire screen and be made active.</li>
|
|
<li><code>Stick</code>: Not enabled by default. Click mouse button 3 on a window to toggle its stickiness. If sticky, it will be present on all virtual desktops. If made unsticky, the window will be restricted to the current virtual desktop.</li>
|
|
<li><code>Delete</code>: Closes a window. Click the window to close with mouse button 3. <code>SIGHUP</code> (hangup signal) is sent to all processes in the window's process group.</li>
|
|
<li><code>Hide</code>: Minimize a window. Click the window with mouse button 3. It will be hidden and its label truncated and appended to the menu. There is a compiled-in limit of 128 hidden windows.</li>
|
|
<li><code>LABEL</code>: Select any label after the <code>Hide</code> option to restore it to the current virtual desktop.</li>
|
|
</ul>
|
|
|
|
|
|
<p>Windows may be arranged by dragging their borders. Mouse buttons 1 or 2 can be used to drag an individual side/corner of a window around, resizing it. Mouse button 3 can be used to move the whole window.</p>
|
|
|
|
<p>Mouse button 2 on the desktop or an inactive window opens the virtual desktop list.</p>
|
|
|
|
<p>Mouse button 1 focuses a window. The click is not transferred to the window (you can only interact with it once it has been made active).</p>
|
|
|
|
<p>Alt-Tab cycles focus through all windows on the current desktop.</p>
|
|
|
|
<p>The following operations are bindable to key combinations (shown are the default bindings):</p>
|
|
|
|
<ul>
|
|
<li><code>Launch</code> (Super + /): Open a new terminal in the center of the screen and make it active.</li>
|
|
<li><code>Reshape</code> (Super + R): Initiate a reshape operation as if the <code>Reshape</code> option was selected in the menu and the currently active window selected for the operation.</li>
|
|
<li><code>Move</code> (Super + V): Initiate a move operation as if the <code>Move</code> option was selected from the menu and the currently active window selected for the operation.</li>
|
|
<li><code>Maximize</code> (Super + M): Maximize the currently active window.</li>
|
|
<li><code>Hide</code> (Super + I): Minimize the currently active window.</li>
|
|
<li><code>Unhide</code> (Super + U): Restore the most recently minimized window.</li>
|
|
<li><code>Delete</code> (Super + D): Close the currently active window.</li>
|
|
<li><code>Stick</code> (Super + S): Toggle stickiness of the currently active window.</li>
|
|
<li><code>Zoom</code> (Super + Z): Toggle zoom mode. In zoom mode, the currently active window is maximized, new windows are opened maximized, and using Alt-Tab to switch to another window maximizes it.</li>
|
|
<li><code>Tile Left</code> (Super + H): Tile the currently active window to fill the left half of the screen.</li>
|
|
<li><code>Tile Right</code> (Super + L): Tile the currently active window to fill the right half of the screen.</li>
|
|
<li><code>Tile Top</code> (Super + K): Tile the currently active window to fill the top half of the screen.</li>
|
|
<li><code>Tile Bottom</code> (Super + J): Tile the currently active window to fill the bottom half of the screen.</li>
|
|
<li><code>Tile Top-Left</code> (Super + Q): Tile the currently active window to fill the top-left quarter of the screen.</li>
|
|
<li><code>Tile Bottom-Left</code> (Super + W): Tile the currently active window to fill the bottom-left quarter of the screen.</li>
|
|
<li><code>Tile Bottom-Right</code> (Super + O): Tile the currently active window to fill the bottom-right quarter of the screen.</li>
|
|
<li><code>Tile Top-Right</code> (Super + P): Tile the currently active window to fill the top-right quarter of the screen.</li>
|
|
<li><code>Center</code> (Super + C): Center the currently active window (primary geometry preference).</li>
|
|
<li><code>Center/Alternate</code> (Super + Shift + C): Center the currently active window (alternate geometry preference).</li>
|
|
</ul>
|
|
|
|
|
|
<h2 id="BUGS-AND-CAVEATS">BUGS AND CAVEATS</h2>
|
|
|
|
<p>Multimonitor output is not currently supported -- the whole "screen" (collection of active monitors) is treated as one monitor, and keybinds and automatic window placement will not work properly.</p>
|
|
|
|
<p>Click events don't pass through when clicking to activate a window.</p>
|
|
|
|
<p>Clicking mouse button 3 on an inactive window brings up the Button 3 Menu instead of focusing the window. I personally sometimes find this behavior useful.</p>
|
|
|
|
<p>Programs that expect to run fullscreen will probably just open in a window the size of whatever resolution they expect to run at. Depending on the implementation, they may respond well to being maximized or you may have to change your screen resolution manually before doing so.</p>
|
|
|
|
<p>Fullscreen Virtualbox VM windows are a strange outlier and start with their graphics offset. Maximize the window after opening and it should be good.</p>
|
|
|
|
<p>There is no native support for compositing, but included is a shell script (<code>transsetter.sh</code>) which I use for translucent terminal and editor windows. It works well and is decently lightweight.</p>
|
|
|
|
<h2 id="AUTHORS">AUTHORS</h2>
|
|
|
|
<ul>
|
|
<li>Derek Stevens <a href="mailto:nilix@nilfm.cc" data-bare-link="true">nilix@nilfm.cc</a></li>
|
|
<li>Russ Cox <a href="mailto:rsc@swtch.com" data-bare-link="true">rsc@swtch.com</a></li>
|
|
<li>David Hogan, RIP</li>
|
|
</ul>
|
|
|
|
|
|
<h2 id="SEE-ALSO">SEE ALSO</h2>
|
|
|
|
<p><span class="man-ref">rio<span class="s">(1)</span></span>, <span class="man-ref">9term<span class="s">(1)</span></span></p>
|
|
|
|
|
|
<ol class='man-decor man-foot man foot'>
|
|
<li class='tl'></li>
|
|
<li class='tc'>November 2021</li>
|
|
<li class='tr'>ryudo(1)</li>
|
|
</ol>
|
|
|
|
</div>
|
|
</body>
|
|
</html>
|