You are not logged in.

#1 2015-07-22 09:14:03

AlmostSurelyRob
Member
From: UK
Registered: 2012-03-17
Posts: 77

conky+xmonad+dzen2: blinking conky after change of conky.conf syntax

Hello,

after one of recent updates I had to change the syntax of conky.conf file and since then I am experiencing transient flickering of conky messages outside of dzen2 bar.

I am running on xmonad and the relevant lines in my xmonad.hs configuration files are:

myXmonadBar = "dzen2 -x '0' -y '0' -h '25' -w '1920' -ta 'l' -fg '#FFFFFF' -bg '#1B1D1E'"
myStatusBar = "conky -c /home/c111269/.xmonad/conky.conf | dzen2 -x '94' -w '1826' -h '25' -ta 'r' -bg '#1B1D1E' -fg '#FFFFFF' -y '-1'"
myBitmapsDir = "/home/c111269/.xmonad/dzen2"
main = do
    dzenLeftBar <- spawnPipe myXmonadBar
    dzenRightBar <- spawnPipe myStatusBar
    ...

I found this post on the forum with suggestions to add a few lines to the configuration, but that didn't help. My current configuration is:

-- vim: ts=4 sw=4 noet ai cindent syntax=lua

conky.config = {
        background = true,
        out_to_console = true,
        out_to_x = no,
        own_window = false,
        own_window_type = override,
        on_bottom = yes,
        double_buffer = yes,
        use_spacer = none,
        update_interval = 1.0
}

conky.text = [[
^i(/home/c111269/.xmonad/dzen2/cpu.xbm) ^fg(\#FFFFFF)${cpu}% \
^i(/home/c111269/.xmonad/dzen2/mem.xbm) ^fg(\#FFFFFF)${memperc}% ^fg(\#ebac54) ${if_existing /proc/net/route eno1} \
^i(/home/c111269/.xmonad/dzen2/net_wired.xbm) ^fg(\#00aa4a) \
^i(/home/c111269/.xmonad/dzen2/net_down_03.xbm)${downspeed eno1} ^fg(\#ff3333) \
^i(/home/c111269/.xmonad/dzen2/net_up_03.xbm)${upspeed eno1} ^fg(\#ebac54) ${endif}\
^i(/home/c111269/.xmonad/dzen2/volume.xbm) ^fg(\#00ffff)${exec amixer get Master | egrep -o "[0-9]+%" | head -1 | egrep -o "[0-9]*"}% ^fg(\#ebac54) \
^fg(\#FFFFFF) ${time %b %e} ^fg(\#ebac54) ${time %R}
]]

I can also give the output from xmonad log file.

conky: desktop window (2fb) is root window
conky: drawing to desktop window
conky: forked to background, pid is 19128

Please let me know if you have any suggestions or ideas of what may be going wrong here.

Offline

Board footer

Powered by FluxBB