# Easily restart KDE!

**URL:** <https://forum.endeavouros.com/t/easily-restart-kde/14539>\
**Category:** General system\
**Created:** [May 19, 2021, 6:56am UTC](https://forum.endeavouros.com/t/easily-restart-kde/14539 "2021-05-19T06:56:50Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Kresimir](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/kresimir/32/73739_2.png) [@Kresimir](https://forum.endeavouros.com/u/Kresimir)\
**Post date:** [May 20, 2021, 8:02pm UTC](https://forum.endeavouros.com/t/easily-restart-kde/14539/6 "2021-05-20T20:02:29Z")

</div>

Relevant for KDE:

> [@\[Tip\] Logout of Plasma Session from the Terminal](https://forum.endeavouros.com/t/tip-logout-of-plasma-session-from-the-terminal/8699/2):
>
> By changing the numbers in the command you can do other log-out-related stuff. As mentioned above qdbus org.kde.ksmserver /KSMServer logout 1 0 1 will display the logout menu, with the “Log Out” button selected. qdbus org.kde.ksmserver /KSMServer logout 1 1 1 will do the same, but with the “Restart” button selected. Changing it to 0 1 1 will [restart your computer](https://forum.endeavouros.com/t/guidance-requested-gui-reboot-vs-command-line-reboot/9019/8) without prompting you. 0 2 1 will shut it down. I’ll leave it to you to figure out what the other combinations do wink At the…

Relevant for Linux in general:

> [@\[Tip\] Enable Magic SysRq Key (REISUB)](https://forum.endeavouros.com/t/tip-enable-magic-sysrq-key-reisub/7576):
>
> The Linux kernel authors have provided a very nice feature of issuing low-level commands to the kernel directly, regardless of the state the system is in. This is called the “Magic SysRq Key”, because these commands are issued by pressing the SysRq key on the keyboard (if you can’t find it, typically, it shares the same physical key as the Print Screen key, but on some laptops it can be elsewhere). A common use is to reboot when the computer freezes and becomes unresponsive due to some software…

---

_[View the full topic](https://forum.endeavouros.com/t/easily-restart-kde/14539)._
