Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: A conky question (IP related)

  1. #1
    Join Date
    Dec 2005
    Beans
    80
    Distro
    Ubuntu 10.04 Lucid Lynx

    A conky question (IP related)

    How can I make conky show my external IP address? Is there a way to query whatismyipaddress.com?

  2. #2
    Join Date
    Apr 2008
    Beans
    332

    Re: A conky question (IP related)

    Quote Originally Posted by wolfe View Post
    How can I make conky show my external IP address? Is there a way to query whatismyipaddress.com?

    Put this in your conkyrc
    Code:
    ${execi 3600 wget -O - http://whatismyip.org/ | tail}

  3. #3
    Join Date
    Dec 2005
    Beans
    80
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: A conky question (IP related)

    thanks so much, works perfectly!

  4. #4
    Join Date
    May 2006
    Beans
    Hidden!

    Re: A conky question (IP related)

    I've had this working for quite some time, but it stopped working this morning. I have this in my ~/.conkyrc file:

    ${execi 600 wget -O - http://whatismyip.org/ | tail}

    It used to get my external IP, but now it's displaying

    (html)(body)(h1)It Works(/h1)(/body)(/html)

    (Replace parentheses with angle brackets)

    This is also what I get when I view the source of the http://whatismyip.org site. Does anybody know of another site I can query to display my external IP in conky???

    Thanks in advance,
    Scott

  5. #5
    Join Date
    Jun 2007
    Beans
    379

    Re: A conky question (IP related)

    Quote Originally Posted by bluesfreak72 View Post
    I've had this working for quite some time, but it stopped working this morning. I have this in my ~/.conkyrc file:

    ${execi 600 wget -O - http://whatismyip.org/ | tail}

    It used to get my external IP, but now it's displaying

    (html)(body)(h1)It Works(/h1)(/body)(/html)

    (Replace parentheses with angle brackets)

    This is also what I get when I view the source of the http://whatismyip.org site. Does anybody know of another site I can query to display my external IP in conky???

    Thanks in advance,
    Scott
    I use the following:-

    Code:
    execi 3600 wget -O - http://ip.tupeux.com | tail
    Got it from one of the .conkyrc files posted up in that humongous thread.

  6. #6
    Join Date
    Apr 2008
    Beans
    13

    Re: A conky question (IP related)

    Quote Originally Posted by Ng Oon-Ee View Post
    I use the following:-

    Code:
    execi 3600 wget -O - http://ip.tupeux.com | tail
    Got it from one of the .conkyrc files posted up in that humongous thread.
    man thank you!! i still dunno why whatismyip dindn't show any info for me,if i'd use the link in my browser it would work but not in conky,lol
    this works just fine tough! ty

  7. #7
    Join Date
    Sep 2006
    Location
    Chicago, IL
    Beans
    250
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: A conky question (IP related)

    Do these commands continually check the ip or just do it once at start up?

    I don't want it checking every second.
    For All Things Dell Mini 9: http://www.ubuntumini.com
    For All Things Dell 1501: http://www.ubuntu1501.com
    Installing Ubuntu, wireless setup, tips, tricks, hacks and workarounds.
    Rock 'n Roll isn't Dead, It Just Lives in My Head.

  8. #8
    Join Date
    Nov 2008
    Location
    Wirral, UK
    Beans
    277
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: A conky question (IP related)

    Quote Originally Posted by redDEADresolve View Post
    Do these commands continually check the ip or just do it once at start up?

    I don't want it checking every second.
    Code:
    execi 3600 wget -O - http://ip.tupeux.com | tail
    the "execi 3600" part of the command means run this every 3600 second

    Phil
    I'll never drink water again....Fish poo in it!
    XP for iTunes Only : Ubuntu10.04 : Crunchbang : DSL
    I'm Pushing Narcoleptic Numbat for ubuntu11.04
    Proper Funny Stuff

  9. #9
    Join Date
    Sep 2006
    Location
    Chicago, IL
    Beans
    250
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: A conky question (IP related)

    Quote Originally Posted by 5BallJuggler View Post
    Code:
    execi 3600 wget -O - http://ip.tupeux.com | tail
    the "execi 3600" part of the command means run this every 3600 second

    Phil
    I guess I should think before I type, thanks. As soon as I read that I realized how obvious it was.

    If there anyway to get it to just run once?
    For All Things Dell Mini 9: http://www.ubuntumini.com
    For All Things Dell 1501: http://www.ubuntu1501.com
    Installing Ubuntu, wireless setup, tips, tricks, hacks and workarounds.
    Rock 'n Roll isn't Dead, It Just Lives in My Head.

  10. #10
    Join Date
    Nov 2008
    Location
    Wirral, UK
    Beans
    277
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: A conky question (IP related)

    just increase the number to an overly large value....

    65535 should do it.

    Phil
    I'll never drink water again....Fish poo in it!
    XP for iTunes Only : Ubuntu10.04 : Crunchbang : DSL
    I'm Pushing Narcoleptic Numbat for ubuntu11.04
    Proper Funny Stuff

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •