My IP Screenlet

Conky

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

2
Score 50.0%
Description:

Show internet Ip

by Helder Fraga aka Whise

Instalation
Put it in your /usr/local/share/screenlets and run it from there

DES-OpenSource

8 years ago

In Ubuntu 10.04 i got no icon for "Update now".
Any help adding it to source or any other way to get it showing?
This is both in PPA and this one.
https://launchpad.net/~screenlets/+archive/ppa

Link to img: http://www.mediafire.com/i/?aa26wd1y0mjy57y

Report

monthscrapped

8 years ago

Modify the file "MyIpscreenlet.py" that is located in "home/user/.screenlets/myIp/MyIpscreenlet.py"...

-- on line # 70 change the direction:

"http://www.whatismyip.com/automation/n09230945.asp"

-- for this another

"http://automation.whatismyip.com/n09230945.asp"

-- save and restart the program...ready ...OK!!!!

Report

monthscrapped

8 years ago

heeloo!!! I runing the screenlets from the terminal and give my this error

I have runing also from "home/user/.screenlets/MyIP/MyIpScreenlt"

And i have the samme error

"""""""""""""""""""""""
[email protected]:~$ python -u /usr/share/screenlets/MyIp/MyIpScreenlet.py

progname=MyIpScreenlet.py; RGBA=on
CachingBackend: Cargando instancia desde el cache
Encontrada una sesión corriendo de MyIp, añadiendo una nueva instancia al servicio.
Error en screenlets.services.get_service_by_name: org.freedesktop.DBus.Error.ServiceUnknown: The name org.screenlets.MyIp was not provided by any .service files
Screenlet has already been added to /tmp/screenlets/screenlets.gtre13.running
Cargando instancias en: /home/gtre13/.config/Screenlets/MyIp/default/
Ninguna instancia se ha encontrado en el session-path, creando una nueva.
/home/gtre13/.config/Screenlets/MyIp/default/MyIp1
NUEVO TEMA CARGADO: default
ENCONTRADO: /usr/share/screenlets/MyIp/themes/default
WARNING - add_default_menuitems and add_menuitems should be set in on_init ,menu values will be displayed incorrectly
WARNING - add_default_menuitems and add_menuitems should be set in on_init ,menu values will be displayed incorrectly
WARNING - add_default_menuitems and add_menuitems should be set in on_init ,menu values will be displayed incorrectly
Traceback (most recent call last):
File "/usr/share/screenlets/MyIp/MyIpScreenlet.py", line 118, in <module>
screenlets.session.create_session(MyIpScreenlet)
File "/usr/lib/pymodules/python2.6/screenlets/session.py", line 472, in create_session
session.start()
File "/usr/lib/pymodules/python2.6/screenlets/session.py", line 246, in start
sl = self.screenlet(session=self, id=self.__get_next_id())
File "/usr/share/screenlets/MyIp/MyIpScreenlet.py", line 45, in __init__
self.gen()
File "/usr/share/screenlets/MyIp/MyIpScreenlet.py", line 70, in gen
site = urlopen("http://www.whatismyip.com/automation/n09230945.asp")
File "/usr/lib/python2.6/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.6/urllib2.py", line 397, in open
response = meth(req, response)
File "/usr/lib/python2.6/urllib2.py", line 510, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.6/urllib2.py", line 435, in error
return self._call_chain(*args)
File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
result = func(*args)
File "/usr/lib/python2.6/urllib2.py", line 518, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found

""""""""""""""""""""""""
Thank "" some ide?????

Report

danube

11 years ago

Nice idea, but you should consider using system's proxy settings. That's why it's not working here.

Report

jose158

11 years ago

How do I install this?

Report

troseph

11 years ago

But I'd much rather know my IP than your IP. :P

Report

C

Whise

11 years ago

lol

Report

angin

11 years ago

its great, can you add more colors theme ?

Report

wsonar

12 years ago

is there a way to set it to display the internal IP instead of the external IP

Report

nicksoft

12 years ago

Very good screenlets, thank you!

A suggestion : why don't you add the function "right mouse click-copy IP to clipboard" ? ;-)

Report

12345678910
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
Kshegzyaj
Nov 28 2009
syco
Apr 16 2009
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.2
updated Jan 26 2008
added Aug 09 2007
downloads 24h
0
mediaviews 24h 0
pageviews 24h 2