Isso foi bem chato, mas:
sudo apt-get install kdelibs5-plugins kdelibs5-data oxygen-icon-theme
Recentemente instalei o Okular no meu Ubuntu 14.04.
O problema é quando eu abro arquivos pdf, okular me dá o erro "Não é possível encontrar um plugin que é capaz de manipular o documento que está sendo passado."
Quando eu corri o Okular pelo Terminal, esta é a mensagem que recebo.
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
Eu ficaria muito grato por qualquer sugestão para resolver este problema. Muito obrigado :)
Isso foi bem chato, mas:
sudo apt-get install kdelibs5-plugins kdelibs5-data oxygen-icon-theme
Eu tive a mesma mensagem de erro. No meu caso, o Okular foi instalado com sudo
e as dependências do KDE foram instaladas na pasta home em .kde
, mas com root como proprietário e grupo.
Eu mudei correndo:
sudo chown -R youruser .kde
sudo chgrp -R youruser .kde
funcionou normalmente.
De acordo com as notas de lançamento do linux mint na seção "Problemas com os aplicativos do KDE"
Se você tiver problemas com os aplicativos do KDE (Okular, Gwenview, KStars..etc), execute o seguinte comando:
apt install kdelibs-bin kdelibs5-data kdelibs5-plugins
Nota: Esses problemas não afetam a edição do KDE. Uma regressão no KDE 4.14 impede que estas aplicações funcionem bem fora da caixa do KDE.
Abra o Gerenciador de Pacotes Synaptic e procure por kde-core-devel
Instale todos os pacotes sob a versão 4:4.14.2-0ubuntu1~ubuntu14.04~ppa1
. Em seguida, pesquise oxygen
e instale o tema do ícone de oxigênio.