Page 5 of 5 FirstFirst ... 345
Results 41 to 48 of 48

Thread: Easy configuring conky with conkyconf

  1. #41

    Default Re: Easy configuring conky with conkyconf

    Quote Originally Posted by saultdon View Post
    The desktop is running conky 1.9 from your 12.2 repo. I never did a 'dup' before and wanted to test it out.
    There is probably some legacy 12.1 files on my 12.2 desktop that allows conky 1.9 from your 12.2 repo to run without the seg. default error.
    Actually the following trick just worked on my fresh 12.2:

    Code:
    #! /bin/bash
    
    # zypper rm conky
    # cd /tmp
    # wget http://download.opensuse.org/repositories/home:/please_try_again/openSUSE_12.1/x86_64/{conky-1.9.0-37.1.x86_64.rpm,conky-devel-1.9.0-37.1.x86_64.rpm}
    # zypper in conky-devel-1.9.0-37.1.x86_64.rpm conky-1.9.0-37.1.x86_64.rpm
    # zypper in conkyconf
    I now have conky 1.9.0 running fine on this machine.

    * A short-term and immediate solution.

  2. #42

    Default Re: Easy configuring conky with conkyconf

    Just in case you wonder what I did wrong (or if somebody knows how to do it right): http://forums.opensuse.org/english/o...-segfault.html

  3. #43

    Default Re: Easy configuring conky with conkyconf

    What's new In conkyconf 4.1

    I changed the conky_parselog function to allow members of the wheel group to display system logs in conky. The previous versions re-parsed the conky variable ${tail}, which just followed the file system access rights. Thus only the root user could have viewed system logs. The new function takes the output of
    Code:
    sudo -n tail 2000 $logfile
    As you can see on the picture (at the bottom), the log lines only show time, daemon and the first few words of the info in the narrow conky window. But it should be sufficient in most cases to give you an indication that something strange happened and that you should take a closer look at the log.

    Here's the command which generates the ~/.conkyrc that produces the result on the left:

    Code:
    $ conkyconf -wfduNt -g cabc0313 -n 5 -l /var/log/messages
    Since /var/log/messages is the default log file, this is equivalent to:

    Code:
    $ conkyconf -wfduNt -g cabc0313 -n 5 -l
    Since "5" is the default number of lines to display, this is equivalent to:

    Code:
    $ conkyconf -wfduNt -g cabc0313 -l
    The log lines are displayed in LIFO order (most recent line on top). Please refer to previous posts in this thread for the signification and usage of the other options in this example.

    sudo in the lua script won't ask for your password. Thus it has to remember it already. There are 2 possibilities:

    either run a command involving sudo just before running conky, such as for example
    Code:
    $ sudo cat /var/log/messages
    This is the safest approach.

    or disable passwords for members of the wheel group in /etc/sudoers:

    Code:
    ## Uncomment to allow members of group wheel to execute any command
    # %wheel ALL=(ALL) ALL
    
    ## Same thing without a password
    %wheel ALL=(ALL) NOPASSWD: ALL
    I don't have problem with this, but many people here will tell you not to do so (which means that I can not seriously recommend this either).

  4. #44

    Default Re: Easy configuring conky with conkyconf

    Quote Originally Posted by saultdon View Post
    Good luck getting conky 1.9 fixed for openSUSE 12.2! I'll test it out when it's ready.
    It should be OK now. You need to uninstall conky and tolua++, then install conky from my 12.2 repo. The problem is described and solved in this thread: http://forums.opensuse.org/english/o...ml#post2492589.

    In the meantime, I already made a local build of conky 1.9.1 stable. I will try to build it in OBS.

  5. #45

    Default Re: Easy configuring conky with conkyconf

    Nice script, very good job

    One small issue though :



    As you can see, write diskio for sdb is not aligning quite right, I don't think it's in the conky.rc but in lua script, though I'm not sure.

  6. #46
    Join Date
    Sep 2012
    Location
    Maryland, US
    Posts
    623

    Default Re: Easy configuring conky with conkyconf

    I hope you don't mind some praise clogging up the thread but this is one sweet script. Thank you for the work.

    Couple tiny notes on what I had to do to get going:

    As pointed out before you need to have hddtemp enabled in system services to get the -d option

    For the US weather you need to get the city code for the weather and not use the zipcode.
    Here is how I got the city code.
    Go to the site http://www.theweathernetwork.com and enter in your zipcode and it will find your city and save it.
    Now look in your browser url bar and it should list something like usXX0000 where XX is your state and then a number code.

    Maybe there is an easier way but I missed it.
    Kernel: 4.12.14-lp150.12.7-default x86_64 bits:
    64 Desktop: Gnome 3.26.2
    Distro: openSUSE Leap 15.0

  7. #47

    Default Re: Easy configuring conky with conkyconf

    How do I install this for ubuntu?

  8. #48

    Default Re: Easy configuring conky with conkyconf

    How Do I do this in 12.3? I can't figure out how to install conkyconf.

Page 5 of 5 FirstFirst ... 345

Posting Permissions

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