I ran into a bit of an error after one of the upgrades:
We are sorry ,drkonqi closed unexpectedly…
I fixed it by sshing into the machine (changing to another TTY will work too I suppose) and running few commands as a user.
rm ~/.cache/ksycoca*
kbuildsycoca5
While this command was running it spit an error:
kbuildsycoca5 running…
kf5.kservice.sycoca: Parse error in “/home/andrzejl/.config/menus/applications-merged/xdg-desktop-menu-dummy.menu” , line 1 , col 1 : “unexpected end of file”
so I removed the file that couldn’t be parsed:
rm /home/andrzejl/.config/menus/applications-merged/xdg-desktop-menu-dummy.menu
and re-run the command. This time it went smooth:
kbuildsycoca5
Then I ran another command that added a tidbit as a last line to the ~/.bash_profile file:
echo 'export KDE_DEBUG=1' >> ~/.bash_profile
and tested if it took:
cat ~/.bash_profile
and the terminal spits out:
export KDE_DEBUG=1
Saul Goodman…
Then gain root and reboot:
su -c "reboot"
After the reboot plasma loaded successfully and I was good to go.
Cheers.
Andrzej
Transcript:
[andrzejl@macmini32 ~]$ rm ~/.cache/ksycoca*
[andrzejl@macmini32 ~]$ kbuildsycoca5
[andrzejl@macmini32 ~]$ kbuildsycoca5 running…
kf5.kservice.sycoca: Parse error in “/home/andrzejl/.config/menus/applications-merged/xdg-desktop-menu-dummy.menu” , line 1 , col 1 : “unexpected end of file”
[andrzejl@macmini32 ~]$ rm /home/andrzejl/.config/menus/applications-merged/xdg-desktop-menu-dummy.menu
[andrzejl@macmini32 ~]$ kbuildsycoca5
kbuildsycoca5 running…
[andrzejl@macmini32 ~]$ echo ‘export KDE_DEBUG=1’ >> ~/.bash_profile
[andrzejl@macmini32 ~]$ cat ~/.bash_profile
export KDE_DEBUG=1
[andrzejl@macmini32 ~]$ su -c “reboot”
Password:
Connection to macmini32 closed by remote host.
Connection to macmini32 closed.