1 |
nightmorph 10/02/14 20:34:48 |
2 |
|
3 |
Modified: openbox.xml |
4 |
Log: |
5 |
Updates from bug 256693 |
6 |
|
7 |
Revision Changes Path |
8 |
1.7 xml/htdocs/doc/en/openbox.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/openbox.xml?rev=1.7&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/openbox.xml?rev=1.7&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/openbox.xml?r1=1.6&r2=1.7 |
13 |
|
14 |
Index: openbox.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/openbox.xml,v |
17 |
retrieving revision 1.6 |
18 |
retrieving revision 1.7 |
19 |
diff -u -r1.6 -r1.7 |
20 |
--- openbox.xml 29 Dec 2009 19:23:08 -0000 1.6 |
21 |
+++ openbox.xml 14 Feb 2010 20:34:48 -0000 1.7 |
22 |
@@ -1,6 +1,6 @@ |
23 |
<?xml version="1.0" encoding="UTF-8"?> |
24 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
25 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openbox.xml,v 1.6 2009/12/29 19:23:08 nightmorph Exp $ --> |
26 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openbox.xml,v 1.7 2010/02/14 20:34:48 nightmorph Exp $ --> |
27 |
|
28 |
<guide> |
29 |
<title>The Openbox Configuration HOWTO</title> |
30 |
@@ -21,8 +21,8 @@ |
31 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
32 |
<license/> |
33 |
|
34 |
-<version>1.4</version> |
35 |
-<date>2009-12-29</date> |
36 |
+<version>1.5</version> |
37 |
+<date>2010-02-14</date> |
38 |
|
39 |
<chapter> |
40 |
<title>Introduction</title> |
41 |
@@ -124,6 +124,12 @@ |
42 |
own menu that contains links to <e>your</e> programs. |
43 |
</p> |
44 |
|
45 |
+<impo> |
46 |
+If you click to view the menu and notice that there is nothing legible, you need |
47 |
+to install some fonts. Two common choices are <c>media-fonts/corefonts</c> and |
48 |
+<c>media-fonts/ttf-bitstream-vera</c>. |
49 |
+</impo> |
50 |
+ |
51 |
</body> |
52 |
</section> |
53 |
<section> |
54 |
@@ -153,9 +159,9 @@ |
55 |
</pre> |
56 |
|
57 |
<p> |
58 |
-Once it is installed, make sure to logout of root, and back into your user account. |
59 |
-You then instruct MenuMaker to create a menu specifically using the Openbox XML |
60 |
-syntax: |
61 |
+Once it is installed, make sure to logout of root, and back into your user |
62 |
+account. You then instruct MenuMaker to create a menu specifically using the |
63 |
+Openbox XML syntax: |
64 |
</p> |
65 |
|
66 |
<pre caption="Using MenuMaker to generate a basic Openbox menu.xml"> |
67 |
@@ -200,10 +206,26 @@ |
68 |
</pre> |
69 |
|
70 |
<p> |
71 |
-Simply replace anything in CAPS with your information. |
72 |
+The above example will work for any applications that launch with standard |
73 |
+options in their own windows, but what if you need to append options to |
74 |
+the program at launch time? That is no problem either, but the syntax of |
75 |
+the menu item is slightly different. |
76 |
</p> |
77 |
|
78 |
+<pre caption="Editing the menu.xml file"> |
79 |
+<?xml version="1.0" encoding="UTF-8"?> |
80 |
+<openbox_menu> |
81 |
+<separator label="NAME_OF_SEPARATOR" /> |
82 |
+<menu id="IDENTIFIER" label="NAME_OF_MENU"> |
83 |
+ <item label="NAME_OF_PROGRAM"> |
84 |
+ <action name="execute"><command>/LOCATION/OF/BINARY --OPTION1 --OPTION2</command></action> |
85 |
+ </item> |
86 |
+</menu> |
87 |
+</openbox_menu> |
88 |
+</pre> |
89 |
+ |
90 |
<p> |
91 |
+Simply replace anything in CAPS in the above two examples with your information. |
92 |
Alternatively, you can <c>emerge obmenu</c>, which is a graphical interface |
93 |
allowing you to create your menus without having to manually edit the |
94 |
<path>menu.xml</path> file. It is a very small application and offers a |
95 |
@@ -267,6 +289,22 @@ |
96 |
</openbox_menu> |
97 |
</pre> |
98 |
|
99 |
+<p> |
100 |
+While ObConf is a great GUI tool for editing many behaviour-related settings |
101 |
+for Openbox, it doesn't allow one to manipulate nearly as many settings as |
102 |
+are presented in the <path>rc.xml</path> file itself. If you are having |
103 |
+trouble finding a particular setting which you would like to change, please |
104 |
+consult the <uri link="http://openbox.org/wiki/Configuration">Openbox Wiki</uri> |
105 |
+for more information. |
106 |
+</p> |
107 |
+ |
108 |
+<note> |
109 |
+In recent versions of Openbox (namely >3.4.7.2), one may experience a delay |
110 |
+in the submenu opening. This setting was introduced into the rc.xml file, and |
111 |
+is listed as <submenuShowDelay>100</submenuShowDelay>. Simply |
112 |
+choose a lower number that suits your needs. |
113 |
+</note> |
114 |
+ |
115 |
</body> |
116 |
</section> |
117 |
<section> |
118 |
@@ -861,11 +899,11 @@ |
119 |
|
120 |
<ul> |
121 |
<li> |
122 |
- On <uri link="http://icculus.org/openbox/index.php/Main_Page">The Official |
123 |
- Openbox website</uri> you will find more detailed information regarding |
124 |
- theming, creating menus (including pipe menus), autostart scripting, and |
125 |
- much more. This site also has information regarding new releases, upgrades, |
126 |
- and instructions on how you can contribute to development. |
127 |
+ On <uri link="http://openbox.org/">The Official Openbox website</uri> |
128 |
+ you will find more detailed information regarding theming, creating menus |
129 |
+ (including pipe menus), autostart scripting, and much more. This site also |
130 |
+ has information regarding new releases, upgrades, and instructions on how |
131 |
+ you can contribute to development. |
132 |
</li> |
133 |
<li> |
134 |
The <uri link="http://urukrama.wordpress.com/openbox-guide/">Urukrama's |