kmail

Jonas Norlander jonorland at gmail.com
Fri Mar 14 18:22:51 UTC 2008


2008/3/13, Derek Broughton <news at pointerstop.ca>:
> Jonas Norlander wrote:
>
>  > 2008/3/13, Derek Broughton <news at pointerstop.ca>:
>  >> Tom R wrote:
>  >>
>  >>  > Jamie,
>  >>  >
>  >>  > The discussion didn't seem to cover how to add an item
>  >>  > to the KDE Menu though it would seem that it was the
>  >>  > obvious answer to your problem.
>  >>
>  >> It 's NOT the obvious answer to his problem, though.  KMail isn't
>  >> _supposed_
>  >>  to have a menu entry, but in any case, if he can't run it from the
>  >>  console, he can't run it from a menu.
>  >
>
> > Kmail has always had an menu entry in all distros i have tried and
>  > looking at the source
>  > there is a KMail.desktop there so it's probably _supposed_ to have a menu.
>
>
> No.  Having a .desktop file doesn't mean it should have a menu.  In fact,
>  this one is _specifically_ to prevent it having a menu:
>
>  $ tail -n3 /usr/share/applications/kde/KMail.desktop
>  X-DCOP-ServiceName=kmail
>  Categories=Qt;KDE;Network;Office;Email;
>  NoDisplay=true

You missread my mail. That file you showing is not in the original
source tarball.
It's probably added by kubuntu developer.
The desktop file in the sources (kdepim-3.5.9.tar.bz2) that i mention
looks like this

[Desktop Entry]
Encoding=UTF-8
Name=KMail
Type=Application
Exec=kmail -caption "%c" %i %m
Icon=kmail
DocPath=kmail/index.html
GenericName=Mail Client
Terminal=false
X-KDE-StartupNotify=true
X-DCOP-ServiceType=Unique
X-DCOP-ServiceName=kmail
ServiceTypes=DCOP/ResourceBackend/IMAP,DCOP/Mailer
Categories=Qt;KDE;Network;Office;Email;

and as far as i understand it that desktop file _will_ give a
menuentry for KMail.

/ Jonas




More information about the kubuntu-users mailing list