How to Restart Gnome Shell from Command Line?
I Would Like to Implement a Keyboard Shortcut to Restart Gnome-Shell Whenever This One Crashes (Some Bugs Aren't Currently Fixed Just Yet). for This I Would...
I would like to implement a keyboard shortcut to restart gnome-shell whenever this one crashes (some bugs aren't currently fixed just yet). For this I would need a command line to restart the shell.
The Alt+F2 and restart command won't work when the shell is crashed because the prompt is implemented in the shell.
Hence, how to restart the gnome-shell from command line?
10 Answers
Must Read
GNOME Shell 3.30.1 on Ubuntu 18.10
The command to replace gnome-shell would be sending a SIGQUIT signal to it with:
killall -3 gnome-shell
or:
killall -SIGQUIT gnome-shell
As of GNOME Shell 3.30.1 on Ubuntu 18.10, the solution below no longer works, and will kick the user to the login screen, losing all of their work.