ryudo/ryudo.1

207 lines
9.7 KiB
Groff
Raw Normal View History

.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "RYUDO" "1" "September 2024" "" ""
2021-06-20 01:02:57 +00:00
.
.SH "NAME"
\fBryudo\fR \- The floatiling window manager that flows
.
.SH "SYNOPSIS"
\fBryudo\fR [ \-font FONTNAME ] [ \-term TERMPROG ] [ \-virtuals NUMVIRTS ] [ \-ffm ] [ \-version ] [ exit | restart ]
.
.SH "DESCRIPTION"
Ryudo is a window manager for X which is a fork of \fBrio\fR from \fBplan9port\fR by Russ Cox, which is itself a fork of David Hogan\'s \fB9wm\fR\. Ryudo aims to be a more dynamic and configurable window manager while keeping most of the behavior of Rio\.
.
.P
The \fB\-font\fR option sets the font in ryudo\'s menu to FONTNAME, overriding the default/fallback list in the \fBconfig\.h\fR\. As in rio, this is an X11 font, not a Plan 9 font\.
.
.P
The \fB\-term\fR option sets the default terminal emulator, overriding the builtin defaults of \fBurxvt\fR, \fB9term\fR, and \fBxterm\fR\.
.
.P
The \fB\-virtuals\fR option sets the number of virtual desktops (an integer from 1 to 12)\. The default, and their names, is set in the \fBconfig\.h\fR\.
.
.P
The \fB\-ffm\fR option sets the focus model to "focus\-follows\-mouse", instead of "click\-to\-focus"\.
.
.P
The \fB\-version\fR option prints the current version to \fBstderr\fR and then exits\.
.
.P
If either \fBexit\fR or \fBrestart\fR is given, the appropriate message is sent to an already\-running \fBryudo\fR instance to execute the named action\.
.
.SH "BUILDING AND INSTALLATION"
2021-11-11 19:02:42 +00:00
Run the provided \fBbuild\.sh\fR and \fBinstall\.sh\fR scripts to build and install \fBryudo\fR\. If run as root, they will install the program and manual pages to the PLAN9 installation path and install the \fBstartryudo\fR session wrapper to \fB/usr/bin/\fR and a \fB\.desktop\fR file to \fB/usr/share/xsessions/\fR If run as a regular user, they will install the program to \fB~/bin/9/\fR and not install the manual pages, wrapper, or \fB\.desktop\fR file\.
2021-06-20 01:02:57 +00:00
.
.P
Running and building require the following:
.
.IP "\(bu" 4
a full \fBplan9port\fR installation
.
.IP "\(bu" 4
\fBlibX11\fR and development headers
.
.IP "\(bu" 4
\fBlibXT\fR and development headers
.
.IP "\(bu" 4
\fBlibXrandr\fR and development headers
.
.IP "\(bu" 4
\fBlibnotify\fR and development headers
.
.IP "" 0
2021-06-20 01:02:57 +00:00
.
2021-11-11 19:02:42 +00:00
.SH "CONFIGURATION"
Many configuration options have been enabled as compile\-time options configured in the \fBconfig\.h\fR configuration file\. The \fBconfig\.def\.h\fR file shipped with the source code documents all of the options and contains what I hope are sane defaults\. If \fBconfig\.h\fR does not exist in the source directory, it will be copied from \fBconfig\.def\.h\fR on build\. After changing the configuration file, it is necessary to run the \fBbuild\.sh\fR and/or \fBinstall\.sh\fR script again and restart the program\.
.
.P
Session autostart programs can be placed in \fB~/\.ryudorc\fR, and command line arguments to \fBryudo\fR can be placed in \fB~/\.ryudo\.conf\fR \-\- these are sourced by \fBstartryudo\fR\.
.
2021-06-20 01:02:57 +00:00
.SH "USAGE"
Right\-clicking on the desktop or an inactive window opens a menu with the following options (not all enabled by default):
.
.IP "\(bu" 4
\fBNew\fR: 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 \fB\-term\fR runtime option or the first of whichever of \fBurxvt\fR, \fB9term\fR, or \fBxterm\fR is installed\.
.
.IP "\(bu" 4
\fBReshape\fR: 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 \fBNew\fR operation\. The changed window is made active\.
.
.IP "\(bu" 4
\fBMove\fR: 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\.
.
.IP "\(bu" 4
\fBMaximize\fR: Not enabled by default\. Click mouse button 3 on the window to maximize, and it will fill the entire screen and be made active\.
.
.IP "\(bu" 4
\fBStick\fR: 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\.
.
.IP "\(bu" 4
\fBDelete\fR: Closes a window\. Click the window to close with mouse button 3\. \fBSIGHUP\fR (hangup signal) is sent to all processes in the window\'s process group\.
.
.IP "\(bu" 4
\fBHide\fR: 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\.
.
.IP "\(bu" 4
\fBLABEL\fR: Select any label after the \fBHide\fR option to restore the window it represents to the current virtual desktop\.
2021-06-20 01:02:57 +00:00
.
.IP "" 0
.
.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
Mouse button 2 on the desktop or an inactive window opens the virtual desktop list\.
.
.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
Alt\-Tab cycles focus through all windows on the current desktop\.
.
.P
Multimonitor support via \fBXrandr(3)\fR is supported; keybinds should properly interpret the monitor the current window occupies (for \fBTile\-\fR, \fBMaximize\fR, etc) or the monitor the cursor is on (\fBLaunch\fR)
.
.P
2021-06-20 01:02:57 +00:00
The following operations are bindable to key combinations (shown are the default bindings):
.
.IP "\(bu" 4
\fBLaunch\fR (Super + /): Open a new terminal in the center of the screen and make it active\.
.
.IP "\(bu" 4
\fBSwitch\fR (Alt + Tab): Switch focus to the next window (on this monitor)
.
.IP "\(bu" 4
\fBSwitch\-to\-monitor\fR (Alt + Shift + Tab): Switch focus to a window on the next monitor
.
.IP "\(bu" 4
2021-06-20 01:02:57 +00:00
\fBReshape\fR (Super + R): Initiate a reshape operation as if the \fBReshape\fR option was selected in the menu and the currently active window selected for the operation\.
.
.IP "\(bu" 4
\fBMove\fR (Super + V): Initiate a move operation as if the \fBMove\fR option was selected from the menu and the currently active window selected for the operation\.
.
.IP "\(bu" 4
\fBMaximize\fR (Super + M): Maximize the currently active window\.
.
.IP "\(bu" 4
\fBHide\fR (Super + I): Minimize the currently active window\.
.
.IP "\(bu" 4
\fBUnhide\fR (Super + U): Restore the most recently minimized window\.
.
.IP "\(bu" 4
\fBDelete\fR (Super + D): Close the currently active window\.
.
.IP "\(bu" 4
\fBStick\fR (Super + S): Toggle stickiness of the currently active window\.
.
.IP "\(bu" 4
\fBWrangle\fR (Super + A): Wrangle the currently active window to the next monitor (keeps it active)\.
.
.IP "\(bu" 4
2021-06-20 01:02:57 +00:00
\fBZoom\fR (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\.
.
.IP "\(bu" 4
\fBTile Left\fR (Super + H): Tile the currently active window to fill the left half of the screen\.
.
.IP "\(bu" 4
\fBTile Right\fR (Super + L): Tile the currently active window to fill the right half of the screen\.
.
.IP "\(bu" 4
\fBTile Top\fR (Super + K): Tile the currently active window to fill the top half of the screen\.
.
.IP "\(bu" 4
\fBTile Bottom\fR (Super + J): Tile the currently active window to fill the bottom half of the screen\.
.
.IP "\(bu" 4
\fBTile Top\-Left\fR (Super + Q): Tile the currently active window to fill the top\-left quarter of the screen\.
.
.IP "\(bu" 4
\fBTile Bottom\-Left\fR (Super + W): Tile the currently active window to fill the bottom\-left quarter of the screen\.
.
.IP "\(bu" 4
\fBTile Bottom\-Right\fR (Super + O): Tile the currently active window to fill the bottom\-right quarter of the screen\.
.
.IP "\(bu" 4
\fBTile Top\-Right\fR (Super + P): Tile the currently active window to fill the top\-right quarter of the screen\.
.
.IP "\(bu" 4
\fBCenter\fR (Super + C): Center the currently active window (primary geometry preference)\.
.
.IP "\(bu" 4
\fBCenter/Alternate\fR (Super + Shift + C): Center the currently active window (alternate geometry preference)\.
.
.IP "" 0
.
.SH "BUGS AND CAVEATS"
Click events don\'t pass through when clicking to activate a window\.
.
.P
Clicking mouse button 2/3 on an inactive window brings up the Button 2/3 Menu instead of focusing the window\. I personally sometimes find this behavior useful\.
.
.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\. If the program expects to run at the current screen resolution, the window\-wrangling heuristics should maximize it and you\'ll be golden\. If the window is in override\-redirect mode, it should just run fullscreen without a hitch\.
.
.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
While there is naitive support for per\-window opacity via the \fBOPACITY\fR and \fBTRANSPARENTLIST\fR configuration macros, there is no support for per\-pixel opacity\. Programs that expect this behavior will render all pixels at the same opacity (unless using the \fBXSHAPE\fR extension for boolean opacity per\-pixel (eg, \fBxeyes\fR), which works\.)
.
2021-06-20 01:02:57 +00:00
.SH "AUTHORS"
.
.IP "\(bu" 4
Iris Lightshard \fInilix@nilfm\.cc\fR
2021-06-20 01:02:57 +00:00
.
.IP "\(bu" 4
Russ Cox \fIrsc@swtch\.com\fR
.
.IP "\(bu" 4
David Hogan, RIP
.
.IP "" 0
.
.SH "SEE ALSO"
rio(1), 9term(1), xrandr(1), Xrandr(3)