Add a “Refresh/Reload GUI” Button to your Gnome Panel

Your first thought when reading the title of this post is probably, “WTF? Why would I need that?” Gnome Black LogoWell, if you’re like me and you love customizing your Gnome system, you’ll know that during your customizations, you have to reload this and reload that for your new changes to take effect. Sometimes its simply because a change you did caused some problems and something didn’t load correctly. Whatever it is, most of the time it requires you to use the killall command in the terminal.

This is common enough for the Gnome panels and for Nautilus since it draws and handles the desktop by default. I was tired of pulling up a terminal window and typing in the killall commands to “refresh” my GUI or Desktop or repeating them if I had already ran them previously. Not that it takes that long to do. I just wanted a quick “button” I can click that will do it automatically.

So I did it myself. Not very complicated, really. Actually, it’s not complicated at all. :)

  1. Right-click the panel or drawer you want the button to be situated
  2. Select “Add to Panel…” and the “Add to Panel” window will open
  3. Click on the “Custom Application Launcher” at the top of the window
  4. In the Launcher Properties, select “Application in Terminal” as a Type
  5. Name it “Refresh GUI
  6. For the command, type in: “killall gnome-panel nautilus” without the quotes
  7. For the comment, type in: “Reloads the panels and the desktop (Nautilus).” or whatever you want. ;)
  8. Click on the “No icon” button and choose an icon of your choice.
  9. Click close and you’re done

Now, whenever you need to reload/refresh your Desktop, you can simply click on your brand-spanking new shiny button!

Did you remember to subscribe to Linux FUD?

Tags: , , , , , ,

22 responses to “Add a “Refresh/Reload GUI” Button to your Gnome Panel”

  1. Bladt says :

    I realise this is old, but as it isn’t a forum i see no problem in replying :)
    The tips mentioned by anaconda and jonas will not work when cp’ed into a terminal, because they use some wierd hyphens (I assume it’s a problem with wordpress) if you use two single hyphens without space betwee however, they work :) ( hyphen = – )
    To be certain the formatting holds, here’s an example in a pastebin:

Trackbacks / Pingbacks

  1. OS Interview Questions - part II - Geeks Squad - May 24, 2014

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

%d bloggers like this: