SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2015-07-06 18:17:03

EnochRoot
#! Junkie
From: London, UK
Registered: 2011-10-15
Posts: 293
Website

Issues with new conky (1.10.0-1)

Anyone else having issues with the new conky from testing - I tried converting my config file, but was getting some very funky windowing behaviour - it didn't like own_window_type set to yes, and changing that caused my other windows to disappear etc, so went back to my old config, which conky will convert on the fly, but the new conky is crashing periodically ?

Cheers

Enoch

Offline

Be excellent to each other!

#2 2015-07-06 20:50:37

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: Issues with new conky (1.10.0-1)

I have no problems with my old configuration file in version 1.10.0-2 (Arch) but my conky is very simple.

Perhaps you should post your old and new configuration files and also explain why the files need to be changed.

Offline

#3 2015-07-06 21:13:57

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Issues with new conky (1.10.0-1)

EnochRoot wrote:

Anyone else having issues with the new conky from testing - I tried converting my config file, but was getting some very funky windowing behaviour - it didn't like own_window_type set to yes, and changing that caused my other windows to disappear etc, so went back to my old config, which conky will convert on the fly, but the new conky is crashing periodically ?

Cheers

Enoch

That's because "own_window_type" is not a yes/no response.

own_window
   Boolean, create own window to draw?

own_window_class
   Manually set the WM_CLASS name. Defaults to "Conky".

own_window_colour
   If own_window_transparent no, set a specified background colour (defaults to
black). Takes either a hex value (e.g. ffffff, note the lack of '#') or a valid
RGB name (see /usr/lib/X11/rgb.txt)

own_window_hints
   If own_window is yes, you may use these window manager hints to affect the
way Conky displays. Notes: Use own_window_type desktop as another way to
implement many of these hints implicitly. If you use own_window_type override,
window manager hints have no meaning and are ignored.

own_window_title
   Manually set the window name. Defaults to "<hostname> - conky".

own_window_argb_visual
   Boolean, use ARGB visual? ARGB can be used for real transparency, note that a
composite manager is required for real transparency. This option will not
work as desired (in most cases) in conjunction with 'own_window_type override'.

own_window_argb_value
   When ARGB visuals are enabled, this use this to modify the alpha value used.
Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.

own_window_transparent
   Boolean, set transparency? If ARGB visual is enabled, sets background opacity
to 0%.

own_window_type
   if own_window is yes, you may specify type:

  • normal,

  • desktop,

  • dock,

  • panel or

  • override (default: normal).

   Desktop windows are special windows that have no window decorations; are always
visible on your desktop; do not appear in your pager or taskbar; and are sticky
across all workspaces. Panel windows reserve space along a desktop edge, just
like panels and taskbars, preventing maximized windows from overlapping them.
The edge is chosen based on the alignment option. Override windows are not under
the control of the window manager. Hints are ignored. This type of window can be
useful for certain situations.


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#4 2015-07-06 23:34:18

EnochRoot
#! Junkie
From: London, UK
Registered: 2011-10-15
Posts: 293
Website

Re: Issues with new conky (1.10.0-1)

Yeah I realised that when the new conky complained about the value, I guess the old one had also been complaining, but this didn't cause any issues. Will post the old and new style format files tomorrow. Given that I got it working for a while, but then it crashed, the new version may have some bugs to be shaken out. Debugging the core, the first crash happened when displaying mpd info, and the second one threw a std::bad_alloc but didn't seem to generate a core.

Offline

#5 2015-07-07 02:31:38

paxmark1
#! Junkie
From: Winnipeg, MB Canada
Registered: 2009-07-08
Posts: 263

Re: Issues with new conky (1.10.0-1)

I tried starting a thread on this, but I could not log in on iceweasel or elinks.  No problems for me with 1.10 in sid  Mine is simple.

http://forum.siduction.org/index.php?to … 2#msg46072    NOTE google translate at top of page  (German source)  I mentioned this in irc.


Jean Vanier wrote "Being Human" and "A Short History of Progress" by Ronald Wright.  Gotta love the Massey Lectures.

