Skip to content

Instantly share code, notes, and snippets.

@jojojojojoj5564656465465
Created November 16, 2022 23:38
Show Gist options
  • Save jojojojojoj5564656465465/91a9a3dd1ee8ba12c5d0d48e7c9e4ef8 to your computer and use it in GitHub Desktop.
Save jojojojojoj5564656465465/91a9a3dd1ee8ba12c5d0d48e7c9e4ef8 to your computer and use it in GitHub Desktop.
You are not able to use kde linux after hibernation do not worry ~/.local/share/applications/"Restart Plasma Shell and Kwin.desktop"
[Desktop Entry]
Comment=Restart Plasma Shell and KWin
Exec=kwin_x11 --replace; plasmashell --replace
GenericName=Restart Plasma Shell and KWin
Icon=chronometer-reset
Name=Restart Plasma Shell and Kwin
NoDisplay=false
Path[$e]=
StartupNotify=true
Terminal=0
TerminalOptions=
Type=Application
X-KDE-SubstituteUID=false
X-KDE-Username=
@jojojojojoj5564656465465
Copy link
Author

For KDE Neon users or other instable KDE distro, is nice to have a shortcut to restart both Plasma and KWin whatever its freeze.

I have created mine in the ~/.local/share/applications/"Restart Plasma Shell and Kwin.desktop" with the following content: When something went wrong but I'm still able to call KRunner, I simply type Restart K... and the shortcuts just appears to save me.

Source : https://www.reddit.com/r/kde/comments/a5d2ly/how_do_you_properly_restart_kwin_and_plasmashell/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment