Results 1 to 5 of 5

Thread: How to display IP address on screen in openbox?

  1. #1
    Join Date
    Sep 2011
    Beans
    123

    How to display IP address on screen in openbox?

    Folks,

    My machine has minimal Ubuntu server + openbox. I am very fond of this environment. Gets me do what I want without requiring a full-blown desktop.

    Now I am looking at a way to display IP address on the screen. While browsing the Internet, I came across an applet called giplet that could do it. However, it appears I need to install gnome-panel to make it work.

    I am wondering if there is a better way to display IP address in the background. The idea is to keep the desktop requirements minimal.

    I guess if there is no better choice, I will install gnome-panel + giplet.

    Thank you in advance for your help.

    Regards,
    Peter

  2. #2
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    7,465
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: How to display IP address on screen in openbox?

    Hi PeterTaps.

    How about using conky? See here, here and here.

    Regards.

  3. #3
    Join Date
    Sep 2011
    Beans
    123

    Re: How to display IP address on screen in openbox?

    Thank you for introducing me to conky. I have installed conky-all. Can you please tell me where is this legendary VinDSL script that everyone is talking about?

    Regards,
    Peter

  4. #4
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    7,465
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: How to display IP address on screen in openbox?

    VinDSL is actually an active member of the forum: VinDSL.

    Check his posts in the last thread I linked. He both paste code and include file attachments. I'm pretty sure he can give you some pointers if you post specific questions on that thread.

    Regards.

  5. #5
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    6,360
    Distro
    Ubuntu

    Re: How to display IP address on screen in openbox?

    Here are two different methods to show the IP in conky
    The first

    Code:
    ${execi 1800 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}
    the 1800 is in seconds, so that means it updates every half-hour.

    And the second way involves installing curl
    and
    Code:
    ${execi 1800 curl ifconfig.me}
    I find either method works fine for me.

    Note these are just two ways, there are other ways as well.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

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
  •