You are not logged in.

#1 2017-08-23 14:02:59

templariomaster
New Member
Registered: 2017-08-21
Posts: 2

I'm trying to add a conky but it doesn't work

Is this one

https://www.deviantart.com/art/Aqua-rin … -691952314

If I use conky -c Aqua-rings-110 this is the output

Conky: desktop window (a7) is root window
Conky: window type - normal
Conky: drawing to created window (0x5400001)
Conky: drawing to double buffer

and it stays there, without doing anything, the only change that I can see is that conky seems to resort to the default conky.

and debugging returns the same text, so I don't know where to start.

I put the conky in ~/.config/conky and the LUA in ~/.config/conky/LUA so I don't know what could be wrong here either.
I

Offline

#2 2017-08-23 14:05:51

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,057

Re: I'm trying to add a conky but it doesn't work

If you go menu --> perferences --> conky, you will see a conky chooser. Look for your conky in the list, assuming you stored it in ~/.config/conky and check it. This will write out a small text file that tells Openbox's autostart which conky file(s) to load.

Offline

#3 2017-08-23 14:24:06

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: I'm trying to add a conky but it doesn't work

templariomaster wrote:

...
If I use conky -c Aqua-rings-110 this is the output
...

You haven't used the name of the conky - the command should be

conky -c Aqua-rings-110.conkyrc

...although your command should have produced

$ conky -c Aqua-rings-110
conky: cannot open Aqua-rings-110: No such file or directory

As @tknomanzr said, using the Conky Chooser dialog is straightforward.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#4 2017-08-23 16:01:44

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

Re: I'm trying to add a conky but it doesn't work

Also if you run "conky -c Aqua-rings-110" which doesn't exist, as damo says it's "Aqua-rings-110.conkyrc", you should get an instance of whatever conky you have at ~/.conkyrc startring.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#5 2017-08-24 17:45:07

templariomaster
New Member
Registered: 2017-08-21
Posts: 2

Re: I'm trying to add a conky but it doesn't work

I just wrote that in short, originally I did add the conkyrc at the end.

Also, I used the conky menu first, but when I found out that it didn't work I used the console to at least get an error message, but not even debugging seems to give me that.

I must say its quite odd.

Offline

#6 2017-08-24 17:57:44

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,612

Re: I'm trying to add a conky but it doesn't work

templariomaster wrote:

I put the conky in ~/.config/conky and the LUA in ~/.config/conky/LUA so I don't know what could be wrong here either.
I

There is also a BL-atomfeed.sh file that needs to be placed in $HOME/.config/conky/scripts/

Did you copy that one over too? Maybe hangs looking for that file to execute (don't know why it would hang though)?


You must unlearn what you have learned.
    -- yoda

Offline

#7 2017-08-24 18:11:14

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,057

Re: I'm trying to add a conky but it doesn't work

Also, that conky that damo wrote is for conky 1.10, which has to be backported if you are running Jessie I believe. Stretch should have conky 1.10

Offline

#8 2017-08-24 19:09:21

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: I'm trying to add a conky but it doesn't work

tknomanzr wrote:

Also, that conky that damo wrote is for conky 1.10, which has to be backported if you are running Jessie I believe. Stretch should have conky 1.10

Good point. I assumed the OP had realised that from the deviantart page, and in the header comments sad


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#9 2017-08-24 19:13:50

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

Re: I'm trying to add a conky but it doesn't work

From a conky v1.10 you can take the code "almost verbatim" between

conky.text = [[

and

]];

and put it under

TEXT

in a conky v1.9, check; gaps, alignment, font, etc.

Check if there is LUA script being called above

conky.text = [[

and put it above

TEXT

and you're good to go.

I do that with my test.conky quite often:

## pkill -xf "conky -c /media/5/Conky/test.conky" &

## pkill -xf "faketime '2525-07-31 13:45:00' conky -c /media/5/Conky/test.conky" &
## pkill -xf "faketime '2525-07-31' conky -c /media/5/Conky/test.conky" &
## pkill -xf "faketime '13:45:00' conky -c /media/5/Conky/test.conky" &

## ---------- Begin Window Settings
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints skip_taskbar,skip_pager,below,undecorated
own_window_colour 000000
own_window_class Conky
own_window_title Sector11's Test Conky
## ARGB can be used for real transparencyown_window_hints
#own_window_argb_visual yes ## Options: yes or no
## Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
#own_window_argb_value 80

#minimum_size 300 0
#maximum_width 300

gap_x 100	## l|r
gap_y 100	## u|d

#minimum_size 300 200
#maximum_width 300

alignment tl

## ---------- End Window Settings
## ---------- Font Settings

## Force UTF8? requires XFT
override_utf8_locale yes

use_xft yes
#xftfont Liberation Mono:bold:size=11
xftfont Fantasque Sans Mono:bold:size=10
#xftfont Monofur:bold:size=10
#xftfont DejaVu Sans Mono:bold:size=10
#xftfont Fira Mono:bold:size=9
## Alpha of Xft font. Must be a value at or between 1 and 0
xftalpha 1.0

## --------- End Font Settings
## --------- Color Settings
draw_shades yes
default_shade_color 000000
draw_outline no
default_outline_color 000000


default_color DCDCDC #Gainsboro
color0 C0C0C0 #Silver
color1 778899 #LightSlateGray
color2 FAEBD7 #AntiqueWhite
color3 87CEFA #LightSkyBlue
color4 48D1CC #MediumTurquoise
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 B0E0E6 #PowderBlue
color8 FFD700 #Gold
color9 CD5C5C #IndianRed
## ---------- End Color Settings
## ---------- Begin Borders Section
draw_borders no
## Stippled borders?
stippled_borders 5
## border margins
border_inner_margin 0
border_outer_margin 0
## border width
border_width 2
## graph borders
draw_graph_borders yes ## no
## default_graph_size 15 40
## ---------- End Borders Secton
## ---------- Begin Miscellaneous Section
## Boolean value, if true, Conky will be forked to background when started.
background no ## yes

## Adds spaces around certain objects to stop them from moving other things
## around, this only helps if you are using a mono font
## Options: right, left or none
use_spacer none

## Default and Minimum size is 256 - needs more for single commands that
## "call" a lot of text IE: bash scripts
#text_buffer_size 3072

## Subtract (file slystem) buffers from used memory?
no_buffers yes

## change GiB to G and MiB to M
#short_units yes

## Like it says, ot pads the decimals on % values
## doesn't seem to work since v1.7.1
#pad_percents 2

# Imlib2 image cache size, in bytes. Defaults to 4MiB. Increase this value if
# you use $image lots. Set to 0 to disable the image cache.
imlib_cache_size 0

# Interval (in seconds) to flush Imlib2 cache.
#imlib_cache_flush_interval 900

## default_bar_size 0 10

## Use the Xdbe extension? (eliminates flicker)
## It is highly recommended to use own window with this one
## so double buffer won't be so big.
double_buffer yes

## Maximum size of user text buffer, i.e. layout below TEXT line in config file
## default is 16384 bytes)
##max_user_text 16384

## Desired output unit of all objects displaying a temperature. Parameters are
## either "fahrenheit" or "celsius". The default unit is degree Celsius.
## temperature_unit Fahrenheit

short_units yes
#top_name_width 8
## ---------- End Miscellaneous Section

## ---------- Begin draw.bg LUA
## ---------- Above and After TEXT  (requires a composite manager or it blinks!)

## lua_load /media/5/Conky/LUA/draw-bg.lua
## TEXT
## ${lua conky_draw_bg 10 0 0 0 0 0x000000 0.2}

##OR Both above TEXT (no composite manager required - no blinking!)

#lua_load /media/5/Conky/LUA/draw-bg.lua
#lua_draw_hook_pre draw_bg 10 0 0 0 0 0x000000 0.2
# TEXT

## Note
## ${lua conky_draw_bg 20 0 0 0 0 0x000000 0.2}
##   See below:        1  2 3 4 5 6        7

## ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}

## covers the whole window and will change if you change the minimum_size setting

## 1 = 20            corner_radius
## 2 = 0             x_position l|r
## 3 = 0             y_position u|d
## 4 = 0             width
## 5 = 0             height
## 6 = 0x000000      color
## 7 = 0.2           alpha

## ---------- End draw.bg LUA

#lua_load /media/5/Conky/LUA/colorfill.test.2.lua
#lua_draw_hook_pre main
#### UP: ${exec w | awk '/ up /{gsub(/,$/,"",$3);print $3}'}

##${image /home/sector11/.config/conky/images/bl-flame-ellipses-grey.png -p 0,0 -s 116x150}\

update_interval 1
TEXT
${alignc}${time %T on %a} the \
${if_match ${time %d} == 01}${time %dst} ${else}\
${if_match ${time %d} == 21}${time %dst} ${else}\
${if_match ${time %d} == 31}${time %dst} ${else}\
${if_match ${time %d} == 02}${time %dnd} ${else}\
${if_match ${time %d} == 22}${time %dnd} ${else}\
${if_match ${time %d} == 03}${time %drd} ${else}\
${if_match ${time %d} == 23}${time %drd} ${else}${time %dth} \
${endif}${endif}${endif}${endif}${endif}${endif}${endif}\
${time day of %b %Y}
${alignc}${color0}Week Number:${color} ${time %U}
${alignc}${color0}Boot:${color} ${pre_exec who -b | cut -c23-} ${color0}Up:${color} ${uptime_short}
${alignc}${color0}UTC:${color} ${utime %H:%M} ${color0}${execi 1 /media/5/Conky/scripts/swatch.sh}${color}

${alignc}${color0}CPU Avg${color} ${if_match ${cpu cpu0}<10}  ${cpu cpu0}\
${else}${if_match ${cpu cpu0}<100} ${cpu cpu0}\
${else}${color9}${cpu cpu0}${endif}${endif}${color}%\
 | ${color0}1${color} ${if_match ${cpu cpu1}<10}${color0}  ${color}${cpu cpu1}\
${else}${if_match ${cpu cpu1}<100}${color0} ${color}${cpu cpu1}\
${else}${color9}${cpu cpu1}${endif}${endif}${color}%\
 | ${color0}2${color} ${if_match ${cpu cpu2}<10}${color0}  ${color}${cpu cpu2}\
${else}${if_match ${cpu cpu2}<100}${color0} ${color}${cpu cpu2}\
${else}${color9}${cpu cpu2}${endif}${endif}${color}%\
 | ${color0}3${color} ${if_match ${cpu cpu3}<10}${color0}  ${color}${cpu cpu3}\
${else}${if_match ${cpu cpu3}<100}${color0} ${color}${cpu cpu3}\
${else}${color9}${cpu cpu3}${endif}${endif}${color}%
${alignc}${color0}CPU 3200 MHz\
 | 1 ${color}${if_match ${freq 1}<1000} ${freq 1}${else}${freq 1}${endif}\
 ${color0}| 2 ${color}${if_match ${freq 2}<1000} ${freq 2}${else}${freq 2}${endif}\
 ${color0}| 3 ${color}${if_match ${freq 3}<1000} ${freq 3}${else}${freq 3}${endif}
${alignc}Temperatures
${alignc}${color0}CPU${color} ${platform f71882fg.2560 temp 2}${color0}°${color}\
 ${color0}| M|B${color} ${execpi 5 sensors k10temp-pci-00c3 | grep 'temp1' | awk -F'+' '{print $2}' | awk -F'.' '{print $1}'}${color0}°${color}\
 ${color0}| SDA${color} ${hddtemp /dev/sda}${color0}°${color}\
 ${color0}| GPU${color} ${nvidia temp}${color0}°${color}

${alignc}${color0}OS${color} ${pre_exec lsb_release -is} ${color0}Version ${color}${pre_exec cat /etc/debian_version}
${alignc}${color0}WM${color} ${pre_exec env | grep DESKTOP_SESSION= |cut -c 17-} ${color0}Display ${color}${pre_exec xdpyinfo | sed -n -r "s/^\s*dimensions:.*\s([0-9]+x[0-9]+).*/\1/p"}
Installed: ${execpi 60 list-installed} in Bunsen with ${execpi 60 list-updates} updates available.

${alignc}${color9}${swapbar 0,30}${color} ↓ Conky v${conky_version} test code ↓ ${color9}${swapbar 0,30}${color}
${color9}${swapbar 0}${color}

Nvidia Card
    Threshold ${nvidia threshold}°
         Temp ${nvidia temp}°
      Ambient ${nvidia ambient}°
     GPU Freq ${nvidia gpufreq} MHz
     MEM Freq ${nvidia memfreq} MHz
Image Quality ${nvidia imagequality}

HDD ${hddtemp /dev/sda}°
${execp_command = apt list --upgradable | expr $(wc -l) - 1]}
${color9}${swapbar 0}${color}
${alignc}${color9}${swapbar 0,30}${color} ↑ between lines ↑ ${color9}${swapbar 0,30}${color}

Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

Board footer

Powered by FluxBB