← Back to team overview

screenlets-dev team mailing list archive

[Bug 618868] Re: sysmonitor screenlet fails to find the computer's IP address

 

Another possibility that directly gives the right result and uses
ifconfig:

$ ifconfig  | grep 'inet '| grep -v '127.0.0.1' | cut -d: -f2 | awk '{
print $1}'

That said, I don't know if the "inet" string stays the same in every
locale, though.

-- 
sysmonitor screenlet fails to find the computer's IP address
https://bugs.launchpad.net/bugs/618868
You received this bug notification because you are a member of
Screenlets Dev Team, which is subscribed to Screenlets.