Solution for crashing KDE applications on Linux Mint 17.1 Cinnamon

Cinnamon desktop on Linux Mint 18.2

On one of my test systems, I have Linux Mint 17.1 Cinnamon installed. However, I still like to use KSnapshot, the screenshot application for KDE.

And that’s because it’s better than the equivalent application in Cinnamon.

The only problem is it crashes anytime I want to save a screenshot. And because Linux Mint Cinnamon does not have a bug reporting tool installed, the only way to find out why it’s crashing is to start it from the command line.

A sample crash “report” is shown below:

ksnapshot(6237)/kdeui (KIconLoader): Error: standard icon theme "oxygen" not found! 

ksnapshot(6237): No ksycoca4 database available! 

ksnapshot(6237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType  "KIPI/Plugin"  not found 
ksnapshot(6237) KSnapshot::KSnapshot: Mode =  0

(ksnapshot:6237): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 'GTK_IS_WIDGET (widget)' failed

(ksnapshot:6237): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 'GTK_IS_WIDGET (widget)' failed
ksnapshot(6237): No ksycoca4 database available! 

ksnapshot(6237)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType  "QImageIOPlugins"  not found 
ksnapshot(6237) fileModule: Failed to load configured file module "kfilemodule"
KCrash: Application 'ksnapshot' crashing...
KCrash: Attempting to start  from kdeinit
KCrash: Connect sock_file=/home/kamit/.kde/socket-kamithu/kdeinit4__0
Warning: connect() failed: : No such file or directory
KCrash: Attempting to start  directly
KCrash failed to exec(), errno = 2
Unable to start Dr. Konqi
Not forwarding the crash to Apport.

From that, it looks like the system is missing key KDE libraries and plugins. The solution? Install them using sudo apt-get install -y kdelibs-bin kdelibs5-data kdelibs5-plugins.

Not that I’ve only observed this crashing on Linux Mint 17 and 17.1 Cinnamon. I’m running Fedora 22 Cinnamon on another computer with several KDE applications installed. So far, they’ve not being crashing.

Related Post:  So what happened to PC-BSD?

Share:

Share on facebook
Facebook
Share on twitter
Twitter
Share on pinterest
Pinterest
Share on linkedin
LinkedIn

Hola! Did you notice that LinuxBSDos.com no longer run network ads?  Yep, no more ads from the usual suspects that track and annoy you across the Internet. But since I still need to pay to keep the site running, feel free to make a small donation by PayPal or your favorite cryptocurrency.

  • Bitcoin
  • Ethereum
  • Xrp
  • Bitcoin cash
  • Bitcoin sv
  • Litecoin
  • Binance coin
  • Cardano
  • Ethereum classic
Scan to Donate Bitcoin to bc1qzvlte2m224zkayhdc7fdfjkp2rsgt0l5a496ua

Donate Bitcoin to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin

Scan to Donate Ethereum to 0x0F4362DFF77F3Ba0Dc637F5f3Eba35D09a2fA60C

Donate Ethereum to this address

Scan the QR code or copy the address below into your wallet to send some Ethereum

Scan to Donate Xrp to r4ggjvL36njsMCYTkJ3S7cTHscPsMsSGQv

Donate Xrp to this address

Scan the QR code or copy the address below into your wallet to send some Xrp

Scan to Donate Bitcoin cash to qrs0dedzp9t55af3nfwypydghp29r0xguy9s20fz2k

Donate Bitcoin cash to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin cash

Scan to Donate Bitcoin sv to 15K9TLyVDBtLuG9cYvXCX9SSkq9C9oUKHK

Donate Bitcoin sv to this address

Scan the QR code or copy the address below into your wallet to send some Bitcoin sv

Scan to Donate Litecoin to LetJ9QQMb7u2LMZ9Tu6rtHwcBcQFW98fbG

Donate Litecoin to this address

Scan the QR code or copy the address below into your wallet to send some Litecoin

Scan to Donate Binance coin to bnb1ga8trq08ssqepd90v6225nzfgy448pu5pw8gxp

Donate Binance coin to this address

Scan the QR code or copy the address below into your wallet to send some Binance coin

Scan to Donate Cardano to addr1qx2354yw49etstfljpdhwja3ajjlt487lg95vu9ngy2q6vu4rf2ga2tjhqknlyzmwa9mrm997h20a7stgectxsg5p5esq5l7d9

Donate Cardano to this address

Scan the QR code or copy the address below into your wallet to send some Cardano

Scan to Donate Ethereum classic to 0xcD6CC972a2297FcafACDcfE042C55C69516a9264

Donate Ethereum classic to this address

Scan the QR code or copy the address below into your wallet to send some Ethereum classic

Subscribe for updates. Trust me, no spam!

Sponsored links

1. Attend Algorithm Conference, a top AI and ML event.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.

Upcoming events

9 Responses

  1. This fix is still needed in 17.3! The fix still works with 17.3, but it has additional issues for me with icon’s, searched for and found “oxygen-icon-theme-complete”, that ALSO needed to be installed. Its in the Linux Mint “Software Manager”, though I don’t have the sudo install command, If someone figures this out, please reply…

  2. Thanks—this also solves problems on a Linux Mint 17.2 installation.

    In my case I was experiencing this when trying to run Kexi, so I initially thought it was a Kexi packaging issue. Since it seems to affect a number of KDE packages, perhaps it’s a KDE packaging issue?

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the latest

On social media
Via my newsletter

Partner links

1. Attend Algorithm Conference, a top AI and ML event for 2021.
2. Reasons to use control panel for your server.
3. DHgate Computers Electronics, Cell Phones & more.
Hacking, pentesting distributions

Linux Distributions for Hacking

Experts use these Linux distributions for hacking, digital forensics, and pentesting.

Categories
Archives

The authors of these books are confirmed to speak during

Algorithm Conference

T-minus AI

Author was the first chairperson of AI for the U.S. Air Force.

The case for killer robots

Author is the Director of the Center for Natural and Artificial Intelligence.

Why greatness cannot be planned

Author works on AI safety as a Senior Research Scientist at Uber AI Labs.