Hi,

Sorry for reply so late.  I tried a lot these days.

2014-09-21 18:11 GMT+08:00 Andrej N. Gritsenko <and...@rep.kiev.ua>:

>     Hello!
> >> What is the menu you mention with wrong prefix?
>
> >I'm working on customizing the ubuntu series for our project named ezgo.
> I
> >set the XDG_MENU_PREFIX to "ezgo-".
> >Then I put a ezgo-applications.menu into /etc/xdg/lubuntu/menus (and
> >/etc/xdg/menus also).  However, the content of the menu still shows
> >/etc/xdg/lubuntu/menus/lxde-applications.menu.
>
>     You haven't answered my question so I try to guess it is the menu
> shown in lxpanel. I have to ask you two questions then:
> 1) what is $XDG_MENU_PREFIX shown when you start terminal using the menu
> (and I suppose you don't set XDG_MENU_PREFIX in .bashrc or .profile)?
> 2) what your lxpanel and libmenu-cache versions are?
>
>
On second and third and a lot tries, I found that I made some mistakes.  I
used to put a "ezgo.conf" in /etc/xdg/lxsession/Lubuntu with

[Environment]
type=lubuntu
menu_prefix=ezgo-

And the XDG_MENU_PREFIX became ezgo- on my first try.  However then I found
that it didn't work if I started from the very beginning.  I.e., it didn't
work only to put ezgo.conf in lxsession/Lubuntu.  The previous results may
be caused by other actions like to put it in /etc/profile.d.

So I changed the value in desktop.conf and the XDG_MENU_PREFIX became ezgo-
successfully.  It also read the correct menu file :
/etc/xdg/menus/ezgo-applications.menu.  Now I'm fighting with the content
of the menu file.  I found that LXDE menu would have nothing unless I
comment out one of the submenu.  It also meant that the implementations of
XDG menu spec are different from what KDE does, because the menu would work
under KDE (Kubuntu).

I'm still trying.  Now my current question would be:  is it possible to
overwrite the menu_prefix settings WITHOUT having to change the
desktop.conf directly?  I made an ezgo-menu deb package and it needs to
follow the rule of Debian packaging, which means that I couldn't modify the
existing files from other packages (if I interpret the rule correctly).

Thanks for your help!



Franklin
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Lxde-list mailing list
Lxde-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to