J'ai récemment installé Okular sur mon Ubuntu 14.04.
Le problème, c’est que lorsque j’ouvre les fichiers pdf, okular me donne l’erreur "Vous ne trouvez pas de plug-in capable de gérer le document transmis".
Lorsque j'ai exécuté Okular par Terminal, voici le message que je reçois.
admin@me:~$ okular ex01.pdf
okular(14100)/kdeui (KIconLoader): Error: standard icon theme "oxygen" not found!
okular(14100)/kdeui (KIconLoader): Error: standard icon theme "oxygen" not found!
okular(14100) KPixmapSequence::Private::loadSequence: Invalid pixmap specified.
okular(14100) KPixmapSequence::Private::loadSequence: Invalid pixmap specified.
okular(14100) KPixmapSequence::frameSize: No frame loaded
okular(14100) KPixmapSequence::Private::loadSequence: Invalid pixmap specified.
okular(14100) KPixmapSequence::frameSize: No frame loaded
okular(14100) KPixmapSequence::Private::loadSequence: Invalid pixmap specified.
okular(14100) KPixmapSequence::frameSize: No frame loaded
okular(14100) KPixmapSequence::Private::loadSequence: Invalid pixmap specified.
okular(14100) KPixmapSequence::frameSize: No frame loaded
okular(14100) KPixmapSequence::Private::loadSequence: Invalid pixmap specified.
okular(14100) KPixmapSequence::frameSize: No frame loaded
okular(14100) KPixmapSequence::Private::loadSequence: Invalid pixmap specified.
okular(14100) KPixmapSequence::frameSize: No frame loaded
okular(14100): No ksycoca4 database available!
okular(14100)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "okular/Generator" not found
okular(14100)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(14100)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(14100)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(14100)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(14100)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
okular(14100): No ksycoca4 database available!
okular(14100)/kdecore (trader) mimeTypeSycocaServiceOffers: KMimeTypeTrader: mimeType "application/pdf" not found
okular(14100): No ksycoca4 database available!
okular(14100)/kdecore (trader): KMimeTypeTrader: couldn't find service type "okular/Generator"
Please ensure that the .desktop file for it is installed; then run kbuildsycoca4.
okular(14100)/okular (app) Okular::Document::openDocument: No plugin for mimetype '"application/pdf"'.
okular(14100): Couldn't start knotify from knotify4.desktop: "KLauncher could not be reached via D-Bus. Error when calling start_service_by_desktop_path:
The name org.kde.klauncher was not provided by any .service files
"
okular(14100)/kdeui (KNotification) KNotification::slotReceivedIdError: Error while contacting notify daemon "The name org.kde.knotify was not provided by any .service files"
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x2a0002e
okular(14110) KPixmapSequence::Private::loadSequence: Invalid pixmap specified.
okular(14110) KPixmapSequence::frameSize: No frame loaded
okular(14110) KPixmapSequence::Private::loadSequence: Invalid pixmap specified.
okular(14110) KPixmapSequence::frameSize: No frame loaded
okular(14110) KPixmapSequence::Private::loadSequence: Invalid pixmap specified.
okular(14110) KPixmapSequence::frameSize: No frame loaded
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x2a0001d
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x2a0001d
Je serais très apprécié pour toute suggestion visant à résoudre ce problème. Merci beaucoup :)
C'était assez ennuyant, mais:
Sudo apt-get install kdelibs5-plugins kdelibs5-data oxygen-icon-theme
J'ai eu le même message d'erreur. Dans mon cas, Okular était installé avec Sudo
et les dépendances KDE étaient installées dans le dossier de base sous .kde
, mais avec root en tant que propriétaire et groupe.
J'ai changé en cours d'exécution:
Sudo chown -R youruser .kde
Sudo chgrp -R youruser .kde
alors cela a fonctionné normalement.
Selon les notes de publication de Linux mint, rubrique "Problèmes liés aux applications KDE".
Si vous rencontrez des problèmes avec les applications KDE (Okular, Gwenview, KStars..etc), exécutez la commande suivante:
apt install kdelibs-bin kdelibs5-data kdelibs5-plugins
Remarque: ces problèmes n'affectent pas l'édition KDE. Une régression dans KDE 4.14 empêche ces applications de fonctionner correctement en dehors de KDE.
Ouvrez le gestionnaire de paquets Synaptic et recherchez kde-core-devel
Installez tous les packages sous la version 4:4.14.2-0ubuntu1~ubuntu14.04~ppa1
. Recherchez ensuite oxygen
et installez le thème icône Oxygène.