How To: Quickly Restart The Cinnamon Desktop Environment

Today’s article is going to be a pretty quick and easy article, where you learn how to quickly restart the Cinnamon desktop environment. It shouldn’t be a very long article, and I’d say it’s easy enough for a beginner to process. So, if you’re interested in restarting the Cinnamon DE, read on!

Obviously, this will only apply to those folks who are using the Cinnamon desktop environment. Well, no… I do believe it also works in the GNOME desktop environment. As I understand that it’s a holdover from GNOME, which is what Cinnamon is based on. Alas, I don’t have anything running GNOME right here in front of me, so I’m not going to test that.

On the off-chance that you don’t know what desktop environment you’re using, that’s easy enough to learn. You can just read this article:

How To: Determine Your Desktop Environment

If you want to skip reading that, just open the terminal and run the following command:

The output of that command will tell you what desktop environment you’re using. If the result is ‘cinnamon’, then this article applies to you! 

Anyhow, if you leave your computer on for a long time, you might find that Cinnamon is eating up a bunch of RAM and CPU. You can clear that out by logging out or rebooting, but there’s a much easier way to restart the Cinnamon desktop environment. This article will show you how.

Restart The Cinnamon Desktop Environment:

This time around, you don’t even need to open a terminal!

With your keyboard, press ALT + F2 and you should have a new window open up on your screen. It looks like this:

alt + f2 popup allowing you to run commands
If you’ve never pressed this key combination before, this may be new to you. Neat!

Now, all you need to do to restart the Cinnamon desktop environment is press the letter R and then press the ENTER key.

That alone, that little shortcut, will restart your Cinnamon desktop environment, meaning it may free up some RAM and lower the amount of CPU that the desktop environment is using.

Bonus:

You can actually run other commands from there. I don’t know all of them, or at least I don’t know if I know all of them. I’ve been unable to find an exhaustive list and I only know of a few shortcuts you can use in this run screen.

There’s a shortcut, like ‘rt’ that will reload your theme (useful for theme creators). It just reloads the theme, and doesn’t actually restart Cinnamon, though it may kinda look similar.

This won’t apply to too many of my users, as my readers are generally beginners, but you can also enter ‘lg’ into the shortcut window.

If you were using GNOME instead of Cinnamon, it’ll open up “looking glass”, the GNOME debugger.

If you’re using Cinnamon, it opens up Melange – the Cinnamon debugger. Debuggers can be useful if you need it and know what you’re doing with it.

The goodness doesn’t stop there!

If you want, you can put ‘firefox’, ‘gedit’, ‘leafpad’ or other applications in there. So long as those applications exist in /usr/bin, they should load just fine from this run screen. You can use this shortcut to open pretty much any application that has been installed via the normal means. 

If you want to load something that’s not installed from this screen, you can do that too. You just need to enter the path to the application you want to open. Something like, ~/Downloads/LibreWolf.AppImage will work, according to my testing.

Closure:

There you have it! You’ve learned how to use a hidden run menu to restart the Cinnamon desktop environment. On top of that, you’ve learned that it can be useful for all sorts of other tasks. It’s a pretty handy shortcut, one you can open without taking your hands off the keyboard to use a mouse. That right there is quite a bonus in and of itself!

Thanks for reading! If you want to help, or if the site has helped you, you can donate, register to help, write an article, or buy inexpensive hosting to start your own site. If you scroll down, you can sign up for the newsletter, vote for the article, and comment.

Let’s Reboot Your Linux Computer

Today is another article with one of those things you probably already know, it’s about how you can reboot your Linux computer. Specifically, we’re going to reboot from the terminal. You can use the GUI to reboot easily enough, but if that’s frozen and you don’t really want to do a hard restart, you might as well reboot it if you can.

If you can’t reboot your computer because it appears frozen, consider the Magic SysReq Keys. (More specifically, the REISUB method.)

If you aren’t already aware, there are all sorts of ways to reboot your Linux computer. Like oh so many things in Linux, there’s a multitude of ways. We’re just going to cover a few of them, because you really don’t need to know more. Well, if you do need to know more,  you probably already know those ways to reboot your Linux computer!

It’s also another fairly simple article. That’s good (for me) as it’s a bit like work lately and I don’t want the site to really be about work but rather being about a hobby. If it’s work, I wanna get paid… 

This is also useful information if you’re working on something remote. You don’t want to shut that system down and have to have someone go physically turn it back on, so you reboot the system – making sure to reboot the right system and not the system you’re physically using. I’ve done that more times than I care to share – and I’ve done the reverse as well. It’s seldom good if you enter the reboot command and immediately follow it with a verbal, “Oops.”

Reboot Your Linux Computer:

This article requires an open terminal, because we’ll be learning how to reboot your Linux computer from said terminal. If you don’t know how to open the terminal, you can do so with your keyboard – just press CTRL + ALT + T and your default terminal should open.

With your terminal now open, let’s start with the easiest of the commands to reboot your Linux computer:

With some distros, that’ll be all you need. With others, you may need to have elevated permissions. This is also often true if you’re connected remotely, via SSH. So, in those instances, you’ll need to preface it with sudo and use your password when asked. Like so:

If you want,  you can also use the shutdown command. That’s pretty easy, you can just use:

The -r flag tells the system to reboot and the ‘now‘ means to do so right now – immediately. You can play around with that ‘now’ bit, like so:

Instead of ‘now‘ you’ll see there’s a ‘1‘ and that’s how many minutes you want to wait before rebooting the system. You can change that to any number you’d like, I suppose.

Finally, you can use systemd to reboot. Why? Because of course you can! It’s systemd, and you can do anything with it! (Kinda like zombo.com, I guess.)

That’ll happily reboot your Linux computer, all nice and neat and proper. It does exactly what you’d expect it to do, so there’s that.

Closure:

There you have it. You now have a few ways to reboot your Linux computer from the terminal. There are other ways, including init or whatnot. You can also just use the GUI if you’re working locally. It’s Linux. There are all sorts of ways to accomplish a given task. That’s a good thing.

I find myself rebooting from the terminal more often than not, simply because I’ve already got a terminal open and it’s just as quick for me to type the reboot command as it is for me to go clicking around. I’m also often testing other systems and really don’t want to have to go fishing around to find the command, then click on some sort of secondary agree menu or the likes.

Thanks for reading! If you want to help, or if the site has helped you, you can donate, register to help, write an article, or buy inexpensive hosting to start your own site. If you scroll down, you can sign up for the newsletter, vote for the article, and comment.

Subscribe To Our Newsletter
Get notified when new articles are published! It's free and I won't send you any spam.
Linux Tips
Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.