Search:

Type: Posts; User: wlourf; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    23,479
    Views
    9,301,897

    Re: Post your .conkyrc files w/ screenshots

    you want to draw the bar when operstate is down, right ? so try the inverse :


    local f = io.open('/sys/class/net/wlan0/operstate

    if f:read() == "up" then



    local f =...
  2. Replies
    23,479
    Views
    9,301,897

    Re: Post your .conkyrc files w/ screenshots

    Ok, I see, then try up instead down :

    if f:read() == "up" then
  3. Replies
    23,479
    Views
    9,301,897

    Re: Post your .conkyrc files w/ screenshots

    You ask : "also need some help with the lua to not show link bar when easytether0 is connected."

    Try to add this code after the settings for the wlan0 bar :

    local f =...
  4. Replies
    23,479
    Views
    9,301,897

    Re: Post your .conkyrc files w/ screenshots

    A simple conky displaying a modern clock and/or a coverart for your player and/or a photo-album
    ...
  5. Replies
    23,479
    Views
    9,301,897

    Re: Post your .conkyrc files w/ screenshots

    Try this :


    function get_updates()
    local ud=io.popen("aptitude search '~U' | wc -l")
    local status = ud:read("*all")
    ud:close()
    if status > 0 then status=100 end
    return...
  6. Replies
    23,479
    Views
    9,301,897

    Re: Post your .conkyrc files w/ screenshots

    you could use

    co="exec aptitude search '~U' | wc -l",but unfortunately you can't set a max value in this script (it is set at 100). If you could set a max value, you will have set to 1 so the...
  7. Replies
    23,479
    Views
    9,301,897

    Re: Post your .conkyrc files w/ screenshots

    No idea, I think you didn't copy/paste the full script. Try to find the original script.
  8. Replies
    23,479
    Views
    9,301,897

    Re: Post your .conkyrc files w/ screenshots

    the function conky_init_scripts is missing in your cpu.lua file
  9. Replies
    23,479
    Views
    9,301,897

    Re: Post your .conkyrc files w/ screenshots

    Degan, in your conkyrc, change the path to file cpu_v.0.1.lua
  10. Replies
    23,479
    Views
    9,301,897

    Re: Post your .conkyrc files w/ screenshots

    Yes, it is conky, you can dowload the full setup on deviantArt :
    http://shamen456.deviantart.com/art/en-attendant-Ocelot-254418236

    Here's my non-obstructive conky at the moment, made with Lua :...
  11. Replies
    23,479
    Views
    9,301,897

    Re: Post your .conkyrc files w/ screenshots

    yes, with this Lua script, you have to restart the conky. Use a terminal and run

    conky -c /path/conky
    When you make a change to the conky, stop the conky with Ctrl + C in the terminal and start...
  12. Replies
    23,479
    Views
    9,301,897

    Re: Post your .conkyrc files w/ screenshots

    nothing better to do, I don't know :D but I wrote this little script some month ago:

    # -- Conky settings -- #
    background no
    update_interval 0.1

    cpu_avg_samples 2
    net_avg_samples 2
    ...
  13. Replies
    23,479
    Views
    9,301,897

    Re: Post your .conkyrc files w/ screenshots

    I use this site to get images from earth or moon :
    http://www.fourmilab.ch/earthview/expert.html

    It is very intersting because you can choose many parameters (latitude, longitude, colors ...)
    ...
  14. Replies
    333
    Views
    116,513

    [all variants] Re: Conky Lua & Cairo Troubleshooting

    Maybe there are other ways, but this one works :

    local function setup_rings(cr,pt)
    local str=''
    local value=0

    str=string.format('${%s...
  15. Replies
    23,479
    Views
    9,301,897

    Re: Post your .conkyrc files w/ screenshots

    yep sorry, I forgot the interface, so it should be :

    ${wireless_bitrate wlan0} if wlan0 is your interface.

    As wrote wnelson, you should check it with ifconfig i a terminal.


    If the...
  16. Replies
    23,479
    Views
    9,301,897

    Re: Post your .conkyrc files w/ screenshots

    @akernan,
    what is the output of
    ${wireless_bitrate} in a conky window if you write it in the TEXT section, like any other variable ?
  17. Replies
    23,479
    Views
    9,301,897

    Re: Post your .conkyrc files w/ screenshots

    You should post the whole script, I don't understand what you putted in quotes !
  18. Replies
    23,479
    Views
    9,301,897

    Re: Post your .conkyrc files w/ screenshots

    @akernan, there is an updated version of the bargraph script : http://wlourf.deviantart.com/gallery/28062900#/d2jj1rz (If you use it, just copy the bars_settings into the new script).

    For the...
  19. Replies
    23,479
    Views
    9,301,897

    Re: Post your .conkyrc files w/ screenshots

    Hello;

    If conky variables don't work, it's maybe because they return numbers with units. You can get off them using something like

    name="",
    arg=conky_parse("${wireless_bitrate}"):gsub("...
  20. Replies
    4
    Views
    309

    Re: Python : array problem

    thanks to you both, I tried the copy [:] before but not in this way. That rocks !
  21. Replies
    4
    Views
    309

    [SOLVED] Python : array problem

    Hi !

    I have this little script :

    table = [["a",1],["b",2]]
    table.append(table[1])
    table.append(table[2])
    print table
    table[0].append("aa")
    table[1].append("bb")
  22. Replies
    333
    Views
    116,513

    [all variants] Re: Conky Lua & Cairo Troubleshooting

    Which ring is it ? is it in the script of this post : http://ubuntuforums.org/showpost.php?p=10594070&postcount=290


    No idea for that, did you try to use the $voffest statement ?
  23. Replies
    23,479
    Views
    9,301,897

    Re: Post your .conkyrc files w/ screenshots

    It's just to show different configurations ! I use the red and green but the archive contains the 3 files .
    By the way, with a WM like Openbox I can add a margin to my desk so the Conky is always...
  24. Replies
    23,479
    Views
    9,301,897

    Re: Post your .conkyrc files w/ screenshots

    Nice stuff, 42dorian !

    Here's mine only-Lua Conky :
    http://uppix.com/t-vertical_conky_i4d94e70e0009ea78.png


    Files are on my dA page if someone ask ;-)
  25. Replies
    333
    Views
    116,513

    [all variants] Re: Conky Lua & Cairo Troubleshooting

    you're welcome clicksight :D

    if you are interessted in Cairo and Lua, you can find some interesting links here :
    http://conky-pitstop.wikidot.com/conky-links

    with other links to get some...
Results 1 to 25 of 243
Page 1 of 10 1 2 3 4