In the Fedora+Cinnamon desktop, ALT+F2 opens a command window, and then entering a "r" causes the window session to be restarted, without terminating the login or any of the other running tasks.

What command can be executed, say from bash, to duplicate the effect of the "r" command?

dbus-send --type=method_call --print-reply --dest=org.Cinnamon \
     /org/Cinnamon org.Cinnamon.Eval string:'global.reexec_self()'

For the gnome equivalent, see How to restart Gnome... (Ubuntu). Modified for this case (Fedora+Cinnamon) with some help from comments following ALT+F2,"r"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.