Page 83 of 83 FirstFirst ... 3373818283
Results 821 to 828 of 828

Thread: Howto: Get a beautiful Conky 1.4.2 setup

  1. #821
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Howto: Get a beautiful Conky 1.4.2 setup

    Quote Originally Posted by The Thug View Post
    I'm a new Ubuntu user and from what i've seen would like to use Conky as a monitoring tool for my broadband connection (ppp0).

    I have seen a couple of scripts that show both the upload and download speed but what I'm looking for is a script that will give me the total daily and monthly upload & download in Mb. Is this possible ?
    Yes, a program called "vnstat" it's in the repos...

    More info here: Conky Hardcore! - vnstat

    Have a nice day.
    Bruce

  2. #822
    Join Date
    Jul 2009
    Location
    Johannesburg, SA
    Beans
    43
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Howto: Get a beautiful Conky 1.4.2 setup

    Thanks Bruce, will have a look at it and play around.

  3. #823

    Re: Howto: Get a beautiful Conky 1.4.2 setup

    Thanks for the info, I appreciate it.

  4. #824
    Join Date
    Dec 2009
    Beans
    1

    Re: Howto: Get a beautiful Conky 1.4.2 setup

    Hi.

    I'd like to post a small HowTo.

    Maybe some of you guys are using an overlay network like TOR or i2p to surf the web.
    If you do, maybe you´d like to have BOTH IP's displayed in conky.

    So well, here we go:

    First, you need the ip.sh script.

    Create a directory in your home called .scripts
    cd into the new directory and create a new blank file with an editor you like to use. I prefer nano.

    so well:

    Displaying the "normal" IP Adress:

    nano ip.sh

    paste the following content:

    #!/bin/bash
    wget --no-proxy http://checkip.dyndns.org/ -q -O - |
    grep -Eo '\<[[:digit:]]{1,3}(\.[[:digit:]]{1,3}){3}\>'


    (NOTE: --no-proxy option will be explained later. IT HAS TO BE THERE.)

    save the file

    chmod +x ip.sh

    --------------------------------------------------------------------------

    Displaying the i2p-Adress:

    stay in /home/foo/.scripts

    nano i2p.sh

    paste the following content:

    #!/bin/bash
    wget http://checkip.dyndns.org/ -q -O - |
    grep -Eo '\<[[:digit:]]{1,3}(\.[[:digit:]]{1,3}){3}\>'


    save the file

    chmod +x i2p.sh

    --------------------------------------------------------------------------

    Now, we have to configure wget to use our TOR/i2p-server as proxy.

    sudo nano /etc/wgetrc

    search for:
    #http_proxy = http://proxy:8080

    uncomment and change to:
    http_proxy = http://I2P_PROXY_IP:8080/
    NOTE: The proxy IP can be localhost if you are running TOR/i2p on your machine. Otherwise, enter the IP of your I2P-Server. Change the port to the one you defined, or leave it default.

    uncomment
    use_proxy = on

    save the file

    --------------------------------------------------------------------------

    Configuring your .conkyrc

    open .conkyrc with the editor of your choice. I stay with nano here.

    nano /home/foo/.conkyrc

    paste the following lines to your .conkyrc

    Regular IP: ${alignr}${execi 1~/.scripts/ip.sh}
    i2p IP: ${alignr}${execi 300~/.scripts/i2p.sh}


    The "300" is important. Otherweise your i2p-server is gonna start to reject tunnels because of a high message delay.
    Remember? We saved these two files in .scripts , the directory in your home folder.
    Reload conky.

    Feel free to add some colours or custom fonts to these lines. Example:

    ${font Sans:size=7:weight=bold}${color red}i2p IP: ${alignr}${execi 1~/.scripts/i2p.sh}

    --------------------------------------------------------------------------

    Keep in mind: If you are gonna use wget in the future, you have to use the --no-proxy option. Well, maybe you want wget to download files via encrypted networks. It's your choice.

    regards, categ0re
    Last edited by categ0re; December 30th, 2009 at 05:43 PM.

  5. #825
    Join Date
    Oct 2010
    Beans
    1

    Exclamation Re: Howto: Get a beautiful Conky 1.4.2 setup

    Im so sorry im a linux "noob" i see all this talk about creating this config file when i copied your code in the terminal to paste you conky config and tried to save it said could not find....does any1 have the heart to walk a dummy through step by step

  6. #826
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Howto: Get a beautiful Conky 1.4.2 setup

    Quote Originally Posted by jerryhannah View Post
    Im so sorry im a linux "noob" i see all this talk about creating this config file when i copied your code in the terminal to paste you conky config and tried to save it said could not find....does any1 have the heart to walk a dummy through step by step
    The last post on this thread was back in December 2009! Try asking for help in the conkyrc thread here: http://ubuntuforums.org/showthread.php?t=281865
    Better still have a look at the conky pitstop site linked in my sig, or the documentation for conky here: http://conky.sourceforge.net/documentation.html

    HTH

  7. #827
    Join Date
    Oct 2006
    Beans
    7

    Re: Howto: Get a beautiful Conky 1.4.2 setup

    Just finished my LCars Star Trek Conky, took just over a day of coding. This is for the right side screen of a dual monitor setup.

    [IMG]http://i.imgur.com/zFvCI.png
    Last edited by overdrank; September 5th, 2012 at 11:09 AM. Reason: please use thumbnails

  8. #828
    Join Date
    Jun 2006
    Location
    DFW, Texas
    Beans
    135

    Re: Howto: Get a beautiful Conky 1.4.2 setup

    That's AWESOME!!!!!!!!
    GigaByte GA-X48-DQ6, QX9650, 8GB CORSAIR Dominator
    3Ware 9690SA HW RAID, BFG NVidia 8800GTS 640MB - Lite-on 20x DVD-RW

Page 83 of 83 FirstFirst ... 3373818283

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
  •