我最近在我的Ubuntu14.04上安装了Okular。
问题是当我打开pdf文件时,okular给我的错误是“找不到能够处理被传递的文档的插件”。
当我在终点站运行Okular的时候,这就是我得到的信息。
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如能提出解决这一问题的建议,我将不胜感激。非常感谢:)
发布于 2015-02-07 03:57:19
这是很烦人的,但是:
sudo apt-get install kdelibs5-plugins kdelibs5-data oxygen-icon-theme发布于 2015-02-13 16:24:10
我也有同样的错误信息。在我的示例中,Okular是用sudo安装的,KDE依赖项安装在.kde下的主文件夹中,但根作为所有者和组。
我通过跑步改变了自己:
sudo chown -R youruser .kde
sudo chgrp -R youruser .kde然后就正常工作了。
发布于 2015-10-02 11:57:59
根据linux发行说明,在“KDE应用程序的问题”一节中
如果您遇到了KDE应用程序(Okular、Gwenview、KStars..etc)的问题,请运行以下命令:
apt install kdelibs-bin kdelibs5-data kdelibs5-plugins注:这些问题不影响KDE版本。KDE 4.14中的回归会阻止这些应用程序在KDE之外正常工作。
https://askubuntu.com/questions/515772
复制相似问题