screenFetch icon indicating copy to clipboard operation
screenFetch copied to clipboard

Screenfetch not working with plasma 5.8

Open ghost opened this issue 9 years ago • 16 comments

Running screenfetch with this versions returns 2 errors, nothing appears These are the errors:

[[ ! ]] KCrash: Application 'kded5' crashing...
[[ ! ]] KCrash: Attempting to start /usr/lib/drkonqi from kdeinit

Maybe it is an upstream issue or an API change, just informing this c:

ghost avatar Oct 13 '16 12:10 ghost

Are these commands working for you?

kded --version
kded5 --version
kded4 --version

darealshinji avatar Oct 13 '16 13:10 darealshinji

The first one returns command not found The second one returns something but then an error

kded5 5.27.0
KCrash: Application 'kded5' crashing...
KCrash: Attempting to start /usr/lib/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0
[1]  + 8901 suspended (signal)  kded5 --version

And the last one gives no problems

Qt: 4.8.7
KDE Development Platform: 4.14.24
KDE Daemon: 4.14.24

ghost avatar Oct 13 '16 13:10 ghost

It's the same for me with kded and kded4, but kded5 works fine for me:

$ kded5 --version
kded5 5.27.0

darealshinji avatar Oct 13 '16 13:10 darealshinji

Im currently using archlinux, maybe that has something to do with this issue :/

ghost avatar Oct 13 '16 13:10 ghost

same, wait update to fix it

evilxyz avatar Oct 28 '16 00:10 evilxyz

Same here, with arch linux.

npit avatar Oct 29 '16 01:10 npit

The error seems to be from a buggy kde configuration with ibus. Removing the file in /home/USERNAME/.config/ibus/bus/ does the trick.

npit avatar Nov 15 '16 22:11 npit

I dont have installed ibus, that folder doesn't exist, the problem still exists :/ The problem still appears.

ghost avatar Nov 15 '16 22:11 ghost

Go to ~/.config , make a directory ~/backup-.config. Move half of everything in ~/.config into the backup folder. If kded5 still crashes, move half of what's left. Repeat until it stops crashing. When it does, the culprit configuration file will be one in the last transfer you made. Move files around until you find what it is and delete it or fix what setting is false, if possible. When you do, restore everything from the backup folder, overwriting potential collisions.

Edit: Sadly whenever that file is generated again by ibus, kded5 and subsequently screenfetch start crashing again.

npit avatar Nov 15 '16 22:11 npit

For me this issue seems to be related to the theme that I use. I don't have this issue when I use kvantum theme engine, but as soon as I revert back to breeze theme, screenfetch crashes kded. I have never installed ibus so I don't think this problem is related to ibus.

jiaan avatar Nov 22 '16 16:11 jiaan

I think this is about locale settings,try to edit /usr/bin/screenfetch and comment these lines

LANG=C LANGUAGE=C LC_ALL=C

redapple0204 avatar Nov 26 '16 14:11 redapple0204

Hmm... after searching for other problems related to kde (some applications crash on close), the solution for that was adding this line to your .xprofile file in your home

export KDE_DEBUG=1

this removed the crash reports and "happily" and unknowingly also fixed screenfetch.

ghost avatar Nov 26 '16 14:11 ghost

The above fix works for me as well.

npit avatar Nov 26 '16 17:11 npit

Does it also fix the issue if you remove the line from .xprofile but instead add it to the top of screenFetch?

darealshinji avatar Nov 27 '16 11:11 darealshinji

I meet the same problem, and I am very glad to solve this problem. I just add a line export KDE_DEBUG=1 to my .xprofile in my home. 😄

craneyuan avatar Nov 28 '16 01:11 craneyuan

Hi, I'm using arch with i3wm, having this issue. Tried to comment out those 3 lines and added .xprofile to my home with export KDE_DEBUG=1 but that didn't fix it.

Aleynikovich avatar May 11 '17 08:05 Aleynikovich