[openbox] menu.xml - I thought It Only Had One Format/Standard?

Das dasfox at gmail.com
Mon Aug 12 00:50:14 EDT 2013


Xyne if you don't see any mistakes then why are you telling me to close it
like this?

<menu id="apps-internet-menu" label="Internet"/>

I think you need to LOOK HARDER at the menu.xml in the source

All menu id= lines like this are not closed on the end...

But for each section there is a </menu> like below; (This is how each
section looks, this is copied from the source)


<menu id="apps-accessories-menu" label="Accessories">
  <item label="Calculator">
    <action name="Execute">
      <command>gnome-calculator</command>
      <startupnotify>
        <enabled>yes</enabled>
      </startupnotify>
    </action>
  </item>
  <item label="Character Map">
    <action name="Execute">
      <command>gnome-character-map</command>
      <startupnotify>
        <enabled>yes</enabled>
      </startupnotify>
    </action>
  </item>
  <item label="Ark File Archiver">
    <action name="Execute">
      <command>ark</command>
      <startupnotify>
        <enabled>yes</enabled>
      </startupnotify>
    </action>
  </item>
</menu>





On Sun, Aug 11, 2013 at 7:26 AM, guns <self at sungpae.com> wrote:

> On Sun 11 Aug 2013 at 10:55:45AM -0400, Jim Rees wrote:
>
> > About the only thing I dislike about Openbox is its use of xml for
> > configuration.
>
> I'll have to heartily disagree with you here. Writing XML by hand is
> surely an activity fit for an inner circle of Hell, but the fact that
> it is a common declarative data format makes it fantastic for machine
> generation.
>
> I generate my rc.xml from Clojure:
>
>     https://raw.github.com/guns/meinhaus/guns/bin/openbox-configuration
>
> Configuring my window manager with higher-order functions and
> S-Expressions in a language of my choice is really awesome!
>
> I would be sad to see Openbox adopt an executable data format like other
> WMs (though adopting other extensible data formats would be OK).
>
>     guns
>
> _______________________________________________
> openbox mailing list
> openbox at icculus.org
> http://icculus.org/mailman/listinfo/openbox
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/openbox/attachments/20130811/4d60d469/attachment-0001.html>


More information about the openbox mailing list