[openbox] open pipemenu in menu

Thomas Hinterberger kult-ex at aon.at
Wed Dec 17 16:47:13 EST 2008


on your suggestion I get a sytax error

<?xml version="1.0" encoding="utf-8"?>
<openbox_menu xmlns="http://openbox.org/3.4/menu">
  <menu id="root-menu" label="openbox">
      <menu id="Programme"/>
  </menu>
  <menu execute=".config/openbox/obam.pl" id="Programme" label="Programme"/>
</openbox_menu>

like this it is accapted,

but my real problem is, that I have no menu entries - nothing, just a 
very very little black box

is this line correct?  <menu execute=".config/openbox/obam.pl" 
id="Programme" label="Programme"/>

or should it perhaps be something like <menu execute="python 
.config/openbox/obam.pl" id="Programme" label="Programme"/>

and this http://icculus.org/openbox/index.php/Openbox:Pipemenus:obam 
script workes?



Dave Foster schrieb:
> Thomas Hinterberger wrote:
>> <?xml version="1.0" encoding="utf-8"?>
>> <openbox_menu xmlns="http://openbox.org/3.4/menu">
>>    <menu id="apps-menu" label="Programme">
>>        <menu execute=".config/openbox/obam.pl" id="Programme"
>> label="Programme"/>
>>    </menu>
>> </openbox_menu>
>>
>> what is wrong?
>>
> You shouldnt make the pipemenu execute line a child of where you want 
> it to go.  A possibly working fixup (cannot test):
>
> <?xml version="1.0" encoding="utf-8"?>
> <openbox_menu xmlns="http://openbox.org/3.4/menu">
>   <menu id="root-menu" label="openbox">
>       <menu id="Programme" />
>    </menu>
>   </menu>
>
>    <menu execute=".config/openbox/obam.pl" id="Programme" 
> label="Programme"/>
> </openbox_menu>
>
> They are joined together by the id.
>
> dave
>
> ---
> To unsubscribe, send a blank email to openbox-unsubscribe at icculus.org
> Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?24
>
>
>
>





More information about the openbox mailing list