A Gnome extension to show IP address on desktop
NOTE: As of GNOME Shell 45 , this no longer works. I spent a few hours trying to update it but decided it was not worth the effort. My guess is that it could be fixed but it’s not that important to me and I don’t think anyone else is using it. If someone reading this figures out how to get it working again, please let me know what it takes.
Here’s a way to configure Gnome to display some useful information on the Ubuntu Gnome desktop. I use a variety of virtual machines and it’s nice to be able to easily tell which machine I’m dealing with at any one time as well as having the ip address for ssh access to that machine. I use this extension to display the machine name and ip addresses. I also show some other information but that’s easy to configure so if you use this extension, you can decide.
The code resides on github . It consists of less than 50 lines of javascript and a few lines of json. Most of the code came from the answer to this stackoverflow question . I made a couple minor modifications.
Usage instructions are in the README for the project. They amount to copying the project to a path in your local machine and specifying a program for the extension to run. I use the following shell script:
This results in a desktop that looks like this: