You are not logged in.

#1 2013-09-18 21:15:22

nos09
Member
Registered: 2011-09-09
Posts: 107

[solved] conky not working

conky doesnt seem to work well.. i have iinstalled conky-lua from AUR on fresh arch-64 machine.
here is the config file.

 # this file goes in ~


background yes
use_xft yes
xftfont monospace:pixelsize=8
xftalpha 0.8
update_interval 1.0
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades no
draw_outline n
draw_borders noo
draw_graph_borders yes
stippled_borders 0
border_margin 4
border_width 0
default_color black
default_shade_color black
default_outline_color white
alignment top_right
gap_x 12
gap_y 12
no_buffers yes
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
use_spacer yes

maximum_width 350
own_window_argb_visual yes
own_window_argb_value 255


TEXT
#leet chars: ┤┤└└┴┴┐┐││┘┘┌┌├├┬┬┼┼┴┴── ││ ▽▼△▲▵▴▾▿
${alignr}${offset -32} ${font DejaVu Sans Mono:pixelsize=14}slackware
${alignr}${offset 76} $font └─────────── ${sysname}   
${alignr}$font │  
${alignr}$font ${nodename} -─┤  
${alignr}$font < ${kernel} > kernel -─┤    │  
${alignr}$font < $machine >   arch -─┤    │  
${alignr}$font < $uptime > uptime -─┘    │  
${alignr}$font │  
${alignr}$font system -─┤  
${alignr}$font cpu -─┤    │  
${alignr}$font used -─┤    │    │  
${alignr}$font < ${cpu 1}% > cpu1 -─┤    │    │    │  
${alignr}$font < ${cpu 2}% > cpu2 -─┘    │    │    │  
${alignr}$font freq -─┤    │    │  
${alignr}$font < ${freq 1}mhz > cpu1 -─┤    │    │    │  
${alignr}$font < ${freq 2}mhz > cpu2 -─┘    │    │    │  
${alignr}$font < $loadavg > load -─┤    │    │  
${alignr}$font < ${top name 1}  ${top cpu 1} > -─┤    │    │  
${alignr}$font < ${top name 2}  ${top cpu 2} > -─┤    │    │  
${alignr}$font < ${top name 3}  ${top cpu 3} > -─┤    │    │  
${alignr}$font < ${top name 4}  ${top cpu 4} > -─┤    │    │  
${alignr}$font < ${top name 5}  ${top cpu 5} > -─┘    │    │  
${alignr}$font processes -─┤    │  
${alignr}$font < $processes >   total -─┤    │    │  
${alignr}$font < $running_processes > running -─┘    │    │  
${alignr}$font temperature -─┘    │  
${alignr}$font < ${hwmon temp 1} > tmp1 -─┘         │  
${alignr}$font │  
${alignr}$font resources -─┤  
${alignr}$font < $diskio_read >  read -─┤    │  
${alignr}$font < $diskio_write > write -─┤    │  
${alignr}$font ram -─┤    │  
${alignr}$font < $memperc% > used -─┤    │    │  
${alignr}$font < $mem/$memmax > -─┘    │    │    │  
${alignr}$font < ${top_mem name 1}  ${top_mem mem 1} > -─┤    │    │  
${alignr}$font < ${top_mem name 2}  ${top_mem mem 2} > -─┤    │    │  
${alignr}$font < ${top_mem name 3}  ${top_mem mem 3} > -─┤    │    │  
${alignr}$font < ${top_mem name 4}  ${top_mem mem 4} > -─┤    │    │  
${alignr}$font < ${top_mem name 5}  ${top_mem mem 5} > -─┘    │    │  
${alignr}$font < $swapperc% - $swap/$swapmax > swap -─┤    │  
${alignr}$font < ${swapbar 5,120} > -─┘    │    │  
${alignr}$font < ${fs_used /}/${fs_size /} > root -─┤    │  
${alignr}$font < ${fs_bar 5,120 /} > -─┘    │    │  
${alignr}$font < ${fs_used /home}/${fs_size /home} > home -─┤    │  
${alignr}$font < ${fs_bar 5,120 /home/hades/} > -─┘    │    │  
${alignr}$font < ${fs_used /usr/local}/${fs_size /usr/local} > local -─┘    │  
${alignr}$font < ${fs_bar 5,120 /home/hades/} > -─┘         │  
${alignr}$font │  
${alignr}$font net -─┘  
${alignr}$font < ${tcp_portmon 1 65535 count} > connections -─┤       
${alignr}$font < ${tcp_portmon 1 32767 count} > in / locale -─┤       
${alignr}$font < ${tcp_portmon 1 32767 rhost 0} ${tcp_portmon 1 32767 lservice 0} > -─┤    │       
${alignr}$font < ${tcp_portmon 1 32767 rhost 1} ${tcp_portmon 1 32767 lservice 1} > -─┤    │       
${alignr}$font < ${tcp_portmon 1 32767 rhost 2} ${tcp_portmon 1 32767 lservice 2} > -─┘    │       
${alignr}$font < ${tcp_portmon 32768 61000 count} > out / remote -─┤       
${alignr}$font < ${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0} > -─┤    │       
${alignr}$font < ${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1} > -─┤    │       
${alignr}$font < ${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2} > -─┤    │       
${alignr}$font < ${upspeed wlan0} k/s >   up -─┤       
${alignr}$font < ${upspeedgraph wlan0 8,120 8b2132 fe8608} > -─┘    │       
${alignr}$font < ${downspeed wlan0} k/s > down -─┘       
${alignr}$font < ${downspeedgraph wlan0 8,120 8b2132 fe8608} > -─┘             

