Version: (using KDE 4.1.2) OS: Linux Installed from: Mandriva RPMs As it is impossible to print a pdf document inside konqueror http://bugs.kde.org/show_bug.cgi?id=161759 i would like to change to kpdf but was impossible as okular is implented to konqueror My problem now is that i cannot choose okular associate with the pdf files type , every time i choose okular in "open with ..." i have the error message "the service okularChm.desktop is bad formated how can i resolve this problem !!
Εφαρμογή: KEditFileType (keditfiletype), σήμα SIGABRT (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 0xb5dd59a0 (LWP 881)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [KCrash handler] #6 0xffffe424 in __kernel_vsyscall () #7 0xb6724d90 in raise () from /lib/i686/libc.so.6 #8 0xb67267f8 in abort () from /lib/i686/libc.so.6 #9 0xb7894445 in qt_message_output () from /usr/lib/libQtCore.so.4 #10 0xb7894535 in qFatal () from /usr/lib/libQtCore.so.4 #11 0xb78945e5 in qt_assert () from /usr/lib/libQtCore.so.4 #12 0x080585bc in _start ()
i ve deleted the file ~/.local/share/applications/mimeapps.list and now Okular came back automatically and is the associated application for the pdf files
Did you keep a copy of that mimeapps.list? I assume it mentionned okularChm.desktop? I see that it's a part, but the desktop file doesn't look invalid to me. If you don't have mimeapps.list anymore, can you recreate the bug by using "keditfiletype application/pdf" and changing the order of the applications in the first tab, or the order of the components in the second tab?
i can reproduce it any time. [dimitri@localhost ~]$ cat ~/.local/share/applications/mimeapps.list [Added Associations] application/xhtml+xml=kde4-kfmclient_html.desktop;kde4-kwrite.desktop;writer.desktop;firefox.desktop; text/html=kde4-kfmclient_html.desktop;firefox.desktop;kde4-kwrite.desktop;writer.desktop; video/x-flv=totem.desktop;kde4-kmplayer.desktop; [Added KDE Service Associations] application/pdf=nsplugin.desktop; application/x-shockwave-flash=kmplayer_part.desktop;nsplugin.desktop; [Removed Associations] application/pdf=kde4-okularApplication_pdf.desktop; [dimitri@localhost ~]$ [dimitri@localhost ~]$ systemsettings [dimitri@localhost ~]$ systemsettings(11365) FileTypesView::save: Entry "application/pdf" is dirty. Saving. [dimitri@localhost ~]$
I think I fixed this for 4.2 - r914365, on 2009-01-21. It happened when clicking on Okular in the tree, while typing "okular" would work.