Thomas Adam <[email protected]> writes:
> On Tue, Apr 26, 2011 at 09:31:02PM -0400, [email protected] wrote:
>> Jesús J. Guerrero Botella <[email protected]> writes:
>>
>> > $ ls /etc/xdg/menus/
>> > kde-4.6-applications.menu kde-information.menu lxde-applications.menu
>> >
>> > I can send you the files if you need to take a look inside.
>>
>> Yes, send me lxde-applications.menu.
>> It's the only one of those that I don't have.
>>
>> I think kde-4.6-applications would serve as a main menu, but
>> obviously, a name like that is a moving target.
>
> Can't we just glob() for these or do a readdir() on these?
No, you're on the wrong track.
All that needs changing is the identifier for the root menu.
This code:
my @menu_bases = (qw(
applications
debian-menu
)
);
Just add lxde-applications to that list like this:
my @menu_bases = (qw(
lxde-applications
applications
debian-menu
)
);
and you'll be in business.
But none of this makes sense to me.
The code we are using came from arch-linux.
I'll see if I can figure out what they've been up to.