here is the screen shot - http://i39.tinypic.com/117qo3a.jpg

Last edited by nos09 (2013-09-19 04:41:29)

Offline

#2 2013-09-18 21:27:24

MrElg
Member
Registered: 2013-08-04
Posts: 49

Re: [solved] conky not working

A shot in the dark, but awesome doesnt handle transparency by default. My conky looked a bit like that before I installed and set up unagi as compositing manager. Could that be the problem? Have you tested if the conky works if you dont use transparency?

Last edited by MrElg (2013-09-18 21:34:46)

Offline

#3 2013-09-18 21:39:12

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,175
Website

Re: [solved] conky not working

MrElg wrote:

A shot in the dark, but awesome doesnt handle transparency by default. My conky looked a bit like that before I installed and set up unagi as compositing manager. Could that be the problem? Have you tested if the conky works if you dont use transparency?

You need compositing before any transparency effects will work properly. As for why it's completely black, I haven't a clue.


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#4 2013-09-18 21:48:11

nos09
Member
Registered: 2011-09-09
Posts: 107

Re: [solved] conky not working

well i commented the line - own_window_transparent yes. and it still does nothing. and i installed xcompmgr as i read somewhere that it might help but still the same thing is happening.
any program that i might have missed to installed ? or any configuration i might have forgotten ?

Offline

#5 2013-09-18 21:56:32

MrElg
Member
Registered: 2013-08-04
Posts: 49

Re: [solved] conky not working

For transparency in awesome, you'll have to edit your rc.lua config file for awesome. I recommend reading this one, as it is a bit more in detail on the subject than the Arch wiki:
http://awesome.naquadah.org/wiki/Transparency

For the missing text, I would suspect it to be from the fact that the text is set to black. Isnt it?

Offline

#6 2013-09-18 22:26:55

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [solved] conky not working

Try

own_window no
own_window_type normal
own_window_transparent yes

(edit) removed scrot now that thread is [solved])
(this is your conkyrc with those mods, running with no compositor, on a background set with feh)

Last edited by 2ManyDogs (2013-09-19 14:34:02)

Offline

#7 2013-09-18 22:53:19

MrElg
Member
Registered: 2013-08-04
Posts: 49

Re: [solved] conky not working

2ManyDogs wrote:

Try

own_window no
own_window_type normal
own_window_transparent yes

(this is your conkyrc with those mods, running with no compositor, on a background set with feh)

Are you running awesome? I tried this setup with feh once while I configured my conky with awesome last time, but it resulted in the conky taking over the screen. It might be that I have some other option interfering, but it didnt seem go well with this tiling.

I would rather recommend to use the guides at the awesome page. It is a pretty good guide there on how to configure the window manager. That did at least solve my problem.

EDIT: Also, if you're going to try out with such as transparent terminal and such, you might as well use the compositing manager solution. You'll need it for transparency later anyways.

Last edited by MrElg (2013-09-18 22:58:25)

Offline

#8 2013-09-18 22:55:44

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [solved] conky not working

MrElg wrote:

Are you running awesome?

No, not in that scrot. If this does not work in awesome, I apologize, but I thought the OP should at least try it.

(edit) -- removed scrot now that thread is [solved])
There. That's in awesome. Still no compositor.

I admit that I don't use awesome (I only installed it to test this), so this solution may conflict with some of its settings somehow, but it does appear to work.

Last edited by 2ManyDogs (2013-09-19 14:33:29)

Offline

#9 2013-09-18 23:59:01

MrElg
Member
Registered: 2013-08-04
Posts: 49

Re: [solved] conky not working

Looks nice, 2ManyDogs. I tested with my awesome again, but unfortunately it did conflict once more, so I guess there must be something wrong here then. It's no problem though, my unagi setup works great. Anyways, it might be easier for the original poster if I specify my setup as well.

In my ~/.config/awesome/rc.lua
just before the Variable definitions I have placed

 awful.util.spawn_with_shell("unagi &")

This might differ depending on the compositing manager used. I installed unagi from the AUR.

In my ~/.conkyrc
i have this setup

own_window yes
own_window_type desktop
own_window_argb_visual yes
own_window_argb_value 0

I experienced a bit back and forth with the opacity, but ended in the end with full transparancy.

BTW, you've got a nice setup nos09. Did you make it yourself? You might notice though that the gap_y is a bit too low for it to display neatly. It will touch the taskbar at the top, so you might want to increase this to about 20.

Offline

#10 2013-09-19 04:40:47

nos09
Member
Registered: 2011-09-09
Posts: 107

Re: [solved] conky not working

there is no word for my love for this community !!! @ 2manydogs - your suggestion worked like a smoothie..
thank you everybody !
PS - i have had installed xcompmgr to work with transparency but apparently it doesn't require that, it works just fine without it.

Last edited by nos09 (2013-09-19 04:44:25)

Offline

Board footer

Powered by FluxBB