aboutsummaryrefslogtreecommitdiff
path: root/doc/fluxbox-apps.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-apps.5.in
parente186c9a48aadc719caf7683e03c84962f8292e1d (diff)
downloadfluxbox_pavel-5dd0faed9b665c2c20b447c74fbf714a92ed8c31.zip
fluxbox_pavel-5dd0faed9b665c2c20b447c74fbf714a92ed8c31.tar.bz2
updated documentation
Diffstat (limited to 'doc/fluxbox-apps.5.in')
-rw-r--r--doc/fluxbox-apps.5.in255
1 files changed, 64 insertions, 191 deletions
diff --git a/doc/fluxbox-apps.5.in b/doc/fluxbox-apps.5.in
index 03f7fdc..cf57ba6 100644
--- a/doc/fluxbox-apps.5.in
+++ b/doc/fluxbox-apps.5.in
@@ -1,161 +1,22 @@
1'\" t
1.\" Title: fluxbox-apps 2.\" Title: fluxbox-apps
2.\" Author: [see the "AUTHORS" section] 3.\" Author: [see the "AUTHORS" section]
3.\" Generator: DocBook XSL Stylesheets v1.74.0 <http://docbook.sf.net/> 4.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
4.\" Date: 02/19/2009 5.\" Date: 02/19/2011
5.\" Manual: Fluxbox Manual 6.\" Manual: Fluxbox Manual
6.\" Source: fluxbox-apps.txt 1.1.2 7.\" Source: fluxbox-apps.txt
7.\" Language: English 8.\" Language: English
8.\" 9.\"
9.TH "FLUXBOX\-APPS" "5" "02/19/2009" "fluxbox\-apps\&.txt 1\&.1\&.2" "Fluxbox Manual" 10.TH "FLUXBOX\-APPS" "5" "02/19/2011" "fluxbox\-apps\&.txt" "Fluxbox Manual"
10.\" ----------------------------------------------------------------- 11.\" -----------------------------------------------------------------
11.\" * (re)Define some macros 12.\" * Define some portability stuff
12.\" ----------------------------------------------------------------- 13.\" -----------------------------------------------------------------
13.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
14.\" toupper - uppercase a string (locale-aware) 15.\" http://bugs.debian.org/507673
16.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
15.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
16.de toupper 18.ie \n(.g .ds Aq \(aq
17.tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ 19.el .ds Aq '
18\\$*
19.tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz
20..
21.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
22.\" SH-xref - format a cross-reference to an SH section
23.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
24.de SH-xref
25.ie n \{\
26.\}
27.toupper \\$*
28.el \{\
29\\$*
30.\}
31..
32.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33.\" SH - level-one heading that works better for non-TTY output
34.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
35.de1 SH
36.\" put an extra blank line of space above the head in non-TTY output
37.if t \{\
38.sp 1
39.\}
40.sp \\n[PD]u
41.nr an-level 1
42.set-an-margin
43.nr an-prevailing-indent \\n[IN]
44.fi
45.in \\n[an-margin]u
46.ti 0
47.HTML-TAG ".NH \\n[an-level]"
48.it 1 an-trap
49.nr an-no-space-flag 1
50.nr an-break-flag 1
51\." make the size of the head bigger
52.ps +3
53.ft B
54.ne (2v + 1u)
55.ie n \{\
56.\" if n (TTY output), use uppercase
57.toupper \\$*
58.\}
59.el \{\
60.nr an-break-flag 0
61.\" if not n (not TTY), use normal case (not uppercase)
62\\$1
63.in \\n[an-margin]u
64.ti 0
65.\" if not n (not TTY), put a border/line under subheading
66.sp -.6
67\l'\n(.lu'
68.\}
69..
70.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
71.\" SS - level-two heading that works better for non-TTY output
72.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73.de1 SS
74.sp \\n[PD]u
75.nr an-level 1
76.set-an-margin
77.nr an-prevailing-indent \\n[IN]
78.fi
79.in \\n[IN]u
80.ti \\n[SN]u
81.it 1 an-trap
82.nr an-no-space-flag 1
83.nr an-break-flag 1
84.ps \\n[PS-SS]u
85\." make the size of the head bigger
86.ps +2
87.ft B
88.ne (2v + 1u)
89.if \\n[.$] \&\\$*
90..
91.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
92.\" BB/BE - put background/screen (filled box) around block of text
93.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
94.de BB
95.if t \{\
96.sp -.5
97.br
98.in +2n
99.ll -2n
100.gcolor red
101.di BX
102.\}
103..
104.de EB
105.if t \{\
106.if "\\$2"adjust-for-leading-newline" \{\
107.sp -1
108.\}
109.br
110.di
111.in
112.ll
113.gcolor
114.nr BW \\n(.lu-\\n(.i
115.nr BH \\n(dn+.5v
116.ne \\n(BHu+.5v
117.ie "\\$2"adjust-for-leading-newline" \{\
118\M[\\$1]\h'1n'\v'+.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[]
119.\}
120.el \{\
121\M[\\$1]\h'1n'\v'-.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[]
122.\}
123.in 0
124.sp -.5v
125.nf
126.BX
127.in
128.sp .5v
129.fi
130.\}
131..
132.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
133.\" BM/EM - put colored marker in margin next to block of text
134.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135.de BM
136.if t \{\
137.br
138.ll -2n
139.gcolor red
140.di BX
141.\}
142..
143.de EM
144.if t \{\
145.br
146.di
147.ll
148.gcolor
149.nr BH \\n(dn
150.ne \\n(BHu
151\M[\\$1]\D'P -.75n 0 0 \\n(BHu -(\\n[.i]u - \\n(INu - .75n) 0 0 -\\n(BHu'\M[]
152.in 0
153.nf
154.BX
155.in
156.fi
157.\}
158..
159.\" ----------------------------------------------------------------- 20.\" -----------------------------------------------------------------
160.\" * set default formatting 21.\" * set default formatting
161.\" ----------------------------------------------------------------- 22.\" -----------------------------------------------------------------
@@ -166,9 +27,9 @@
166.\" ----------------------------------------------------------------- 27.\" -----------------------------------------------------------------
167.\" * MAIN CONTENT STARTS HERE * 28.\" * MAIN CONTENT STARTS HERE *
168.\" ----------------------------------------------------------------- 29.\" -----------------------------------------------------------------
169.SH "Name" 30.SH "NAME"
170fluxbox-apps \- per\-window attribute configuration for fluxbox(1) 31fluxbox-apps \- per\-window attribute configuration for fluxbox(1)
171.SH "Synopsis" 32.SH "SYNOPSIS"
172.sp 33.sp
173~/\&.fluxbox/apps 34~/\&.fluxbox/apps
174.SH "SYNTAX" 35.SH "SYNTAX"
@@ -178,9 +39,9 @@ Variable parameters are shown in emphasis: \fIargument\fR
178All other characters shown are required verbatim\&. Whitespce is only required to delimit words, but it is fine to add more whitespace\&. 39All other characters shown are required verbatim\&. Whitespce is only required to delimit words, but it is fine to add more whitespace\&.
179.SH "DESCRIPTION" 40.SH "DESCRIPTION"
180.sp 41.sp
181It is possible to force an application to always have the same dimensions, position, and other settings when it is first launched\&. These settings are saved in the `apps\' file\&. 42It is possible to force an application to always have the same dimensions, position, and other settings when it is first launched\&. These settings are saved in the \(oqapps\(cq file\&.
182.sp 43.sp
183Most simple settings can be saved using the \(lqRemember\&...\(rq submenu of the window menu, which can usually be opened with a right\-click on the titlebar\&. More advanced features require manually editing the `apps\' file\&. This may include using \fBGROUP SECTIONS\fR to set up automatic window tab groups\&. 44Most simple settings can be saved using the \(lqRemember\&...\(rq submenu of the window menu, which can usually be opened with a right\-click on the titlebar\&. More advanced features require manually editing the \(oqapps\(cq file\&. This may include using \fBGROUP SECTIONS\fR to set up automatic window tab groups\&.
184.sp 45.sp
185You do not need to \(lqreload\(rq fluxbox after editing the apps file, the changes should be rescanned when the next window is opened\&. 46You do not need to \(lqreload\(rq fluxbox after editing the apps file, the changes should be rescanned when the next window is opened\&.
186.sp 47.sp
@@ -189,7 +50,7 @@ The file is made up of two main types of sections, apps and groups, detailed bel
189.sp 50.sp
190\fB[app]\fR sections provide settings for individual application windows\&. 51\fB[app]\fR sections provide settings for individual application windows\&.
191.PP 52.PP
192These sections begin with a line of the format: 53These sections begin with a line of the format
193.RS 4 54.RS 4
194 55
195\fB[app]\fR 56\fB[app]\fR
@@ -203,7 +64,7 @@ The \fB{\fR\fIcount\fR\fB}\fR is optional\&. If specified, then the entry will o
203.sp 64.sp
204This opening \fB[apps]\fR line is followed by any number of settings for the application\&. See \fBSETTINGS\fR for more details\&. 65This opening \fB[apps]\fR line is followed by any number of settings for the application\&. See \fBSETTINGS\fR for more details\&.
205.PP 66.PP
206Each of these sections ends with the single line: 67Each of these sections ends with the single line
207.RS 4 68.RS 4
208 69
209\fB[end]\fR 70\fB[end]\fR
@@ -212,7 +73,7 @@ Each of these sections ends with the single line:
212.sp 73.sp
213The primary purpose of \fB[group]\fR sections is to group windows together\&. All windows in a group will be tabbed together automatically\&. 74The primary purpose of \fB[group]\fR sections is to group windows together\&. All windows in a group will be tabbed together automatically\&.
214.PP 75.PP
215These sections begin with a line of the format: 76These sections begin with a line of the format
216.RS 4 77.RS 4
217 78
218\fB[group]\fR 79\fB[group]\fR
@@ -223,7 +84,7 @@ Where the \fIpattern\fR item is optional\&. If specified, this pattern must matc
223.sp 84.sp
224This is followed by any number of \fB[app]\fR lines\&. These have a simiar format to the \fB[app]\fR section detailed above in \fBAPP SECTIONS\fR, but do not contain any settings and do not have an associated \fB[end]\fR line\&. 85This is followed by any number of \fB[app]\fR lines\&. These have a simiar format to the \fB[app]\fR section detailed above in \fBAPP SECTIONS\fR, but do not contain any settings and do not have an associated \fB[end]\fR line\&.
225.PP 86.PP
226Like this: 87Like this
227.RS 4 88.RS 4
228 89
229\fB[app]\fR 90\fB[app]\fR
@@ -232,16 +93,16 @@ Like this:
232.sp 93.sp
233This section may also contain settings that are applied to every window in the group\&. See the \fBSETTINGS\fR section for details\&. 94This section may also contain settings that are applied to every window in the group\&. See the \fBSETTINGS\fR section for details\&.
234.PP 95.PP
235As with \fB[app]\fR sections, each of these sections ends with the single line: 96As with \fB[app]\fR sections, each of these sections ends with the single line
236.RS 4 97.RS 4
237 98
238\fB[end]\fR 99\fB[end]\fR
239.RE 100.RE
240.SH "SETTINGS" 101.SH "SETTINGS"
241.sp 102.sp
242These settings may be stored in the `apps\' file\&. A settings line must appear inside either an \fB[app]\fR or \fB[group]\fR section\&. 103These settings may be stored in the \(oqapps\(cq file\&. A settings line must appear inside either an \fB[app]\fR or \fB[group]\fR section\&.
243.PP 104.PP
244The general format is: 105The general format is
245.RS 4 106.RS 4
246 107
247\fB[\fR\fIsetting\fR\fB]\fR 108\fB[\fR\fIsetting\fR\fB]\fR
@@ -345,6 +206,11 @@ Whether the window is Shaded (rolled\-up) or not\&.
345Whether the window has tabs enabled\&. 206Whether the window has tabs enabled\&.
346.RE 207.RE
347.PP 208.PP
209\fB[FocusNewWindow]\fR {\fIbool\fR}
210.RS 4
211If enabled, a new window will grab X focus as soon as it is opened\&. If disabled, a new window will not grab X focus as soon as it is opened\&.
212.RE
213.PP
348\fB[FocusHidden]\fR {\fIbool\fR} 214\fB[FocusHidden]\fR {\fIbool\fR}
349.RS 4 215.RS 4
350If enabled, the window will not appear in 216If enabled, the window will not appear in
@@ -422,7 +288,7 @@ is an integer between 0 and 255\&.
422.RE 288.RE
423.SH "CLIENT PATTERNS" 289.SH "CLIENT PATTERNS"
424.PP 290.PP
425A \fIpattern\fR looks like this: 291A \fIpattern\fR looks like this
426.RS 4 292.RS 4
427 293
428\fB(\fR[\fIpropertyname\fR[!]=]\fIregexp\fR\fB)\fR 294\fB(\fR[\fIpropertyname\fR[!]=]\fIregexp\fR\fB)\fR
@@ -437,7 +303,7 @@ If you specify multiple \fB(\fR\fB\fIpattern\fR\fR) arguments, this implies an A
437.sp 303.sp
438You can use \fB=\fR to test for equality or \fB!=\fR to test for inequality\&. 304You can use \fB=\fR to test for equality or \fB!=\fR to test for inequality\&.
439.PP 305.PP
440The following values are accepted for \fIpropertyname\fR: 306The following values are accepted for \fIpropertyname\fR
441.RS 4 307.RS 4
442.PP 308.PP
443\fBName\fR 309\fBName\fR
@@ -552,7 +418,7 @@ which refers to the head where the mouse pointer currently resides\&.
552.PP 418.PP
553\fBLayer\fR 419\fBLayer\fR
554.RS 4 420.RS 4
555The string name of the window\'s layer, which is one of 421The string name of the window\(cqs layer, which is one of
556\fBAboveDock\fR, 422\fBAboveDock\fR,
557\fBDock\fR, 423\fBDock\fR,
558\fBTop\fR, 424\fBTop\fR,
@@ -560,61 +426,74 @@ The string name of the window\'s layer, which is one of
560\fBBottom\fR, 426\fBBottom\fR,
561\fBDesktop\fR 427\fBDesktop\fR
562.RE 428.RE
429.PP
430\fBScreen\fR
431.RS 4
432The number of the currently used
433\fIscreen\fR\&. If the setup of the running xserver involves independant screens (\fInot Xinerama\fR), the $DISPLAY environment contains something like
434\fI:0\&.1\fR
435or
436\fI:1\&.0\fR\&. The part after the dot (\fI\&.\fR) is the number of the screen\&.
437.RE
438.PP
439\fB@XPROP\fR
440.RS 4
441A string, corresponding to any xproperty (Use either the
442\fBxprop(1)\fR
443utility or the
444\fISetXProp\fR
445command to set a xproperty to a window)
446.RE
563.RE 447.RE
564.PP 448.PP
565\fBExample\ \&1.\ \&Matches any windows with the CLASSNAME of "xterm"\fR 449\fBMatches any windows with the CLASSNAME of "xterm"\fR.
566.sp 450.sp
567.if n \{\ 451.if n \{\
568.RS 4 452.RS 4
569.\} 453.\}
570.fam C
571.ps -1
572.nf 454.nf
573.BB lightgray
574(xterm) 455(xterm)
575.EB lightgray
576.fi 456.fi
577.fam
578.ps +1
579.if n \{\ 457.if n \{\
580.RE 458.RE
581.\} 459.\}
582.PP 460.PP
583\fBExample\ \&2.\ \&Matches any windows with the same CLASSNAME as the currently focused window\fR 461\fBMatches any windows with the same CLASSNAME as the currently focused window\fR.
584.sp 462.sp
585.if n \{\ 463.if n \{\
586.RS 4 464.RS 4
587.\} 465.\}
588.fam C
589.ps -1
590.nf 466.nf
591.BB lightgray
592(Name=[current]) 467(Name=[current])
593.EB lightgray
594.fi 468.fi
595.fam
596.ps +1
597.if n \{\ 469.if n \{\
598.RE 470.RE
599.\} 471.\}
600.PP 472.PP
601\fBExample\ \&3.\ \&Matches any windows on the same head as the mouse but on a different layer than the currently focused window\fR 473\fBMatches any windows on the same head as the mouse but on a different layer than the currently focused window\fR.
602.sp 474.sp
603.if n \{\ 475.if n \{\
604.RS 4 476.RS 4
605.\} 477.\}
606.fam C
607.ps -1
608.nf 478.nf
609.BB lightgray
610(Head=[mouse]) (Layer!=[current]) 479(Head=[mouse]) (Layer!=[current])
611.EB lightgray
612.fi 480.fi
613.fam
614.ps +1
615.if n \{\ 481.if n \{\
616.RE 482.RE
617.\} 483.\}
484.PP
485\fBMatches any windows having a xproperty named FOO with "bar" in it\fR.
486.sp
487.if n \{\
488.RS 4
489.\}
490.nf
491(@FOO=\&.*bar\&.*)
492.fi
493.if n \{\
494.RE
495.\}
496.sp
618.SH "FILES" 497.SH "FILES"
619.PP 498.PP
620\fB~/\&.fluxbox/apps\fR 499\fB~/\&.fluxbox/apps\fR
@@ -634,11 +513,8 @@ Here are some interesting and/or useful examples you can do with your apps file\
634.if n \{\ 513.if n \{\
635.RS 4 514.RS 4
636.\} 515.\}
637.fam C
638.ps -1
639.nf 516.nf
640.BB lightgray 517# Put the first two windows which end with \*(Aqterm\*(Aq on workspace 1
641# Put the first two windows which end with \'term\' on workspace 1
642[app] (name=\&.*[tT]erm) {2} 518[app] (name=\&.*[tT]erm) {2}
643 [Workspace] {1} 519 [Workspace] {1}
644[end] 520[end]
@@ -669,10 +545,7 @@ Here are some interesting and/or useful examples you can do with your apps file\
669 [app] (name=gimp) (role=gimp\-toolbox) 545 [app] (name=gimp) (role=gimp\-toolbox)
670 [Layer] {4} 546 [Layer] {4}
671[end] 547[end]
672.EB lightgray
673.fi 548.fi
674.fam
675.ps +1
676.if n \{\ 549.if n \{\
677.RE 550.RE
678.\} 551.\}