I’m using Debian 9.4 and this freaking KDE5 is freezing very often! What you can do when your desktop stops responding? Restart computer? Use ALT+CTRL+F1…12? Nah! There’s a better solution!
Simply edit your ~/.bash_aliases:
nano ~/.bash_aliases
And append to it:
alias restart-plasma='kquitapp5 plasmashell && kstart plasmashell'
Now whenever your plasma desktop starts trolling you, go to your console and type restart-plasma voilà! Dezombified!
PS. Use tilda to open console in every shitty situation you’ll get into! Simply press F12 and you’ll get nice Quake like terminal.