aboutsummaryrefslogtreecommitdiff
path: root/doc/fluxbox-keys.5.in
diff options
context:
space:
mode:
authorHenrik Kinnunen <fluxgen at fluxbox dot org>2011-02-19 16:11:09 (GMT)
committerHenrik Kinnunen <fluxgen at fluxbox dot org>2011-02-19 16:11:09 (GMT)
commit5dd0faed9b665c2c20b447c74fbf714a92ed8c31 (patch)
treeeca340d3dfb1e7552a586b9a0cc5ad644a4fbdee /doc/fluxbox-keys.5.in
parente186c9a48aadc719caf7683e03c84962f8292e1d (diff)
downloadfluxbox-5dd0faed9b665c2c20b447c74fbf714a92ed8c31.zip
fluxbox-5dd0faed9b665c2c20b447c74fbf714a92ed8c31.tar.bz2
updated documentation
Diffstat (limited to 'doc/fluxbox-keys.5.in')
-rw-r--r--doc/fluxbox-keys.5.in90
1 files changed, 77 insertions, 13 deletions
diff --git a/doc/fluxbox-keys.5.in b/doc/fluxbox-keys.5.in
index 2b29891..2190917 100644
--- a/doc/fluxbox-keys.5.in
+++ b/doc/fluxbox-keys.5.in
@@ -1,13 +1,22 @@
1'\" t 1'\" t
2.\" Title: fluxbox-keys 2.\" Title: fluxbox-keys
3.\" Author: [see the "AUTHORS" section] 3.\" Author: [see the "AUTHORS" section]
4.\" Generator: DocBook XSL Stylesheets v1.75.1 <http://docbook.sf.net/> 4.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
5.\" Date: 12/17/2009 5.\" Date: 02/19/2011
6.\" Manual: Fluxbox Manual 6.\" Manual: Fluxbox Manual
7.\" Source: fluxbox-keys.txt 7.\" Source: fluxbox-keys.txt
8.\" Language: English 8.\" Language: English
9.\" 9.\"
10.TH "FLUXBOX\-KEYS" "5" "12/17/2009" "fluxbox\-keys\&.txt" "Fluxbox Manual" 10.TH "FLUXBOX\-KEYS" "5" "02/19/2011" "fluxbox\-keys\&.txt" "Fluxbox Manual"
11.\" -----------------------------------------------------------------
12.\" * Define some portability stuff
13.\" -----------------------------------------------------------------
14.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15.\" http://bugs.debian.org/507673
16.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18.ie \n(.g .ds Aq \(aq
19.el .ds Aq '
11.\" ----------------------------------------------------------------- 20.\" -----------------------------------------------------------------
12.\" * set default formatting 21.\" * set default formatting
13.\" ----------------------------------------------------------------- 22.\" -----------------------------------------------------------------
@@ -36,7 +45,7 @@ The keys file defines the keyboard shortcuts for \fIfluxbox(1)\fR\&.
36.sp 45.sp
37You can customize fluxbox\(cqs key handling through the ~/\&.fluxbox/keys file\&. The file consists of lines of the basic format: 46You can customize fluxbox\(cqs key handling through the ~/\&.fluxbox/keys file\&. The file consists of lines of the basic format:
38.sp 47.sp
39\fB[\fR\fB\fImodifiers\fR\fR\fB] \fR\fB\fIkey\fR\fR\fB :\fR\fB\fIcommand\fR\fR\fB [\fR\fB\fIarguments\fR\fR\fB \fR\fB\fI\&...\fR\fR\fB]\fR 48\fB[\fR\fB\fImodifiers\fR\fR\fB] \fR\fB\fIkey\fR\fR\fB :\*(Aqcommand\*(Aq [\fR\fB\fIarguments\fR\fR\fB \fR\fB\fI\&...\fR\fR\fB]\fR
40.sp 49.sp
41The space between the \fIkey\fR and the \fB:\fR before the \fIcommand\fR is mandatory\&. 50The space between the \fIkey\fR and the \fB:\fR before the \fIcommand\fR is mandatory\&.
42.sp 51.sp
@@ -141,11 +150,11 @@ Use caution with this event! For example, do NOT bind this to any action that ch
141.sp 150.sp
142Key bindings can be chained in a fashion similar to Emacs key bindings using the syntax: 151Key bindings can be chained in a fashion similar to Emacs key bindings using the syntax:
143.sp 152.sp
144\fImodifiers\-1\fR \fIkey\-1\fR \fImodifiers\-2\fR \fIkey\-2\fR :\fIcommand\fR [\fIarguments \&...\fR]* 153\fImodifiers\-1\fR \fIkey\-1\fR \fImodifiers\-2\fR \fIkey\-2\fR :\*(Aqcommand\*(Aq [\fIarguments \&...\fR]*
145.sp 154.sp
146To abort a chained command part\-way through typing it, press the <ESC> key\&. 155To abort a chained command part\-way through typing it, press the <ESC> key\&.
147.PP 156.PP
148\fBExample\ \&1.\ \&To Bind CTRL+C CTRL+X (Which means, press CTRL+C then CTRL+X) to quit fluxbox\fR 157\fBTo Bind CTRL+C CTRL+X (Which means, press CTRL+C then CTRL+X) to quit fluxbox\fR.
149.sp 158.sp
150.if n \{\ 159.if n \{\
151.RS 4 160.RS 4
@@ -156,11 +165,12 @@ Control c Control x :Quit
156.if n \{\ 165.if n \{\
157.RE 166.RE
158.\} 167.\}
168.sp
159.SH "KEYMODES" 169.SH "KEYMODES"
160.sp 170.sp
161A specific set of key mappings can be activated and de\-activated on\-the\-fly using what are called keymodes\&. The syntax to define a mapping in a keymode is: 171A specific set of key mappings can be activated and de\-activated on\-the\-fly using what are called keymodes\&. The syntax to define a mapping in a keymode is:
162.sp 172.sp
163\fB\fIkeymode\fR\fR\fB: \fR\fB\fImodifiers\fR\fR\fB \fR\fB\fIkey\fR\fR\fB :\fR\fB\fIcommand\fR\fR\fB [\fR\fB\fIarguments\fR\fR\fB \fR\fB\fI\&...\fR\fR\fB]\fR 173\fB\fIkeymode\fR\fR\fB: \fR\fB\fImodifiers\fR\fR\fB \fR\fB\fIkey\fR\fR\fB :\*(Aqcommand\*(Aq [\fR\fB\fIarguments\fR\fR\fB \fR\fB\fI\&...\fR\fR\fB]\fR
164.sp 174.sp
165Where \fIkeymode\fR is any alpha\-numeric string name\&. 175Where \fIkeymode\fR is any alpha\-numeric string name\&.
166.sp 176.sp
@@ -271,6 +281,11 @@ By default \fIcorner\fR is \fBBottomRight\fR, but may be overridden with one of:
271.RS 4 281.RS 4
272Start dragging to add this window to another\(cqs tabgroup\&. 282Start dragging to add this window to another\(cqs tabgroup\&.
273.RE 283.RE
284.PP
285\fBActivateTab\fR
286.RS 4
287Activates the tab underneath the mouse\&.
288.RE
274.SS "Window Commands" 289.SS "Window Commands"
275.sp 290.sp
276These commands ordinarily affect only the currently focused window\&. The \fBOnWindow\fR modifier and \fBForEach\fR command may affect the window that is used\&. 291These commands ordinarily affect only the currently focused window\&. The \fBOnWindow\fR modifier and \fBForEach\fR command may affect the window that is used\&.
@@ -498,6 +513,17 @@ Sends the current window to the next/previous display head\&. If you specify an
498greater than 513greater than
499\fB1\fR, it will move the window that many heads\&. If this takes the window beyond the total number of heads, it will wrap around to the beginning\&. 514\fB1\fR, it will move the window that many heads\&. If this takes the window beyond the total number of heads, it will wrap around to the beginning\&.
500.RE 515.RE
516.PP
517\fBSetXProp\fR \fIPROP=value\fR
518.RS 4
519Sets the xproperty
520\fIPROP\fR
521of the current window to
522\fIvalue\fR\&. Delete the content of
523\fIPROP\fR
524by using
525\fIPROP=\fR\&.
526.RE
501.SS "Workspace Commands" 527.SS "Workspace Commands"
502.sp 528.sp
503These commands affect the entire workspace (or "desktop" as it is sometimes called)\&. 529These commands affect the entire workspace (or "desktop" as it is sometimes called)\&.
@@ -594,9 +620,13 @@ arguments\&.
594Focus to the next window which is located in the direction specified\&. 620Focus to the next window which is located in the direction specified\&.
595.RE 621.RE
596.PP 622.PP
597\fBArrangeWindows\fR \fIpattern\fR 623\fBArrangeWindows\fR \fIpattern\fR / \fBArrangeWindowsVertical\fR \fIpattern\fR / \fBArrangeWindowsHorizontal\fR \fIpattern\fR
598.RS 4 624.RS 4
599Tries to arrange all windows on the current workspace so that they overlap the least amount possible\&. See 625Tries to arrange all windows on the current workspace so that they overlap the least amount possible\&.
626\fBArrangeWindowsVertical\fR
627prefers vertical splits (windows side by side), whereas
628\fBArrangeWindowsHorizontal\fR
629prefers horizontal splits (windows on top of eachother)\&. See
600\fBCLIENT PATTERNS\fR 630\fBCLIENT PATTERNS\fR
601for more about the 631for more about the
602\fIpattern\fR 632\fIpattern\fR
@@ -1077,9 +1107,27 @@ The string name of the window\(cqs layer, which is one of
1077\fBBottom\fR, 1107\fBBottom\fR,
1078\fBDesktop\fR 1108\fBDesktop\fR
1079.RE 1109.RE
1110.PP
1111\fBScreen\fR
1112.RS 4
1113The number of the currently used
1114\fIscreen\fR\&. If the setup of the running xserver involves independant screens (\fInot Xinerama\fR), the $DISPLAY environment contains something like
1115\fI:0\&.1\fR
1116or
1117\fI:1\&.0\fR\&. The part after the dot (\fI\&.\fR) is the number of the screen\&.
1080.RE 1118.RE
1081.PP 1119.PP
1082\fBExample\ \&2.\ \&Matches any windows with the CLASSNAME of "xterm"\fR 1120\fB@XPROP\fR
1121.RS 4
1122A string, corresponding to any xproperty (Use either the
1123\fBxprop(1)\fR
1124utility or the
1125\fISetXProp\fR
1126command to set a xproperty to a window)
1127.RE
1128.RE
1129.PP
1130\fBMatches any windows with the CLASSNAME of "xterm"\fR.
1083.sp 1131.sp
1084.if n \{\ 1132.if n \{\
1085.RS 4 1133.RS 4
@@ -1091,7 +1139,7 @@ The string name of the window\(cqs layer, which is one of
1091.RE 1139.RE
1092.\} 1140.\}
1093.PP 1141.PP
1094\fBExample\ \&3.\ \&Matches any windows with the same CLASSNAME as the currently focused window\fR 1142\fBMatches any windows with the same CLASSNAME as the currently focused window\fR.
1095.sp 1143.sp
1096.if n \{\ 1144.if n \{\
1097.RS 4 1145.RS 4
@@ -1103,7 +1151,7 @@ The string name of the window\(cqs layer, which is one of
1103.RE 1151.RE
1104.\} 1152.\}
1105.PP 1153.PP
1106\fBExample\ \&4.\ \&Matches any windows on the same head as the mouse but on a different layer than the currently focused window\fR 1154\fBMatches any windows on the same head as the mouse but on a different layer than the currently focused window\fR.
1107.sp 1155.sp
1108.if n \{\ 1156.if n \{\
1109.RS 4 1157.RS 4
@@ -1114,6 +1162,19 @@ The string name of the window\(cqs layer, which is one of
1114.if n \{\ 1162.if n \{\
1115.RE 1163.RE
1116.\} 1164.\}
1165.PP
1166\fBMatches any windows having a xproperty named FOO with "bar" in it\fR.
1167.sp
1168.if n \{\
1169.RS 4
1170.\}
1171.nf
1172(@FOO=\&.*bar\&.*)
1173.fi
1174.if n \{\
1175.RE
1176.\}
1177.sp
1117.SH "FILES" 1178.SH "FILES"
1118.PP 1179.PP
1119\fB\e~/\&.fluxbox/keys\fR 1180\fB\e~/\&.fluxbox/keys\fR
@@ -1167,7 +1228,10 @@ OnWindow Mod4 Mouse1 :StartMoving
1167Mod4 t :If {Some Matches (xterm)} {NextWindow (xterm)} {Exec xterm} 1228Mod4 t :If {Some Matches (xterm)} {NextWindow (xterm)} {Exec xterm}
1168 1229
1169# Set a different wallpaper on every workspace: 1230# Set a different wallpaper on every workspace:
1170ChangeWorkspace :Exec fbsetbg ~/\&.fluxbox/bg$(xprop \-root _NET_CURRENT_DESKTOP | awk \'{print $3}\')\&.png 1231ChangeWorkspace :Exec fbsetbg ~/\&.fluxbox/bg$(xprop \-root _NET_CURRENT_DESKTOP | awk \*(Aq{print $3}\*(Aq)\&.png
1232
1233# Focusses the next window with it\*(Aqs xproperty \*(AqPROP\*(Aq set to \*(Aqfoo\*(Aq
1234Mod4 p Mod4 Tab :NextWindow (@PROP=foo)
1171.fi 1235.fi
1172.if n \{\ 1236.if n \{\
1173.RE 1237.RE