Though pretty slick and usable by now, KDE4 is not exactly stable all the time, especially plasma.
ToDo after a desktop crash (found here) - if you are lucky enough to still have a shell:
kbuildsycoca4
kquitapp plasma-desktop
kstart plasma-desktop (see comment by Casian, thanks!)
I added #!/bin/bash in front and copied the script to /usr/bin to have it at the ready. It's cleaner that just killall plasma-desktop & plasma-desktop, because the system configuration cache is rebuilt first and KDE handles quit and start.
For pre-KDE 4.3 users:
plasma is now plasma-desktop, so, in the code above change plasma-desktop to plasma.
Thanks. It helped.
ReplyDeletecould also help if you added >/dev/null 2>&1 after the plasma line so you don't have to see any output from plasma in that shell.. as such:
ReplyDeleteplasma >/dev/null 2>&1
Thanks, i needed to restart plasma after running a xrandr script that changed the dpi and the fonts were too big
ReplyDeletei needed to replace the "plasma" line with "kstart plasma"
I'm an ubuntu user and have to replace "plasma" with "plasma-desktop"
ReplyDeleteThen you are probably on KDE4.3 (see the post), it's no fault of (K)Ubuntu :-)
ReplyDeleteI found that I needed to put a 'sleep 2' in between the kill and the start. Otherwise it would not start back up.
ReplyDeleteThanks a lot!
ReplyDeleteThanks for writing that up, mate. It solved my problem, which I explained on my blog:
ReplyDeletehttp://cretaceouslabs.com/blog/2010/01/if-plasma-dies-heres-what-to-do/
Wow, this hint worked for me to restart plasma.
ReplyDeleteI wonder if someone else have happened also to lost the Panel on KDE SC 4.4 final... it is not a critical thing, but is ultra annoying if you use the panel a lot.
wow, that helped me a lot. Thanks!
ReplyDelete