Offline

#6 2015-07-07 07:16:09

EnochRoot
#! Junkie
From: London, UK
Registered: 2011-10-15
Posts: 293
Website

Re: Issues with new conky (1.10.0-1)

Thanks for that @paxmark1, I too had issues with a call to pre_exec but I removed it as the entry wasn't dynamic so didn't add any real value.

Here is my current config which is crashing consistently after running for some time (less than an hour) with a std::bad_alloc. I'll grab the conky code when I get some time but this is going to be happening whenever the code is trying to allocate memory. The converted config looks similar, when converted into lua format. Will try running with that now for a while and see if the same issue persists.

Looks like others are having similar issues, interesting that they mention MPD too. https://github.com/brndnmtthws/conky/issues/106

Enoch

##############################################
# Settings
##############################################
background yes
use_xft yes
xftfont DejaVu Sans Mono:size=10
xftalpha 0.8
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type override
own_window_class conky-semi

##############################################
# Compositing tips:
# Conky can play strangely when used with
# different compositors. I have found the
# following to work well, but your mileage
# may vary. Comment/uncomment to suit.
##############################################
## no compositor
#own_window_type override
own_window_argb_visual yes

## xcompmgr
#own_window_type override
#own_window_argb_visual yes

## cairo-compmgr
#own_window_type desktop
#own_window_argb_visual yes
##############################################
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 300 500
maximum_width 3950
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
# yellow colour for road
# default_color FFCD35
# blue colour for debian blue
# default_color 6CA8CD
# orange colour for salamander
default_color F09739
# wheat for four elements and salamander
# default_color wheat
# brown for birds
# default_color 383838
# white for matrix and times square
# default_color light steel blue
# green for matrix
# default_color 119C22
default_shade_color 000000
default_outline_color 828282
alignment bottom_right
gap_x 20
gap_y 20
short_units no
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
##############################################
#  Output
##############################################
TEXT
${font URW Gothic L:size=95}$alignr${time %H:%M}${font}

${alignr}${time %A, %d %B %Y}

${alignr}Kernel: ${kernel}
${alignr}Uptime: ${alignr}${uptime}
${alignr}Processes: ${alignr}$processes

${alignr}RAM: $mem / $memmax
$alignr${membar 8,300}

${alignr}root: ${fs_used /} / ${fs_size /}
${alignr}${fs_bar 8,300 /}

${alignr}home: ${fs_used /home} / ${fs_size /home}
${alignr}${fs_bar 8,300 /home}

${alignr}srv: ${fs_used /srv} / ${fs_size /srv}
${alignr}${fs_bar 8,300 /srv}

${alignr}Desktop:${desktop_name}
${alignr}${mpd_status} Track: ${mpd_track} vol: ${execi 2 /home/stew/bin/volume.sh}
${alignr}${mpd_artist}
${alignr}${mpd_album}
${alignr}${mpd_title}

${alignr}CPU1:
${alignr}${cpubar cpu1 8,300}
${alignr}CPU2:
${alignr}${cpubar cpu2 8,300}
${alignr}CPU3:
${alignr}${cpubar cpu3 8,300}
${alignr}CPU4:
${alignr}${cpubar cpu4 8,300}
${alignr}CPU5:
${alignr}${cpubar cpu5 8,300}
${alignr}CPU6:
${alignr}${cpubar cpu6 8,300}
${alignr}CPU7:
${alignr}${cpubar cpu7 8,300}
${alignr}CPU8:
${alignr}${cpubar cpu8 8,300}
${alignr}CPU: ${cpu cpu0}%  Load: $loadavg
${alignr}${cpugraph 20, 300}
${alignr}DISK:
${alignr}${diskiograph 20,300}
${alignr}SWAP: $swapperc%
${alignr}${swapbar 8,300}

${alignr}Total Up: ${totalup eth0}
${alignr}${upspeedgraph eth0 20, 300}
${alignr}Total Down: ${totaldown eth0}
${alignr}${downspeedgraph eth0 20, 300}

Offline

Board footer

Powered by FluxBB

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

Debian Logo