[openbox] open pipemenu in menu
Thomas Hinterberger
kult-ex at aon.at
Thu Dec 18 06:03:43 EST 2008
I think this is, that you have to put these two lines in one:
my $APPSDIR = "/usr/share/applications/
/usr/kde/3.5/share/applications/kde/ ~/.
gnome/apps/ ~/.kde/share/apps";
this I have done, but with which application do you check syntax error?
vlad schrieb:
> does the script itself work?
> i get following:
> "
> $ perl obam.pl
> syntax error at obam.pl line 21, near "my "
> Execution of obam.pl aborted due to compilation errors
> "
>
> vlad
>
>
> On Thu, Dec 18, 2008 at 09:23:28AM +0100, Thomas Hinterberger wrote:
>
>>>> From: Thomas Hinterberger <kult-ex at aon.at>
>>>> Subject: Re: [openbox] open pipemenu in menu
>>>> To: openbox at icculus.org
>>>> Date: Wednesday, December 17, 2008, 3:47 PM
>>>> 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
>>>>
>>>>
>>>>
>>> I guess that my first question, when looking at the obam.pl script would have to be if you have anything in any of the paths that are listed in the APPSDIR.
>>>
>>> And second thing that came to mind. Did you set obam.pl as executable??
>>>
>>> __
>>> Knute
>>>
>> both done:
>>
>> tom at localhost: ~/.config/openbox $ ls -l
>> -rw-r--r-- 1 tom tom 272 Dez 17 22:38 menu.xml
>> -rwxr-xr-x 1 tom tom 3328 Dez 18 08:38 obam.pl
>> -rw-r--r-- 1 tom tom 22768 Dez 6 22:22 rc.xml
>>
>> tom at localhost: /usr/share/applications $ ls
>> audacious.desktop
>> cactusjukebox.desktop
>> defaults.list
>> emelfm2.desktop
>> and much more .....
>>
>>
>
>
More information about the openbox
mailing list