
Show Internet IP with Flag
Source (link to git-repo or to original if based on someone elses unmodified work):
Description:
Very small plasmoid which has one goal:
Show your Internet IP and the country flag to see if your VPN is up and running!
It leeches it infos from my own little IP service. Feel free to use it also for your tools:
http://www.tha-imax.de/show_my_ip
With Flag URL:
http://www.tha-imax.de/show_my_ip?withflag
If you are missing your country flag please let me know and I will add it.
Maybe I will add later a option to copy it to clipboard if you guys need it...
Hope you like it. Last changelog:
Show your Internet IP and the country flag to see if your VPN is up and running!
It leeches it infos from my own little IP service. Feel free to use it also for your tools:
http://www.tha-imax.de/show_my_ip
With Flag URL:
http://www.tha-imax.de/show_my_ip?withflag
If you are missing your country flag please let me know and I will add it.
Maybe I will add later a option to copy it to clipboard if you guys need it...
Hope you like it.
v04
- Added config.py where you can easily modify the HTML template and initial windowsize of the plasmoid.
v03
- Changed to my own IP service.
- Added TTL to ensure it will not freeze anymore.
- User-Agent changed.
v02
- Added exception for cases when requesting the IP failed.
v01
- Initial.
Ratings & Comments
8 Comments
Hola, Excelente plasmoide, muchas gracias. Una sugerencia, el botón de refresh es muy grande, cuando se redimensiona al arrancar el equipo tapa la IP y toca estarlo redimensionando.
Hi man, Sorry I didn't understand everything. But the translator told me that you want a smaller "Refresh"-Button. I agree and I will make it smaller these days. Thank you for your comment :) -imax.
Hello You're ok, when the pc starts, the plasmoid become smaller and the IP is hide by the refresh button, and the user has to resize again. Thank you very much, excellent plasmoid!
Hi man, Thank you for this information! I will fix this bug :) -imax.
Hi man, You can now setup the initial size of the plasmoid inside the "config.py" file. Also you can change the HTML template in it. So you can modify it for your needs :) Hope this quickfix helps you with your problem with the hidden IP behind the refresh button :) -imax.
Hi imax, I changed the initial size of the plasmoid inside the "main.py" file and now I don't have to change the size when kde starts, it looks excellent, thank you very much my friend!
In KDE 4.3 there is a geolocation DataEngine that predicts your location, and gives out some information. Is this plasmoid using that? (I haven't looked at the source)
Hi, No it just makes a HTTP Request to www.ip-adress.com and parses some important stuff out of it. I will check the Geolocation DataEngine and may use it for further work on this plasmoid. Thank you, imax.