You are not logged in.
Well in the arch repositories themseves they don't use the latest github either but since i'm trying to fix the linking issue i have to use the latest
Offline
i have to use the latest
Have you seen ASP?
https://bbs.archlinux.org/viewtopic.php?id=185075
Offline
No i hadn't, seems interesting though.
Offline
Might be a good idea to create a list that explains the different affects of "own_window_something" is different DE's or WM.
I more or less learned this the hard way; run, edit, repeat. But it would be great to have a correct and concise explanation of how it actually works.
Some say that SID is more stable than "testing" and even the latest Ubuntu.
I support that affirmation too. I tracked the three Debian flavors for some time. Sid was like described for many months even before the freezing. It went somewhat crazy after the Jessie release as expected, but not for too long. All back to "normal" now. I stopped tracking Testing. Just Stable and Sid. Damn smooth!
Last edited by Snap (2015-07-24 09:26:04)
Offline
This old line stopped working at all (before and after converting the conky to the new format).
${if_running mocp}${alignc}${exec mocp -Q %song} ${exec mocp -Q %artist} ${exec mocp -Q %album} ${exec mocp -Q %ct} ${exec mocp -Q %tt}${else}${endif}
I'm on Sid and having conky 1.10. I haven't used moc in a while but I'm using it a lot again. It would be great having this conky working. No idea if it's due to moc or conky. Any ideas to try?
Offline
moc
Have you tried the built-in options for moc?
$moc_song $moc_artist $moc_album
See man conky
Offline
arclance said if_running was broken a while ago, i don't know if it's patched already. And there is a bug were the exec command are not executed on the first run (so if your skin has a high update time they will not show up until the second update); this last issue is reported in the github (https://github.com/brndnmtthws/conky/issues/112).
Offline
Thanks. I've increased/slowed the update interval significantly just in case and nothing changed... It never displays. Might be the if_running issue.
Offline
Snap wrote:moc
Have you tried the built-in options for moc?
$moc_song $moc_artist $moc_album
See man conky
Hmmm.... Now that's interesting. I don't see the -Q modifier (query?) listed in the man page anymore. Will try these other commands and let's see what happens. Thanks, Head.
Last edited by Snap (2015-07-24 10:24:43)
Offline
Thanks. I've increased/slowed the update interval significantly just in case and nothing changed... It never displays. Might be the if_running issue.
If you have (or make) a github account you can report it here.
${if_running} is broken in the two year old version of v1.10.x I am using, now I know it still is.
I did not report it since the first bug I found was ignored and there was essentially no development going on in conky at that time.
Two years later that bug report is still being ignored.
I am going to wait until they fix the {$cpu} issue before I mess with the current version since that does affect me.
I will report it then if you have not done so.
This is how I replace ${if_running} in my Lua script.
local mpv_state_open = io.popen("pidof mpv") --# conky 2.0
local mpv_state = ""
mpv_state = mpv_state_open:read("*a"):gsub("\n","") --# conky 2.0
mpv_state_open:close()
mpv_state_open = nil
--print(mpv_state)
if mpv_state ~= "" then --# conky 2.0
else
end --# if mpv_state ~= "" then
Last edited by arclance (2015-07-24 13:09:34)
Offline
${if_running} is broken in the two year old version of v1.10.x I am using, now I know it still is.
I did not report it since the first bug I found was ignored and there was essentially no development going on in conky at that time.
Two years later that bug report is still being ignored.
I pinned down the bug, don't know the solution but maybe some one will now take a look at it.
edit: might want to change the title of the bug report since it's not an purely border_width issue.
Last edited by iami (2015-07-24 13:56:54)
Offline
edit: might want to change the title of the bug report since it's not an purely border_width issue.
I did that, maybe a longer title will get the developers attention?
arclance changed the title from master branch fails when "border_width = 0". to master branch fails when "border_inner_margin = 0, border_outer_margin = 0, and border_width = 0"
Somehow I doubt it.
Offline
Doubt it too, but hey worth the shot. If no one responds i will try the sanity check solution and hope it doesn't break something.
Offline
I've pin-pointed the if_running bug as well (no solution though) will post the bug report
edit: sorry for the double post, don't know how to delete it
edit2: https://github.com/brndnmtthws/conky/issues/121 it works, but just not as you would expect
edit: if there are more errors let me know, or post them to github ofcourse
Last edited by iami (2015-07-24 15:28:16)
Offline
@arclance:
Thanks for the info. I'll check the workaround.
@Head_on_a_Stick:
It works nicely this way! Thanks again.
Offline
I wanted to share my conky.conf with lua loader.
conky.config = {
alignment = 'top_right',
background = false,
border_width = 1,
cpu_avg_samples = 2,
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'white',
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
use_xft = true,
font = 'DejaVu Sans Mono:size=12',
gap_x = 5,
gap_y = 60,
minimum_height = 5,
minimum_width = 5,
net_avg_samples = 2,
no_buffers = true,
double_buffer = true,
update_interval = 0.5,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
own_window = true,
own_window_class = 'Conky',
own_window_type = 'override',
own_window_transparent = true,
stippled_borders = 0,
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
show_graph_scale = false,
show_graph_range = false,
lua_load = './clock_rings.lua',
lua_draw_hook_pre = 'clock_rings'
}
conky.text = [[
${scroll 16 $nodename - $sysname $kernel on $machine | }
$hr
${color grey}Uptime:$color $uptime
${color grey}Frequency (in MHz):$color $freq
${color grey}Frequency (in GHz):$color $freq_g
${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color grey}CPU Usage:$color $cpu% ${cpubar 4}
${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes
$hr
${color grey}File systems:
/ $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
${color grey}Networking:
Up:$color ${upspeed eth0} ${color grey} - Down:$color ${downspeed eth0}
$hr
${color grey}Name PID CPU% MEM%
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color FFFFFF}${goto 25}${voffset 35}${cpu cpu0}%
${color D60650}${goto 25}CPU
]]
This is just the standard config with some additional settings.
To get the clock_rings.lua working again, remove the dot on line 25: arg='%I.%M',
and line 49: arg='%M.%S',
looks like the strftime can't handle that format anymore. Took me a while to figure that out.
conky: llua_do_call: function conky_clock_rings execution failed: ./clock_rings.lua:286: attempt to compare nil with number
doesn't help me much.
Now I finally have a working config, new style, I can start designing.
Last edited by NielsNL (2015-07-25 01:01:43)
Offline
Nice bug find.
Does anyone have conky.lang (for gedit or medit) which is up to date for Conky 1.10? If so please share (and if i'm allowed i will also push it to the github so it will be maintained in case a new keyword is added/removed.)
edit: talking about this one http://conky.pitstop.free.fr/wiki/index … y_%28en%29
Last edited by iami (2015-07-25 12:15:45)
Offline
Is there any way to pass/read the value of the conky variable color0 ect out in Lua?
Offline
^ I don't believe so.
You can create a global variable in your Lua script to store the color you use for color0 and just call that variable every time you want to use that color.
I can post an example when I get home from work if you need one.
Offline
No i'm fine, thanks anyway.
Thing is i use many conkies ~9 and it's annoying i have to change the color in all of them, including the lua files if i want to change the appearance. All my skins use the same color0, color1, ... ect and i thought maybe if lua can read them out instead of hardcoding them it could save me some work.
Currently i'm passing it as a parameter to lua, since a few line above the lua call are the color variables so copy pasting the values is easy
And i'm too lazy to make a color changing script
Last edited by iami (2015-07-28 18:27:28)
Offline
^ You can read the values from a single text file into your Lua script periodically but it is only worth doing that if you change the colors very often (more than once a day?).
If you don't change them very often it would be less work to just change the scripts manually.
Offline
Not worth the trouble atm but i will keep it in mind though, might come in handy some time. Thanks
(it is more for other people when i publish my conky configs who might want another color as i'm using)
Offline
Made these two in the last two days
http://n00by4ever.deviantart.com/art/19 … -549553910
http://n00by4ever.deviantart.com/art/Ti … -549514366
(damn it double post again sorry... i never check whether i'm the last poster or not)
@arclance: conky has updated btw
Last edited by iami (2015-08-08 06:40:33)
Offline
As seen on http://backports.debian.org/changes/jes … ports.html
Conky 1.10.0-1~bpo8+1 is now into Jessie-backports.
edit - sidebar -and a newer gnome-commnder and tmux also.
Last edited by paxmark1 (2015-08-10 23:02:08)
Jean Vanier wrote "Being Human" and "A Short History of Progress" by Ronald Wright. Gotta love the Massey Lectures.
Offline
Oh I'll have to check that out.
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat