/[gentoo]/xml/htdocs/proj/en/glep/glep-0016.html
Gentoo

Diff of /xml/htdocs/proj/en/glep/glep-0016.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.4
31<tbody valign="top"> 31<tbody valign="top">
32<tr class="field"><th class="field-name">GLEP:</th><td class="field-body">16</td> 32<tr class="field"><th class="field-name">GLEP:</th><td class="field-body">16</td>
33</tr> 33</tr>
34<tr class="field"><th class="field-name">Title:</th><td class="field-body">Gentoo Menu System</td> 34<tr class="field"><th class="field-name">Title:</th><td class="field-body">Gentoo Menu System</td>
35</tr> 35</tr>
36<tr class="field"><th class="field-name">Version:</th><td class="field-body">1.2</td> 36<tr class="field"><th class="field-name">Version:</th><td class="field-body">1.4</td>
37</tr> 37</tr>
38<tr class="field"><th class="field-name">Last-Modified:</th><td class="field-body"><a class="reference" href="http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/proj/en/glep/glep-0016.txt?cvsroot=gentoo">2003/12/11 21:19:31</a></td> 38<tr class="field"><th class="field-name">Last-Modified:</th><td class="field-body"><a class="reference" href="http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/proj/en/glep/glep-0016.txt?cvsroot=gentoo">2004/05/04 17:52:27</a></td>
39</tr> 39</tr>
40<tr class="field"><th class="field-name">Author:</th><td class="field-body">Heinrich Wendel &lt;lanius&#32;&#97;t&#32;gentoo.org&gt;,</td> 40<tr class="field"><th class="field-name">Author:</th><td class="field-body">Heinrich Wendel &lt;lanius&#32;&#97;t&#32;gentoo.org&gt;,</td>
41</tr> 41</tr>
42<tr class="field"><th class="field-name">Status:</th><td class="field-body">Draft</td> 42<tr class="field"><th class="field-name">Status:</th><td class="field-body">Draft</td>
43</tr> 43</tr>
45</tr> 45</tr>
46<tr class="field"><th class="field-name">Content-Type:</th><td class="field-body"><a class="reference" href="glep-0002.html">text/x-rst</a></td> 46<tr class="field"><th class="field-name">Content-Type:</th><td class="field-body"><a class="reference" href="glep-0002.html">text/x-rst</a></td>
47</tr> 47</tr>
48<tr class="field"><th class="field-name">Created:</th><td class="field-body">09-Sep-2003</td> 48<tr class="field"><th class="field-name">Created:</th><td class="field-body">09-Sep-2003</td>
49</tr> 49</tr>
50<tr class="field"><th class="field-name">Post-History:</th><td class="field-body">04-Oct-2003, 11-Oct-2003</td> 50<tr class="field"><th class="field-name">Post-History:</th><td class="field-body">04-Oct-2003, 11-Dec-2003, 13-Dec-2003, 4-May-2004</td>
51</tr> 51</tr>
52</tbody> 52</tbody>
53</table> 53</table>
54<hr /> 54<hr />
55<div class="contents topic" id="contents"> 55<div class="contents topic" id="contents">
56<p class="topic-title"><a name="contents">Contents</a></p> 56<p class="topic-title"><a name="contents">Contents</a></p>
57<ul class="simple"> 57<ul class="simple">
58<li><a class="reference" href="#definitions" id="id28" name="id28">Definitions</a></li> 58<li><a class="reference" href="#definitions" id="id29" name="id29">Definitions</a></li>
59<li><a class="reference" href="#abstract" id="id29" name="id29">Abstract</a></li> 59<li><a class="reference" href="#abstract" id="id30" name="id30">Abstract</a></li>
60<li><a class="reference" href="#motivation" id="id30" name="id30">Motivation</a></li> 60<li><a class="reference" href="#motivation" id="id31" name="id31">Motivation</a></li>
61<li><a class="reference" href="#rationale" id="id31" name="id31">Rationale</a></li> 61<li><a class="reference" href="#rationale" id="id32" name="id32">Rationale</a></li>
62<li><a class="reference" href="#specification" id="id32" name="id32">Specification</a></li> 62<li><a class="reference" href="#specification" id="id33" name="id33">Specification</a></li>
63<li><a class="reference" href="#implementation-status" id="id34" name="id34">Implementation / Status</a></li>
63<li><a class="reference" href="#credits" id="id33" name="id33">Credits</a></li> 64<li><a class="reference" href="#credits" id="id35" name="id35">Credits</a></li>
64<li><a class="reference" href="#references" id="id34" name="id34">References</a></li> 65<li><a class="reference" href="#references" id="id36" name="id36">References</a></li>
65<li><a class="reference" href="#copyright" id="id35" name="id35">Copyright</a></li> 66<li><a class="reference" href="#copyright" id="id37" name="id37">Copyright</a></li>
66</ul> 67</ul>
67</div> 68</div>
68<div class="section" id="definitions"> 69<div class="section" id="definitions">
69<h1><a class="toc-backref" href="#id28" name="definitions">Definitions</a></h1> 70<h1><a class="toc-backref" href="#id29" name="definitions">Definitions</a></h1>
70<blockquote> 71<blockquote>
71<dl> 72<dl>
72<dt><em>APP</em></dt> 73<dt><em>APP</em></dt>
73<dd>A graphical application that should be listed in the menus.</dd> 74<dd>A graphical application that should be listed in the menus.</dd>
74<dt><em>WM</em></dt> 75<dt><em>WM</em></dt>
75<dd>A program containing a menu manager (i.e. a program that can display a menu, e.g. a windowmanager).</dd> 76<dd>A program containing a menu manager (i.e. a program that can display a menu, e.g. a windowmanager).</dd>
76</dl> 77</dl>
77</blockquote> 78</blockquote>
78</div> 79</div>
79<div class="section" id="abstract"> 80<div class="section" id="abstract">
80<h1><a class="toc-backref" href="#id29" name="abstract">Abstract</a></h1> 81<h1><a class="toc-backref" href="#id30" name="abstract">Abstract</a></h1>
81<p>This GLEP handles a proposal for the following two goals:</p> 82<p>This GLEP handles a proposal for the following two goals:</p>
82<ul class="simple"> 83<ul class="simple">
83<li>Create a common menu layout, which would be independent of the WM. 84<li>Create a common menu layout, which would be independent of the WM.
84This point is quite important for those people who use more than one WM.</li> 85This point is quite important for those people who use more than one WM.</li>
85<li>Provide a common way to add applications to the menus.</li> 86<li>Provide a common way to add applications to the menus.</li>
86</ul> 87</ul>
87</div> 88</div>
88<div class="section" id="motivation"> 89<div class="section" id="motivation">
89<h1><a class="toc-backref" href="#id30" name="motivation">Motivation</a></h1> 90<h1><a class="toc-backref" href="#id31" name="motivation">Motivation</a></h1>
90<p>GNOME, KDE, Fluxbox, to name only a few, have all their own ways of handling 91<p>GNOME, KDE, Fluxbox, to name only a few, have all their own ways of handling
91menus. There have been several requests <a class="footnote-reference" href="#id15" id="id1" name="id1">[1]</a> <a class="footnote-reference" href="#id16" id="id2" name="id2">[2]</a> <a class="footnote-reference" href="#id17" id="id3" name="id3">[3]</a> <a class="footnote-reference" href="#id18" id="id4" name="id4">[4]</a> <a class="footnote-reference" href="#id19" id="id5" name="id5">[5]</a> <a class="footnote-reference" href="#id20" id="id6" name="id6">[6]</a> from 92menus. There have been several requests <a class="footnote-reference" href="#id15" id="id1" name="id1">[1]</a> <a class="footnote-reference" href="#id16" id="id2" name="id2">[2]</a> <a class="footnote-reference" href="#id17" id="id3" name="id3">[3]</a> <a class="footnote-reference" href="#id18" id="id4" name="id4">[4]</a> <a class="footnote-reference" href="#id19" id="id5" name="id5">[5]</a> <a class="footnote-reference" href="#id20" id="id6" name="id6">[6]</a> from
92users to streamline these menus. Furthermore there are several bug reports 93users to streamline these menus. Furthermore there are several bug reports
93about applications not having a menu entry <a class="footnote-reference" href="#id21" id="id7" name="id7">[7]</a>, but since there is not 94about applications not having a menu entry <a class="footnote-reference" href="#id21" id="id7" name="id7">[7]</a>, but since there is not
94standard way to create such an entry, they are just sitting around in 95standard way to create such an entry, they are just sitting around in
95bugzilla.</p> 96bugzilla.</p>
96</div> 97</div>
97<div class="section" id="rationale"> 98<div class="section" id="rationale">
98<h1><a class="toc-backref" href="#id31" name="rationale">Rationale</a></h1> 99<h1><a class="toc-backref" href="#id32" name="rationale">Rationale</a></h1>
99<p>The idea of a common menu system is not new to the Linux world, every big 100<p>The idea of a common menu system is not new to the Linux world, every big
100distribution (Debian, Mandrake, RedHat, Suse) has such a system. The big DE's, 101distribution (Debian, Mandrake, RedHat, Suse) has such a system. The big DE's,
101KDE and GNOME, with the help of freedesktop.org <a class="footnote-reference" href="#id22" id="id8" name="id8">[8]</a>, are also trying to 102KDE and GNOME, with the help of freedesktop.org <a class="footnote-reference" href="#id22" id="id8" name="id8">[8]</a>, are also trying to
102implement one standard. That will most likely happen in GNOME 2.6 and KDE 3.2 103implement one standard. That will most likely happen in GNOME 2.6 and KDE 3.2
103(Currently they are only implementing different versions of the 104(Currently they are only implementing different versions of the
113<li>integrate with small changes to our ebuildtree.</li> 114<li>integrate with small changes to our ebuildtree.</li>
114<li>support for per system and per user menus</li> 115<li>support for per system and per user menus</li>
115</ul> 116</ul>
116</div> 117</div>
117<div class="section" id="specification"> 118<div class="section" id="specification">
118<h1><a class="toc-backref" href="#id32" name="specification">Specification</a></h1> 119<h1><a class="toc-backref" href="#id33" name="specification">Specification</a></h1>
119<p>We are trying to follow these specifications:</p> 120<p>We are trying to follow these specifications:</p>
120<ul class="simple"> 121<ul class="simple">
121<li>Desktop Entry Specification <a class="footnote-reference" href="#id23" id="id9" name="id9">[9]</a></li> 122<li>Desktop Entry Specification <a class="footnote-reference" href="#id23" id="id9" name="id9">[9]</a></li>
122<li>Menu Specification <a class="footnote-reference" href="#id24" id="id10" name="id10">[10]</a></li> 123<li>Menu Specification <a class="footnote-reference" href="#id24" id="id10" name="id10">[10]</a></li>
123<li>Icon Theme Specification <a class="footnote-reference" href="#id25" id="id11" name="id11">[11]</a></li> 124<li>Icon Theme Specification <a class="footnote-reference" href="#id25" id="id11" name="id11">[11]</a></li>
127<li>PyXDG <a class="footnote-reference" href="#id26" id="id12" name="id12">[12]</a> (written in python)</li> 128<li>PyXDG <a class="footnote-reference" href="#id26" id="id12" name="id12">[12]</a> (written in python)</li>
128<li>Desktop File Utils <a class="footnote-reference" href="#id27" id="id13" name="id13">[13]</a> (written in C)</li> 129<li>Desktop File Utils <a class="footnote-reference" href="#id27" id="id13" name="id13">[13]</a> (written in C)</li>
129</ul> 130</ul>
130<p>Our goal is to patch the WM's with the help of these libraries to support the 131<p>Our goal is to patch the WM's with the help of these libraries to support the
131specifications. APP's then only have to install a .desktop entry <a class="footnote-reference" href="#id23" id="id14" name="id14">[9]</a> and 132specifications. APP's then only have to install a .desktop entry <a class="footnote-reference" href="#id23" id="id14" name="id14">[9]</a> and
132optionally an icon and will be listened in all menus. This installation could 133optionally an icon and will be listed in all menus. This installation could
133easily be done by two portage commands (domenu, doicon). Additionaly we 134easily be done by two portage commands (domenu, doicon).</p>
134should provide a reference menu layout and icon theme and add a function to 135</div>
135repoman to validate .desktop files.</p> 136<div class="section" id="implementation-status">
137<h1><a class="toc-backref" href="#id34" name="implementation-status">Implementation / Status</a></h1>
138<p>This GLEP exists for a long time now, still it is not accepted. I will outline
139the current status:</p>
140<ul class="simple">
141<li>KDE 3.2 (x86) supports this specification</li>
142<li>GNOME 2.6 (~x86) support this specification</li>
143<li>domenu[<a class="reference" href="#id26">12</a>] has to be included in portage to be used by the ebuilds to
144install a desktop entry</li>
145<li>Somebody needs to write patches for the other WM's:</li>
146</ul>
147<p>We should focus on adding support to the following WM's first:</p>
148<ul class="simple">
149<li>xfce, blackblox / fluxbox / openbox / waimea / kahakai, icewm</li>
150<li>fvwm, windowmaker, enlightment, afterstep</li>
151</ul>
152<p>The following are not so important, but support some kind of applications
153menu:</p>
154<ul class="simple">
155<li>aewm / aewm++ / evilwm / windowlab / oroborus, amiwm, ctwm, flwm</li>
156<li>golem, larswm, pekwm, plwm, pwm, qvwm, selectwm, treewm, trwm</li>
157<li>vtwm, xpde</li>
158</ul>
136</div> 159</div>
137<div class="section" id="credits"> 160<div class="section" id="credits">
138<h1><a class="toc-backref" href="#id33" name="credits">Credits</a></h1> 161<h1><a class="toc-backref" href="#id35" name="credits">Credits</a></h1>
139<p>Based on suggestions from former discussions on the gentoo bugzilla, 162<p>Based on suggestions from former discussions on the gentoo bugzilla,
140mailinglists and forums.</p> 163mailinglists and forums.</p>
141</div> 164</div>
142<div class="section" id="references"> 165<div class="section" id="references">
143<h1><a class="toc-backref" href="#id34" name="references">References</a></h1> 166<h1><a class="toc-backref" href="#id36" name="references">References</a></h1>
144<table class="footnote" frame="void" id="id15" rules="none"> 167<table class="footnote" frame="void" id="id15" rules="none">
145<colgroup><col class="label" /><col /></colgroup> 168<colgroup><col class="label" /><col /></colgroup>
146<tbody valign="top"> 169<tbody valign="top">
147<tr><td class="label"><a class="fn-backref" href="#id1" name="id15">[1]</a></td><td><a class="reference" href="http://bugs.gentoo.org/show_bug.cgi?id=5510">http://bugs.gentoo.org/show_bug.cgi?id=5510</a></td></tr> 170<tr><td class="label"><a class="fn-backref" href="#id1" name="id15">[1]</a></td><td><a class="reference" href="http://bugs.gentoo.org/show_bug.cgi?id=5510">http://bugs.gentoo.org/show_bug.cgi?id=5510</a></td></tr>
148</tbody> 171</tbody>
212</table> 235</table>
213<table class="footnote" frame="void" id="id26" rules="none"> 236<table class="footnote" frame="void" id="id26" rules="none">
214<colgroup><col class="label" /><col /></colgroup> 237<colgroup><col class="label" /><col /></colgroup>
215<tbody valign="top"> 238<tbody valign="top">
216<tr><td class="label"><a class="fn-backref" href="#id12" name="id26">[12]</a></td><td>PyXDG 239<tr><td class="label"><a class="fn-backref" href="#id12" name="id26">[12]</a></td><td>PyXDG
217[<a class="reference" href="http://www.freedesktop.org/software/pyxg">http://www.freedesktop.org/software/pyxg</a>]</td></tr> 240[<a class="reference" href="http://www.freedesktop.org/software/pyxdg">http://www.freedesktop.org/software/pyxdg</a>]</td></tr>
218</tbody> 241</tbody>
219</table> 242</table>
220<table class="footnote" frame="void" id="id27" rules="none"> 243<table class="footnote" frame="void" id="id27" rules="none">
221<colgroup><col class="label" /><col /></colgroup> 244<colgroup><col class="label" /><col /></colgroup>
222<tbody valign="top"> 245<tbody valign="top">
223<tr><td class="label"><a class="fn-backref" href="#id13" name="id27">[13]</a></td><td>Desktop File Utils 246<tr><td class="label"><a class="fn-backref" href="#id13" name="id27">[13]</a></td><td>Desktop File Utils
224[<a class="reference" href="http://www.freedesktop.org/software/desktop-file-utils">http://www.freedesktop.org/software/desktop-file-utils</a>]</td></tr> 247[<a class="reference" href="http://www.freedesktop.org/software/desktop-file-utils">http://www.freedesktop.org/software/desktop-file-utils</a>]</td></tr>
225</tbody> 248</tbody>
226</table> 249</table>
250<table class="footnote" frame="void" id="id28" rules="none">
251<colgroup><col class="label" /><col /></colgroup>
252<tbody valign="top">
253<tr><td class="label"><a name="id28">[14]</a></td><td>domenu
254[<a class="reference" href="http://bugs.gentoo.org/show_bug.cgi?id=25756">http://bugs.gentoo.org/show_bug.cgi?id=25756</a>]</td></tr>
255</tbody>
256</table>
227</div> 257</div>
228<div class="section" id="copyright"> 258<div class="section" id="copyright">
229<h1><a class="toc-backref" href="#id35" name="copyright">Copyright</a></h1> 259<h1><a class="toc-backref" href="#id37" name="copyright">Copyright</a></h1>
230<p>This document has been placed in the public domain.</p> 260<p>This document has been placed in the public domain.</p>
231</div> 261</div>
232</div> 262</div>
233 263
234<hr class="footer"/> 264<hr class="footer"/>
235<div class="footer"> 265<div class="footer">
236<a class="reference" href="glep-0016.txt">View document source</a>. 266<a class="reference" href="glep-0016.txt">View document source</a>.
237Generated on: 2003-12-11 21:12 UTC. 267Generated on: 2004-05-04 17:53 UTC.
238Generated by <a class="reference" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source. 268Generated by <a class="reference" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source.
239</div> 269</div>
240</body> 270</body>
241</html> 271</html>
242 272

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20