If the above shortcut keys does not works for you then open your terminal applications accesseries terminal and run following command. In case the whole gnomeshell got frozen there is a way how to restart it from the terminal without restarting the whole x window. I have remote server running under centos 7, usually its enough to operate using ssh cli but sometimes i need a graphic access, so i installed gnome desktop there too. This is useful when you are make changes to the gnome shell code while working within the gnome shell. How to find a file in linux using the command line. You dont need to compile anything if you only changed javascript code, but you need to run compilation as you would normally do for c code before restarting.
This will export display variable to 0 for the current command only. How to reboot linux using the command line there are many ways you can reboot from the command line in linux. From the tty terminal, write gnomerestart to restart your gnome shell session. So you can now restart shell without lose any time by restarting the whole system. You can press altf2 iirc to get a window where you can type a command. Enter the following command to restart the gnome desktop environment. If its crashed too much for that to work, use terdons answer. Especially because gnome shell eats cpu when i dont need gnome. It will restart the gnome instantly in almost no time. Centos 7 how to stop start gnome desktop from command line. Ever since i used gnome shell extensions, ive been feeling the need to restart the shell from the console, because its bugs sometimes. In addition to regular commands, gnome shell supports a couple of custom commands to control the behavior of the desktop environment.
1464 891 1069 1234 487 1592 73 217 1036 25 705 1588 685 978 148 1338 922 504 1532 1252 965 1347 173 507 1250 1540 1339 842 79 1233 1489 140 607 1433 48 1493 972