[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Menu editor in Debian's KDE?



On Sat, Jan 12, 2002 at 02:14:08PM -0800, Eric G. Miller wrote:
> 
> I'm not aware of a GUI tool that works on Debian menus.  However, the
> "spec" for them is very easy to write in any text editor.  Just plop
> system-wide menu changes in /etc/menu, then [as root] run "update-menus".
> You can make changes as a regular user as well, but then your personal
> menu's won't catch the modifications of the system wide ones until
> you run "update-menus".  The're docs on the menu system...
> 
> <example>
> ?package(local.staroffice):\
>        needs="x11"\
>        section="Apps/Local/StarOffice"\
>        title="StarOffice 5.1"\
>        command="/usr/local/Office51/bin/soffice"\
>        icon="/usr/local/Office51/s_soffice.xpm"
> 
> ?package(local.staroffice):\
>        needs="x11"\
>        section="Apps/Local/StarOffice"\
>        title="Setup"\
>        command="/usr/local/Office51/bin/setup"\
>        icon="/usr/local/Office51/s_soffice.xpm"
> </example>
> 
> 
> Note: In the "package(...)", the "local.*" tell the menu system not
> to verify that the package is installed (because it is locally installed
> and not under Debian's package management system).  You can override
> default menus that come with a package be putting a version in /etc/menu.
> Debian's menu files live in /usr/lib/menu/, so there are lots of examples.
> 

I am running woody and haven't been able to get it to work like that. I had to finally create a file named "local.soffice" in /usr/lib/menu. That seemed to work.
However I copied the section from Kword "Apps/Editors". But Kword shows up under Büroprogramme (Office Applications) whereas StarOffice shows up under Debian/Apps/Editors.
Very weird! Of course I would like StarOffice to show up under Büroprogramme as well. Couldn't figure that out so far from the docs.

Nico



Reply to: