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?” Well, 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. :)
- Right-click the panel or drawer you want the button to be situated
- Select “Add to Panel…” and the “Add to Panel” window will open
- Click on the “Custom Application Launcher” at the top of the window
- In the Launcher Properties, select “Application in Terminal” as a Type
- Name it “Refresh GUI“
- For the command, type in: “killall gnome-panel nautilus” without the quotes
- For the comment, type in: “Reloads the panels and the desktop (Nautilus).” or whatever you want. ;)
- Click on the “No icon” button and choose an icon of your choice.
- 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?