Page 2335 of 2348 FirstFirst ... 13351835223522852325233323342335233623372345 ... LastLast
Results 23,341 to 23,350 of 23480

Thread: Post your .conkyrc files w/ screenshots

  1. #23341
    Join Date
    Apr 2014
    Beans
    0

    Re: Post your .conkyrc files w/ screenshots

    i upgrade my conky desktop:


  2. #23342
    Join Date
    Feb 2011
    Beans
    45
    Distro
    Ubuntu Mate

    Re: Post your .conkyrc files w/ screenshots

    ^stylintile, how do you call up your password for your conky so it works with your code? I tried with logging with keyring and I am set u as admin. I am having no luck. Thx

  3. #23343
    Join Date
    Feb 2011
    Beans
    45
    Distro
    Ubuntu Mate

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by deadflowr View Post
    That's not a conky issue.
    it's a design of the hddtemp utility.

    You can change it though,
    This thread goes back some, but still relevant:
    https://ubuntuforums.org/showthread.php?t=1488371
    I looked thru that. thx, guess it was more of a curiosity. Thinking of modifying the code. Trying to figure out how to get my password to use with the conky to at least get it working
    Last edited by alpetjr; February 25th, 2018 at 11:57 AM.

  4. #23344
    Join Date
    Dec 2011
    Location
    Atlanta, Georgia USA
    Beans
    45
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Post your .conkyrc files w/ screenshots

    alpetjr,
    I have edited my sudoers file by typing "sudo visudo" in terminal, then adding "dale ALL=(ALL) NOPASSWD: ALL" at the end. I don't recommend doing this, but i live alone and nobody else ever touches my computer.
    (And I got tired of having to enter my password in the middle of trying to figure something out, by the time I entered the password I would forget what I was doing. I guess I'm getting old.)
    Ubuntu User #35429 | Linux User #558865

  5. #23345
    Join Date
    Dec 2011
    Location
    Atlanta, Georgia USA
    Beans
    45
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Post your .conkyrc files w/ screenshots

    Here's my latest, it's another long script which I can't seem to post. Another "security token is missing". I guess my computer doesn't like posting long scripts. I'm using a crontab entry to run a script calling

    Code:
    metar -d kvps | grep Temperature > /home/dale/Documents/Weather/metar/kvps.txt &&
    with "kvps" being just one of them. I have all of the capitals and other places I have lived.
    Then i use

    Code:
    kvpstemp=tonumber(os.capture("grep -o [[:digit:]]\\* /home/dale/Documents/Weather/metar/kvps.txt"))
    if kvpstemp==nil then kvpstemp=100 end
    kvpstemp2=math.floor(kvpstemp*1.8+32)
    in the lua for each place. I added the if statements for each place because i kept getting nil values whenever the bash script was overwriting the file. I used 100 as a temp
    number because I figured if one of the places shows a 212 degree temp, I'll know it's not correct. The maps are actually images that i edited with gimp for the outline color and the time zone colors, which are displayed in the lua with the image function.
    Also using the same functions that are in my earlier posts. If anyone wants more of the code, let me know and I'll post the relevant sections.
    Attached Images Attached Images
    Last edited by stylintile; February 25th, 2018 at 08:15 PM.
    Ubuntu User #35429 | Linux User #558865

  6. #23346
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by stylintile View Post
    Here's my latest, it's another long script which I can't seem to post. Another "security token is missing". I guess my computer doesn't like posting long scripts. I'm using a crontab entry to run a script calling

    Code:
    metar -d kvps | grep Temperature > /home/dale/Documents/Weather/metar/kvps.txt &&
    with "kvps" being just one of them. I have all of the capitals and other places I have lived.
    Then i use

    Code:
    kvpstemp=tonumber(os.capture("grep -o [[:digit:]]\\* /home/dale/Documents/Weather/metar/kvps.txt"))
    if kvpstemp==nil then kvpstemp=100 end
    kvpstemp2=math.floor(kvpstemp*1.8+32)
    in the lua for each place. I added the if statements for each place because i kept getting nil values whenever the bash script was overwriting the file. I used 100 as a temp
    number because I figured if one of the places shows a 212 degree temp, I'll know it's not correct. The maps are actually images that i edited with gimp for the outline color and the time zone colors, which are displayed in the lua with the image function.
    Also using the same functions that are in my earlier posts. If anyone wants more of the code, let me know and I'll post the relevant sections.
    Very Nice! Golf Clap.
    I kinda like this one!
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

  7. #23347
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by stylintile View Post
    Here's my latest, it's another long script which I can't seem to post. Another "security token is missing". I guess my computer doesn't like posting long scripts.
    That's a limitation of the Forum software.

    If you want to present the entire thing, you can post it here and add the link here. You may have to break it up there, too, for all I know ...
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

  8. #23348
    Join Date
    Dec 2011
    Location
    Atlanta, Georgia USA
    Beans
    45
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Post your .conkyrc files w/ screenshots

    1fallen,
    Thank you.

    QIII,
    Thanks much for the tip. heres the link:

    https://paste.ubuntu.com/p/fb9jyp9m6d/
    Ubuntu User #35429 | Linux User #558865

  9. #23349
    Join Date
    Feb 2011
    Beans
    45
    Distro
    Ubuntu Mate

    Re: Post your .conkyrc files w/ screenshots

    @styintile, I figured out how to temporarily get the conky to run in root. I came up with this error

    Code:
    Too few arguments: you must specify one drive, at least.
    Too few arguments: you must specify one drive, at least.
    conky: llua_do_call: function conky_main execution failed: /home/al/sylintile/bg.lua:107: attempt to perform arithmetic on global 'total_size' (a nil value(
    I thought it might be from the LAN, so I changed the wireless to
    Code:
        disk_free=total_free-newvolume_free
        disk_used=total_used-newvolume_used
    
        disk_total=total_size-newvolume_total
        disk_perca=(disk_used/disk_size)*100
        disk_perc=math.floor(disk_perca)
        uplan3=tonumber(conky_parse('${upspeedf wlp2s0}'))
    uplan=round((((math.floor(uplan3))*.01)*0.8),2)
        downlan3=tonumber(conky_parse('${downspeedf wlp2s0}'))
    downlan=round((((math.floor(downlan3))*.01)*0.8),2)
    But that didn't work. The (uplan3) and (downlan3) how do I figure out what I use? Is this going to bee to much for me to try to get running without knowing much of Lua?
    Last edited by alpetjr; February 26th, 2018 at 10:54 AM.

  10. #23350
    Join Date
    Dec 2011
    Location
    Atlanta, Georgia USA
    Beans
    45
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by alpetjr View Post
    @styintile, I figured out how to temporarily get the conky to run in root. I came up with this error

    Code:
    Too few arguments: you must specify one drive, at least.
    Too few arguments: you must specify one drive, at least.
    conky: llua_do_call: function conky_main execution failed: /home/al/sylintile/bg.lua:107: attempt to perform arithmetic on global 'total_size' (a nil value(
    I thought it might be from the LAN, so I changed the wireless to
    Code:
        disk_free=total_free-newvolume_free
        disk_used=total_used-newvolume_used
    
        disk_total=total_size-newvolume_total
        disk_perca=(disk_used/disk_size)*100
        disk_perc=math.floor(disk_perca)
        uplan3=tonumber(conky_parse('${upspeedf wlp2s0}'))
    uplan=round((((math.floor(uplan3))*.01)*0.8),2)
        downlan3=tonumber(conky_parse('${downspeedf wlp2s0}'))
    downlan=round((((math.floor(downlan3))*.01)*0.8),2)
    But that didn't work. The (uplan3) and (downlan3) how do I figure out what I use? Is this going to bee to much for me to try to get running without knowing much of Lua?
    For the drive sizes you need to run

    Code:
    df -h
    to see what drives you have and their mount points or names. On mine I have my primary drive "/dev/sda" and a portable which is named "New_Volume1".
    The output of that command gives me

    Code:
    $ df -h
    Filesystem      Size  Used Avail Use% Mounted on
    udev            3.9G     0  3.9G   0% /dev
    tmpfs           788M  550M  239M  70% /run
    /dev/sda6        97G   16G   77G  17% /
    tmpfs           3.9G   53M  3.8G   2% /dev/shm
    tmpfs           5.0M  4.0K  5.0M   1% /run/lock
    tmpfs           3.9G     0  3.9G   0% /sys/fs/cgroup
    /dev/sda7       189G   29G  151G  16% /home
    tmpfs           788M   76K  788M   1% /run/user/1000
    /dev/sdb1        74G   27G   44G  38% /media/dale/New_Volume1
    You,ll need to modify the commands on lines 87-112 to match what you have in your system to get the sizes.

    If you want to run the df -h command and post the output, I'll be happy to tell you what modifications to make.
    Ubuntu User #35429 | Linux User #558865

Page 2335 of 2348 FirstFirst ... 13351835223522852325233323342335233623372345 ... 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
  •