Re: Kontact does not remember pdf assignment

Gene Heskett <[email protected]>
Newsgroups gmane.comp.kde.users.pim
Message-ID <[email protected]>
On Tuesday 14 October 2014 05:34:59 Kevin Krammer did opine
And Gene did reply:
> On Wednesday, 2014-10-08, 23:32:12, Wolf Drechsel wrote:
> > Hi everybody,
> > 
> > whenever I receive a pdf attachment, Kontact asks for the helper
> > application. I ever select "Dokument-Betrachter" (evince) and
> > "remember" in the following dialogue - but Kontact doesnt remember
> > that.
> > 
> > 
> > In kde-settings, "Dokument-Betrachter" is selected as well - but that
> > doesnt matter either.
> 
> Does it work when used from another program, e.g. clicking a PDF in
> Dolphin?
> 
> Do you get the desired program listed first in the output of
> 
> ktraderclient --mimetype application/pdf
> 
> Cheers,
> Kevin

This was a new command to me, so of course I had to try it.  And I get the 
impression that my kde install is broken several ways.  The output is 
quite voluminous with a pipe to less in order to read it all needed.

First, before it even opens the pipe to less, I get this:
gene@coyote:~$ ktraderclient --mimetype application/pdf|less
ktraderclient(15037)/kdecore (services) KServicePrivate::property: Request 
for unknown property ' "Caption" '
ktraderclient(15037)/kdecore (services) KServicePrivate::property: Request 
for unknown property ' "UntranslatedGenericName" '
ktraderclient(15037)/kdecore (services) KServicePrivate::property: Request 
for unknown property ' "UntranslatedGenericName" '
ktraderclient(15037)/kdecore (services) KServicePrivate::property: Request 
for unknown property ' "X-Ubuntu-Gettext-Domain" '
ktraderclient(15037)/kdecore (services) KServicePrivate::property: Request 
for unknown property ' "UntranslatedGenericName" '
ktraderclient(15037)/kdecore (services) KServicePrivate::property: Request 
for unknown property ' "X-GNOME-Bugzilla-Bugzilla" '
ktraderclient(15037)/kdecore (services) KServicePrivate::property: Request 
for unknown property ' "X-GNOME-Bugzilla-Component" '
ktraderclient(15037)/kdecore (services) KServicePrivate::property: Request 
for unknown property ' "X-GNOME-Bugzilla-OtherBinaries" '
ktraderclient(15037)/kdecore (services) KServicePrivate::property: Request 
for unknown property ' "X-GNOME-Bugzilla-Product" '
ktraderclient(15037)/kdecore (services) KServicePrivate::property: Request 
for unknown property ' "X-GNOME-Bugzilla-Version" '
ktraderclient(15037)/kdecore (services) KServicePrivate::property: Request 
for unknown property ' "X-Ubuntu-Gettext-Domain" '
ktraderclient(15037)/kdecore (services) KServicePrivate::property: Request 
for unknown property ' "UntranslatedGenericName" '
ktraderclient(15037)/kdecore (services) KServicePrivate::property: Request 
for unknown property ' "X-Ayatana-Desktop-Shortcuts" '
ktraderclient(15037)/kdecore (services) KServicePrivate::property: Request 
for unknown property ' "X-GNOME-FullName" '
ktraderclient(15037)/kdecore (services) KServicePrivate::property: Request 
for unknown property ' "X-Ubuntu-Gettext-Domain" '
ktraderclient(15037)/kdecore (services) KServicePrivate::property: Request 
for unknown property ' "UntranslatedGenericName" '
ktraderclient(15037)/kdecore (services) KServicePrivate::property: Request 
for unknown property ' "X-GNOME-Bugzilla-Bugzilla" '
ktraderclient(15037)/kdecore (services) KServicePrivate::property: Request 
for unknown property ' "X-GNOME-Bugzilla-Component" '
ktraderclient(15037)/kdecore (services) KServicePrivate::property: Request 
for unknown property ' "X-GNOME-Bugzilla-Product" '
ktraderclient(15037)/kdecore (services) KServicePrivate::property: Request 
for unknown property ' "X-GNOME-Bugzilla-Version" '
ktraderclient(15037)/kdecore (services) KServicePrivate::property: Request 
for unknown property ' "X-GNOME-DocPath" '
ktraderclient(15037)/kdecore (services) KServicePrivate::property: Request 
for unknown property ' "X-Ubuntu-Gettext-Domain" '

But after running it once with sudo that is gone, and less then shows me 
this, clipped to choice 0:

mimetype is : application/pdf
got 6 offers.
---- Offer 0 ----
Invalid property Caption
Invalid property UntranslatedGenericName
X-KDE-StartupNotify : 'FALSE'
Type : 'Application'
Name : 'Adobe Reader 9'
Invalid property Comment
GenericName : 'PDF Viewer'
Icon : 'AdobeReader9'
Exec : 'acroread'
Terminal : 'FALSE'
Invalid property TerminalOptions
Invalid property Path
ServiceTypes : 'application/pdf - application/vnd.fdf - 
application/vnd.adobe.pdx - application/vnd.adobe.xdp+xml - 
application/vnd.adobe.xfdf - Application'
AllowAsDefault : 'TRUE'
InitialPreference : '9'
Invalid property Library
DesktopEntryPath : '/usr/share/applications/acroread.desktop'
DesktopEntryName : 'acroread'
Keywords : ''
Categories : 'Application - Office - Viewer - X-Red-Hat-Base'

All 6 of the "offers" have the same general blathering about "Invalid 
Property"

I installed enough kde to get kmail on the server version of ubuntu 
10.04.4 LTS, and am stuck with that for compatibility reasons with the 
other 2 main machines on my local net, so the only major thing is I'm 
running a home made version of 3.16.0 for the kernel.

Other than this kernel being built with PAE and not RTAI, the only thing I 
lost from the installed and pinned kernel, is the ability to run LinuxCNC 
in the realtime mode, only simulations now run here.  The advantage of 
this kernel is that I am not a gigabyte into swap in 36 hrs uptime since 
it does see all 8Gb of ram.

That, and in kmail 1.13.5, the "sticky' checkboxes don't mean a thing, it 
still picks all of those sending mail options at random and I am forced to 
check that all of that stuff is correct before hitting send.

Is there anything I can do to fix these 2 problems?

Thanks.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS
_______________________________________________
KDE PIM users mailing list
Subscription management: https://mail.kde.org/mailman/listinfo/kdepim-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.