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

Re: new menu entry ...



On Fri, Apr 04, 2003 at 03:19:26PM +0200, Christian Marillat wrote:
> Sven Luther <luther@dpt-info.u-strasbg.fr> writes:
> 
> > On Fri, Apr 04, 2003 at 12:56:22PM +0100, Ross Burton wrote:
> > On Fri, 2003-04-04 at 12:52, Christian Marillat wrote:
> > > You can also find desktop files in /usr/share/gnome/apps or you can
> > > search these files with 'dpkg -S .dektop'
> > 
> > That's the deprecated location which only works with GNOME 1 and GNOME 2
> > reads for backward-compat.
> > 
> > .desktop files go in /usr/share/applications -- this way KDE3 picks them
> > up too.
> 
> > I have done this :
> 
> > $ cat /usr/share/applications/unicorn.desktop 
> > [Desktop Entry]
> > Name=Unicorn status
> > Comment=Bewan ADSL modem status monitor
> > Exec=/usr/bin/bewan_adsl_status
> > Terminal=false
> > Type=Application
> > MimeType=application/x-executable
> > Categories=System;Network;Monitor
> 
> $ cat  /usr/share/applications/unicorn.desktop         
> [Desktop Entry]
> Encoding=UTF-8
> Name=Unicorn status
> Comment=Bewan ADSL modem status monitor
> Exec=bewan_adsl_status
> Terminal=false
> Type=Application
> Categories=GNOME;Application;System;

Ok, this did the trick, thanks, i will soone upload the new unicorn
package.

BTW, just two questions still :

1) is the trailing ; needed ?

2) the app is really not all that gnome specific, will it also be showed
in a KDE desktop, despite its leading GNOME category ?

And is the System submenu right for this, or should it go under testing ?

Friendly,

Sven Luther



Reply to: