summaryrefslogtreecommitdiff
path: root/doc/asciidoc/fluxbox.1
diff options
context:
space:
mode:
authorJim Ramsay <i.am@jimramsay.com>2008-08-05 05:02:52 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-08-05 05:02:52 (GMT)
commit0bdf33c1e5147363670c1ca801bcc913ff05778f (patch)
tree0e23a880b8fecb88fce4bb595f783d1aca9d6059 /doc/asciidoc/fluxbox.1
parenta2cd78563f4870cfb6983ce277d87912115b4791 (diff)
downloadfluxbox_lack-0bdf33c1e5147363670c1ca801bcc913ff05778f.zip
fluxbox_lack-0bdf33c1e5147363670c1ca801bcc913ff05778f.tar.bz2
added new `fluxbox-keys' man page
Diffstat (limited to 'doc/asciidoc/fluxbox.1')
-rw-r--r--doc/asciidoc/fluxbox.1459
1 files changed, 5 insertions, 454 deletions
diff --git a/doc/asciidoc/fluxbox.1 b/doc/asciidoc/fluxbox.1
index 2c97569..ba91d7a 100644
--- a/doc/asciidoc/fluxbox.1
+++ b/doc/asciidoc/fluxbox.1
@@ -1,11 +1,11 @@
1.\" Title: fluxbox 1.\" Title: fluxbox
2.\" Author: 2.\" Author:
3.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/> 3.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
4.\" Date: 06/03/2008 4.\" Date: 08/04/2008
5.\" Manual: 5.\" Manual:
6.\" Source: 6.\" Source:
7.\" 7.\"
8.TH "FLUXBOX" "1" "06/03/2008" "" "" 8.TH "FLUXBOX" "1" "08/04/2008" "" ""
9.\" disable hyphenation 9.\" disable hyphenation
10.nh 10.nh
11.\" disable justification (adjust text to left margin only) 11.\" disable justification (adjust text to left margin only)
@@ -1091,457 +1091,8 @@ session\.titlebar\.right: Minimize Maximize Close
1091.fi 1091.fi
1092.RE 1092.RE
1093.SH "KEYS" 1093.SH "KEYS"
1094You can customize fluxbox\'s key handling through the ~/\.fluxbox/keys file\. The file takes the format of: 1094You can customize fluxbox\'s key handling through the ~/\.fluxbox/keys file\. See \fIfluxbox\-keys(5)\fR for more information on the syntax of this file\.
1095.sp 1095.sp
1096.sp
1097.RS 4
1098.nf
1099[keymode:] <modifier> <key> :<command> <operation>
1100.fi
1101.RE
1102In the example below, Mod1 is the \fIALT\fR key on the PC keyboard and Mod4 is one of the three extra keys on a pc104 branded with a familiar company logo\. Lines beginning with a \fI#\fR or \fI!\fR are considered comments and unread by fluxbox\.
1103.sp
1104You can get a list of possible modifiers by calling \fIxmodmap \-pm\fR\. This also shows you to which keys the modifiers are mapped\. Additionally there is the \fIOnDesktop\fR modifier\. To find valid keynames check the following files:
1105.sp
1106.sp
1107.RS 4
1108.nf
1109/usr/X11R6/include/X11/keysymdef\.h
1110/usr/X11R6/lib/X11/XKeysymDB
1111.fi
1112.RE
1113Furthermore you can use Mouse1, Mouse2, etc to define actions for your mouse buttons\.
1114.sp
1115.sp
1116.RS 4
1117.nf
1118# fluxbox keys file\.
1119Mod1 Tab :NextWindow
1120Mod1 Shift Tab :PrevWindow
1121Mod1 F1 :Workspace 1
1122Mod1 F2 :Workspace 2
1123Mod1 F3 :Workspace 3
1124Mod1 F4 :Workspace 4
1125Mod1 F5 :Workspace 5
1126Mod1 F6 :Workspace 6
1127Mod1 F7 :Workspace 7
1128Mod1 F8 :Workspace 8
1129Mod1 F9 :Workspace 9
1130Mod4 b :PrevWorkspace
1131Mod4 c :Minimize
1132Mod4 r :ExecCommand rxvt
1133Mod4 v :NextWorkspace
1134Mod4 x :Close
1135Mod4 m :RootMenu
1136Control n Mod1 n :NextTab
1137.fi
1138.RE
1139As you can see from the last line, keybindings can be chained in a fashion similar to Emacs keybindings\.
1140.sp
1141Some things to know: \- Commands are case\-insensitive\. \- Workspace numbering starts at "1"\. \- Some commands have synonyms\. \- The space between the last key and the :Command is mandatory\.
1142.sp
1143Here are fluxbox key commands to use:
1144.sp
1145.SS "Window Manager Commands"
1146.sp
1147.RS 4
1148\h'-04'\(bu\h'+03'Restart <argument>
1149.RE
1150.sp
1151.RS 4
1152\h'-04'\(bu\h'+03'Quit
1153.RE
1154.sp
1155.RS 4
1156\h'-04'\(bu\h'+03'Reconfigure
1157.RE
1158.sp
1159.RS 4
1160\h'-04'\(bu\h'+03'SetStyle <argument>
1161.RE
1162.sp
1163.RS 4
1164\h'-04'\(bu\h'+03'ExecCommand <argument>
1165.RE
1166.SS "Currently Focused Window Commands"
1167.sp
1168.RS 4
1169\h'-04'\(bu\h'+03'Minimize
1170.RE
1171.sp
1172.RS 4
1173\h'-04'\(bu\h'+03'MinimizeWindow
1174.RE
1175.sp
1176.RS 4
1177\h'-04'\(bu\h'+03'Iconify
1178.RE
1179.sp
1180.RS 4
1181\h'-04'\(bu\h'+03'Maximize
1182.RE
1183.sp
1184.RS 4
1185\h'-04'\(bu\h'+03'MaximizeWindow
1186.RE
1187.sp
1188.RS 4
1189\h'-04'\(bu\h'+03'MaximizeHorizontal
1190.RE
1191.sp
1192.RS 4
1193\h'-04'\(bu\h'+03'MaximizeVertical
1194.RE
1195.sp
1196.RS 4
1197\h'-04'\(bu\h'+03'ResizeTo <width> <height>
1198.RE
1199.sp
1200.RS 4
1201\h'-04'\(bu\h'+03'Resize <delta\-width> <delta\-height>
1202.RE
1203.sp
1204.RS 4
1205\h'-04'\(bu\h'+03'ResizeHorizontal <delta\-width>
1206.RE
1207.sp
1208.RS 4
1209\h'-04'\(bu\h'+03'ResizeVertical <delta\-height>
1210.RE
1211.sp
1212.RS 4
1213\h'-04'\(bu\h'+03'MoveTo <x> <y>
1214.RE
1215.sp
1216.RS 4
1217\h'-04'\(bu\h'+03'Move <delta\-x> <delta\-y>
1218.RE
1219.sp
1220.RS 4
1221\h'-04'\(bu\h'+03'MoveRight <delta\-x>
1222.RE
1223.sp
1224.RS 4
1225\h'-04'\(bu\h'+03'MoveLeft <delta\-x>
1226.RE
1227.sp
1228.RS 4
1229\h'-04'\(bu\h'+03'MoveUp <delta\-y>
1230.RE
1231.sp
1232.RS 4
1233\h'-04'\(bu\h'+03'MoveDown <delta\-y>
1234.RE
1235.sp
1236.RS 4
1237\h'-04'\(bu\h'+03'Raise
1238.RE
1239.sp
1240.RS 4
1241\h'-04'\(bu\h'+03'Lower
1242.RE
1243.sp
1244.RS 4
1245\h'-04'\(bu\h'+03'Close
1246.RE
1247.sp
1248.RS 4
1249\h'-04'\(bu\h'+03'Shade
1250.RE
1251.sp
1252.RS 4
1253\h'-04'\(bu\h'+03'ShadeWindow
1254.RE
1255.sp
1256.RS 4
1257\h'-04'\(bu\h'+03'Stick
1258.RE
1259.sp
1260.RS 4
1261\h'-04'\(bu\h'+03'StickWindow
1262.RE
1263.sp
1264.RS 4
1265\h'-04'\(bu\h'+03'ToggleDecor
1266.RE
1267.sp
1268.RS 4
1269\h'-04'\(bu\h'+03'TakeToWorkspace <number>
1270.RE
1271.sp
1272.RS 4
1273\h'-04'\(bu\h'+03'TakeToNextWorkspace <offset>
1274.RE
1275.sp
1276.RS 4
1277\h'-04'\(bu\h'+03'TakeToPrevWorkspace <offset>
1278.RE
1279.sp
1280.RS 4
1281\h'-04'\(bu\h'+03'SendToWorkspace <number>
1282.RE
1283.sp
1284.RS 4
1285\h'-04'\(bu\h'+03'SendToNextWorkspace <offset>
1286.RE
1287.sp
1288.RS 4
1289\h'-04'\(bu\h'+03'SendToPrevWorkspace <offset>
1290.RE
1291.sp
1292.RS 4
1293\h'-04'\(bu\h'+03'KillWindow
1294.RE
1295.sp
1296.RS 4
1297\h'-04'\(bu\h'+03'NextTab
1298.RE
1299.sp
1300.RS 4
1301\h'-04'\(bu\h'+03'PrevTab
1302.RE
1303.sp
1304.RS 4
1305\h'-04'\(bu\h'+03'MoveTabLeft
1306.RE
1307.sp
1308.RS 4
1309\h'-04'\(bu\h'+03'MoveTabRight
1310.RE
1311.sp
1312.RS 4
1313\h'-04'\(bu\h'+03'DetachClient
1314.RE
1315.sp
1316.RS 4
1317\h'-04'\(bu\h'+03'SetAlpha [[\-]<int> [[\-]<int>]]
1318.RE
1319.SS "Workspace Commands"
1320.sp
1321.RS 4
1322\h'-04'\(bu\h'+03'NextWorkspace
1323.RE
1324.sp
1325.RS 4
1326\h'-04'\(bu\h'+03'PrevWorkspace
1327.RE
1328.sp
1329.RS 4
1330\h'-04'\(bu\h'+03'RightWorkspace <by\-number>
1331.RE
1332.sp
1333.RS 4
1334\h'-04'\(bu\h'+03'LeftWorkspace <by\-number>
1335.RE
1336.sp
1337.RS 4
1338\h'-04'\(bu\h'+03'Workspace <number>
1339.RE
1340.sp
1341.RS 4
1342\h'-04'\(bu\h'+03'NextWindow <bitmask>
1343.RE
1344.sp
1345.RS 4
1346\h'-04'\(bu\h'+03'PrevWindow <bitmask>
1347.RE
1348.sp
1349.RS 4
1350\h'-04'\(bu\h'+03'NextGroup <by\-number>
1351.RE
1352.sp
1353.RS 4
1354\h'-04'\(bu\h'+03'PrevGroup <by\-number>
1355.RE
1356.sp
1357.RS 4
1358\h'-04'\(bu\h'+03'FocusLeft
1359.RE
1360.sp
1361.RS 4
1362\h'-04'\(bu\h'+03'FocusRight
1363.RE
1364.sp
1365.RS 4
1366\h'-04'\(bu\h'+03'FocusUp
1367.RE
1368.sp
1369.RS 4
1370\h'-04'\(bu\h'+03'FocusDown
1371.RE
1372.sp
1373.RS 4
1374\h'-04'\(bu\h'+03'ArrangeWindows
1375.RE
1376.sp
1377.RS 4
1378\h'-04'\(bu\h'+03'ShowDesktop (Iconifies all windows)
1379.RE
1380.sp
1381.RS 4
1382\h'-04'\(bu\h'+03'Deiconify all|allworkspace|last|lastworkspace current|origin|originquiet
1383.RE
1384.sp
1385.RS 4
1386\h'-04'\(bu\h'+03'RootMenu
1387.RE
1388.sp
1389.RS 4
1390\h'-04'\(bu\h'+03'WorkspaceMenu
1391.RE
1392.sp
1393.RS 4
1394\h'-04'\(bu\h'+03'WindowMenu
1395.RE
1396.sp
1397.RS 4
1398\h'-04'\(bu\h'+03'HideMenu
1399.RE
1400.sp
1401.RS 4
1402\h'-04'\(bu\h'+03'CustomMenu <path_to_file>
1403.RE
1404.sp
1405.RS 4
1406\h'-04'\(bu\h'+03'SetWorkspaceName <name>
1407.RE
1408.SS "Special Commands"
1409.sp
1410.RS 4
1411\h'-04'\(bu\h'+03'MacroCmd
1412.RE
1413.sp
1414.RS 4
1415\h'-04'\(bu\h'+03'ToggleCmd
1416.RE
1417.sp
1418.RS 4
1419\h'-04'\(bu\h'+03'ReloadStyle
1420.RE
1421.sp
1422.RS 4
1423\h'-04'\(bu\h'+03'SetResourceValue <resourcename> <resource> value
1424.RE
1425.sp
1426.RS 4
1427\h'-04'\(bu\h'+03'BindKey <key><value>: <action>
1428.RE
1429.sp
1430.RS 4
1431\h'-04'\(bu\h'+03'KeyMode <keymode name> <return key sequence>
1432.RE
1433.SS "Couple of things"
1434.sp
1435.RS 4
1436\h'-04'\(bu\h'+03'Exec: fluxbox utilizes /bin/sh to start the commands\. This means, that you can use environment variables to do some tricks here\. E\.g: :Exec $XTERM This would fire up the term of your choice, if you set XTERM to something usefull
1437\fIbefore\fR
1438fluxbox starts, e\.g\. in the \.fluxbox/startup file\.
1439.RE
1440.sp
1441.RS 4
1442\h'-04'\(bu\h'+03'TakeToWorkspace: Will send you along with the window to the selected workspace\. SendToWorkspace just sends the window\.
1443.RE
1444.sp
1445.RS 4
1446\h'-04'\(bu\h'+03'TakeToNextWorkspace <offset>: Will send you and the window to workspace number <current offset>; that is, move you and the window <offset> spaces to the right (offset defaults to 1)\. SendToNextWorkspace does the same, except that it only sends the window (as for SendToWorkspace)\. TakeToPrevWorkspace and SendToPrevWorkspace work similarly, except moving to the previous workspaces, not the next ones\.
1447.RE
1448.sp
1449.RS 4
1450\h'-04'\(bu\h'+03'PrevWindow/NextWindow parameters take an integer: 0 or unspecified = Default/current behavior \- most recently used\. 1 = Groups instead of Windows \- only visit one tab in each group 2 = Skip stuck windows 4 = Skip shaded windows 8 = Switch between windows `linearly\'; that is, if you repeatedly press the NextWindow key, you will walk through all windows in the, order that they were opened, instead of switching back and forth between the most recently focused windows\. 16 = Skip iconified windows
1451.sp
1452.RS 4
1453.nf
1454To combine any of these effects, add the corresponding numbers\.
1455For instance, 14 means switch linearly, skipping stuck and shaded
1456windows, since 14 = 8 + 4 + 2\.
1457.fi
1458.RE
1459.RE
1460.sp
1461.RS 4
1462\h'-04'\(bu\h'+03'Bindkey will append key string and action to your keys file and bind the key\.
1463.RE
1464.sp
1465.RS 4
1466\h'-04'\(bu\h'+03'KeyMode allows you to have different keybindings that aren\'t all active at the same time\. For instance, you can use `KeyMode Xnest\' to switch to the `Xnest\' key mode, which will disable all of your key bindings that don\'t have `Xnest:
1467\fI before them and will enable all the ones that do\. <return key sequence> will then return you to the `default\fR
1468key mode\. If not provided, this defaults to the escape key\.
1469.RE
1470.sp
1471.RS 4
1472\h'-04'\(bu\h'+03'The
1473\fIdelta\fR
1474value means the difference between the current setting and the requested setting\. So if you have a window that is 100 pixels wide, you could set
1475.RE
1476.sp
1477.RS 4
1478.nf
1479Mod1 r :ResizeHorizontal 10
1480.fi
1481.RE
1482and when you use that key it would increase the size of your window to 110 pixels\. If you had used
1483.sp
1484.sp
1485.RS 4
1486.nf
1487Mod1 R :ResizeHorizontal \-10
1488.fi
1489.RE
1490then it would have decreased the size by 10, setting it to 90 pixels\.
1491.sp
1492.sp
1493.RS 4
1494\h'-04'\(bu\h'+03'Resize commands do not necessarily change the number of pixels\. For instance, many terminals will use the size of a character as the resize unit\. Most applications, however, use pixels\.
1495.RE
1496.sp
1497.RS 4
1498\h'-04'\(bu\h'+03'MacroCmd:
1499.RE
1500.sp
1501.RS 4
1502.nf
1503Mod1 r :MacroCmd {command1} {command2}
1504.fi
1505.RE
1506.sp
1507.RS 4
1508.nf
1509allows you to execute more than one command with one keybinding\. The commands
1510will be executed in serial\.
1511.fi
1512.RE
1513.sp
1514.RS 4
1515\h'-04'\(bu\h'+03'ToggleCmd:
1516.RE
1517.sp
1518.RS 4
1519.nf
1520Mod1 t :ToggleCmd {command1} {command2}
1521.fi
1522.RE
1523.sp
1524.RS 4
1525.nf
1526alternates between the given commands each time you press Mod1 + t\.
1527.fi
1528.RE
1529.sp
1530.RS 4
1531\h'-04'\(bu\h'+03'SetAlpha [[\-]<int> [[\-]<int>]]: Works on the currently focussed window\. Given
1532.sp
1533.RS 4
1534\h'-04'\(bu\h'+03'no arguments: reset to default alpha settings
1535.RE
1536.sp
1537.RS 4
1538\h'-04'\(bu\h'+03'one argument: changes both focused and unfocused alpha settings
1539.RE
1540.sp
1541.RS 4
1542\h'-04'\(bu\h'+03'two arguments: first value becomes the focused alpha, second becomes the unfocused alpha value\. E\.g: SetAlpha 127 +5 will set the focused alpha to 127 and increment the unfocused alpha by 5 (until it reaches 255)
1543.RE
1544.RE
1545.SH "LAYERS" 1096.SH "LAYERS"
1546Layers affect the way that windows will overlap each other on the screen\. Windows on a higher layer will always appear above those on a lower one, whether they are focused or not\. By default, fluxbox uses 13 layers, starting from 1 (highest)\. The number of layers can be changed by using the following resource: 1097Layers affect the way that windows will overlap each other on the screen\. Windows on a higher layer will always appear above those on a lower one, whether they are focused or not\. By default, fluxbox uses 13 layers, starting from 1 (highest)\. The number of layers can be changed by using the following resource:
1547.sp 1098.sp
@@ -2044,7 +1595,7 @@ This manpage is the combined work of:
2044.RE 1595.RE
2045.sp 1596.sp
2046.RS 4 1597.RS 4
2047\h'-04'\(bu\h'+03'Tobias Klausmann <klausman at users sourceforge net> (<=fluxbox\-0\.9\.11) 1598\h'-04'\(bu\h'+03'Tobias Klausmann <klausman at users sourceforge net> (fluxbox\-0\.9\.11)
2048.RE 1599.RE
2049.sp 1600.sp
2050.RS 4 1601.RS 4
@@ -2066,5 +1617,5 @@ This manpage is the combined work of:
2066If you find any bugs, please visit the #fluxbox irc channel on irc\.freenode\.net or submit them to the bug tracker at http://sf\.net/projects/fluxbox \. Or you may subscribe to one of the mailinglists\. More information can be found on the official website\. 1617If you find any bugs, please visit the #fluxbox irc channel on irc\.freenode\.net or submit them to the bug tracker at http://sf\.net/projects/fluxbox \. Or you may subscribe to one of the mailinglists\. More information can be found on the official website\.
2067.sp 1618.sp
2068.SH "SEE ALSO" 1619.SH "SEE ALSO"
2069bsetroot(1) fbsetbg(1) fbrun(1) fluxstyle(1) 1620fluxbox\-keys(5) bsetroot(1) fbsetbg(1) fbrun(1) fluxstyle(1)
2070.sp 1621.sp