You are not logged in.

#1961 2024-01-08 20:06:36

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

Re: Show us your conky

unklar wrote:

Sorry, it doesn't work for me.

OUCH!
I set:

override_utf8_locale yes

to NO and got bad stuff.

I also notice in [yad -font] there is no ConkyWeather regular the 4 styles are:
italic, medium, bold & bold italic
BUT these are what work for me:

 1 ${font ConkyWeather regular:size=30}${execpi 300  sed -n '1p' /media/5/Conky/wttr.in/wttr.in.txt}${font}
 1 ${font ConkyWeather italic:size=30}${execpi 300  sed -n '1p' /media/5/Conky/wttr.in/wttr.in.txt}${font}
 1 ${font ConkyWeather medium:size=30}${execpi 300  sed -n '1p' /media/5/Conky/wttr.in/wttr.in.txt}${font}
 1 ${font ConkyWeather bold:size=30}${execpi 300  sed -n '1p' /media/5/Conky/wttr.in/wttr.in.txt}${font}
 1 ${font ConkyWeather bold italic:size=30}${execpi 300  sed -n '1p' /media/5/Conky/wttr.in/wttr.in.txt}${font}

And they ALL LOOK THE SAME

${font ConkyWeather:size=30} - does not work
${font ConkyWeather:regular:size=30} - does not work
${font ConkyWeather:bold:size=30} - does not work

Strange

Looking at ConkyColors, ConkySymbols, ConkyWeather or ConkyWindNESW with a font manager, I simply use

yad -font

do they display properly?
and then in a conky?
These all work for me:

${font conkycolors:size=30}a b c${font}
${font conkysymbols:size=30}abc${font}
${font conkyweather:size=30}a b c${font}
${font conkywindnesw:size=30}a b c${font}

Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1962 2024-01-09 09:58:27

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,641

Re: Show us your conky

2ZVxS1Ft.png

NOW:${texeci 600 sed -n '2p' $HOME/TEST/curr_cond}°${alignc -15}${texeci 600 sed -n '1p' $HOME/TEST/daily_forecast|tr a-z A-Z|cut -c1-3}:${color}${texeci 600 sed -n '4p' $HOME/TEST/daily_forecast}/${texeci 600 sed -n '5p' $HOME/TEST/daily_forecast}
${font ConkyWeather:size=30}${texeci 600  sed -n '22p' $HOME/TEST/curr_cond}${goto 80}${texeci 600  sed -n '106p' $HOME/TEST/daily_forecast}${font}
--------------------------------------
${font conkycolors:size=30}a b c${font}
${font conkysymbols:size=30}abc${font}
${font conkyweather:size=30}a b c${font}
${font conkywindnesw:size=30}a b c${font}

15pyeK5t.png

${font ConkyWeather:size=40}A B C D E G K O${font}

${font ConkyWeather:size=20}a b c d e f g h i j k l m n o p q r s t u v w x y${font}

${font ConkyWeather:size=20}0 1 2 3 4 5 6 7 8 9${font}

It is only the E

Offline

#1963 2024-01-09 16:46:47

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,641

Re: Show us your conky

@Sector11
the neighboring forum is not working again (503 Service Unavailable)

ragamatrix and loutch have chosen twelve months. The face changes every month.

O6Qq6JKt.png

I have packed the images and your original conky wink here.
You have the lua script.

Edit: Here everything is complete.

Last edited by unklar (2024-01-21 15:49:01)

Offline

#1964 2024-01-12 12:48:10

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

Re: Show us your conky

unklar wrote:

@Sector11
I have packed the images and your original conky wink here.
You have the lua script.

You are a gentleman and a scholar and also great friend.
Thank you.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1965 2024-01-12 18:25:03

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,641

Re: Show us your conky

Sector11 wrote:
unklar wrote:

@Sector11
I have packed the images and your original conky wink here.
You have the lua script.

You are a gentleman and a scholar and also great friend.
Thank you.

KWn6AFF.png

Offline

#1966 2024-01-16 23:04:46

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

Re: Show us your conky

By request. Mabox linux default conkies -

Mabox-20240116-22-53-39.webp

mabox_tools_mbcolor.conkyrc

conky.config = {
-- WINDOW
	own_window = true,
	own_window_type = 'desktop',
	own_window_transparent = false,
	own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',
	own_window_colour = '#142c2c',
	own_window_class = 'Conky',
	own_window_title = 'Mabox Tools Conky',
    
    alignment = 'bottom_left',
	gap_x = 240,
	gap_y = 60,
	minimum_width = '200',

-- FONTS
	use_xft = true,
	font = 'Ubuntu:size=8',
	xftalpha = 1,
	override_utf8_locale = true,

-- COLORS
	draw_shades = false,
	default_shade_color = '#000000',
	draw_outline = false,
	default_outline_color = '#222222',

	default_color = '#309552',
	color0 = '#accdc7',

-- BORDERS
	draw_borders = true,
-- Stippled borders?
	stippled_borders = 0,
-- border margins
	border_inner_margin = 8,
	border_outer_margin = 8,
-- border width
	border_width = 1,

-- MISC
-- Boolean value, if true, Conky will be forked to background when started.
	background = true,

-- 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',

-- Subtract (file system) buffers from used memory?
	no_buffers = true,

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

-- 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 = true,
	update_interval = 2,
};

conky.text = [[
${color}MENUS/SIDEPANELS ${color0} ${hr 1}${voffset -2}
${color0}Main menu  ${alignr}${color}super / super+spacebar
${color0}Settings menu ${alignr} ${color}super+s
${color0}Left ${alignr} ${color}ctrl+super+left
${color0}Right ${alignr} ${color}ctrl+super+right
${color0}Places ${alignr} ${color}super+.
${color}CONFIG MENUS ${color0} ${hr 1}${voffset -2}
${color0}Tint2 ${alignr}${color}super+alt+p
${color0}Conky ${alignr}${color}super+alt+k
${color0}Menu/Panels  ${alignr}${color}super+alt+m
${color0}Wallpaper ${alignr}${color}super+alt+w
${color0}ScreenLocker ${alignr}${color}super+alt+l
${color}Mabox Linux Tools ${color0} ${hr 1}${voffset -2}
${color0}Command Palette  ${alignr}${color}super+F1
${color0}Colorizer  ${alignr}${color}super+alt+o
${color0}Color Menu  ${alignr}${color}super+alt+c
${color0}Espanso - text expander ${alignr}${color}super+alt+e
${color0}Exit dialog ${alignr}${color}super+x
${color0}Screenshot tool ${alignr}${color}super+PrtScr
]];

shortcuts_mbcolor.conkyrc

conky.config = {
-- WINDOW
	own_window = true,
	own_window_type = 'desktop',
	own_window_transparent = false,
	own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',
	own_window_colour = '#142c2c',
	own_window_class = 'Conky',
	own_window_title = 'Mabox Shortcuts Conky',
    
    alignment = 'bottom_left',
	gap_x = 30,
	gap_y = 60,
	minimum_width = '200',

-- FONTS
	use_xft = true,
	font = 'Ubuntu:size=8',
	xftalpha = 1,
	override_utf8_locale = true,

-- COLORS
	draw_shades = false,
	default_shade_color = '#000000',
	draw_outline = false,
	default_outline_color = '#222222',

	default_color = '#309552',
	color0 = '#accdc7',

-- BORDERS
	draw_borders = true,
-- Stippled borders?
	stippled_borders = 0,
-- border margins
	border_inner_margin = 8,
	border_outer_margin = 8,
-- border width
	border_width = 1,

-- MISC
-- Boolean value, if true, Conky will be forked to background when started.
	background = true,

-- 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',

-- Subtract (file system) buffers from used memory?
	no_buffers = true,

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

-- 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 = true,
	update_interval = 2,
};

conky.text = [[
${color}RUN${alignr}${color0}super = windows key${voffset -8}
${color0}${hr 1}${voffset -4}
${color0}terminal  ${alignr}${color}super+t
${color0}quake-terminal  ${alignr}${color}ctrl+~,F12
${color0}file manager  ${alignr}${color}super+f
${color0}web browser  ${alignr}${color}super+w
${color0}text editor  ${alignr}${color}super+e
${color0}file search  ${alignr}${color}super+/
${color0}galculator  ${alignr}${color}super+g
${color0}internet radio  ${alignr}${color}super+r
${color0}volume control  ${alignr}${color}super+v
${color0}toggle Picom  ${alignr}${color}super+p
${color0}toggle Conky  ${alignr}${color}super+c
${color0}lock screen  ${alignr}${color}super+l
${color0}exit  ${alignr}${color}super+x
${color}WINDOWS ${color0} ${hr 1}${voffset -2}
${color0}close ${alignr} ${color}alt+F4
${color0}iconify ${alignr} ${color}alt+F5
${color0}maximize ${alignr} ${color}alt+F6
${color0}expose ${alignr} ${color}super+~
${color0}show desktop ${alignr} ${color}super+d
${color0}un/decorate ${alignr} ${color}super+b
${color0}toggle fullscreen ${alignr} ${color}F11
${color}windows placement: 
${color0} - half screen ${alignr} ${color}super+arrows
${color0} - 1/4 screen ${alignr} ${color}super+numpad[1..9]
${color}DESKTOPS ${color0} ${hr 1}${voffset -2}
${color0}go to desktop ${alignr} ${color}super+[1..4]
]];

sysinfo_mbcolor.conkyrc

conky.config = {

	own_window = true,
	own_window_type = 'desktop',
	own_window_transparent = false,
	own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
	own_window_colour = '#142c2c',
	own_window_class = 'Conky',
	own_window_title = 'Mabox Sysinfo Bar Conky',
    
    alignment = 'top_right',
	gap_x = 30,
	gap_y = 60,
	minimum_width = '200',

	use_xft = true,
	font = 'Ubuntu:size=8',
	xftalpha = 1,
	override_utf8_locale = true,
    
    
	draw_shades = false,
	default_shade_color = '#222222',
	draw_outline = false,
	default_outline_color = '#222222',
    
    default_color = '#309552',
	color0 = '#accdc7',
	color1 = '#61c4bc',
    color2 = '#e8cb2d',
	cpu_avg_samples = 2,
	

	draw_borders = true,
	stippled_borders = 0,
	border_inner_margin = 8,
	border_outer_margin = 8,
	border_width = 1,
    draw_graph_borders = true,

	background = true,
	no_buffers = true,
	imlib_cache_size = 0,
    short_units = true,
	double_buffer = true,
	update_interval = 2,
};

conky.text = [[
$color${font Cantarell:size=16}${time %A}$font\
${voffset -20}$alignr$color1${font Cantarell:size=38}${time %e}$font
$color${voffset -20}$color1${font Cantarell:size=18}${time %b}$font\
${voffset -3} $color${font Cantarell:size=20} ${time %Y}$font
${goto 18}${color}CPU$alignr$cpu%
${voffset -2}$color2$alignr${cpubar 4,190 -l -t}${voffset -2}
${goto 18}$font$color0${top name 1}${alignr}$color${top cpu 1}%
${goto 18}$color0${top name 2}$alignr$color${top cpu 2}%
${goto 18}$color0${top name 3}$alignr$color${top cpu 3}%
${goto 18}$color0${top name 4}$alignr$color${top cpu 4}%
${goto 18}$color0${top name 5}$alignr$color${top cpu 5}%
#
${voffset 8}${goto 18}${color}RAM${alignr}$legacymem / $memmax
${voffset -2}$color2$alignr${membar 4,190 -l -t}${voffset -2}
${goto 18}$color0${top_mem name 1}$alignr$color${top_mem mem_res 1}
${goto 18}$color0${top_mem name 2}$alignr$color${top_mem mem_res 2}
${goto 18}$color0${top_mem name 3}$alignr$color${top_mem mem_res 3}
${goto 18}$color0${top_mem name 4}$alignr$color${top_mem mem_res 4}
${goto 18}$color0${top_mem name 5}$alignr$color${top_mem mem_res 5}
#
${image ~/.config/conky/images/mabox_3d.png -p 0,250 -s 64x64}
$alignr disk ${color0}${fs_used /} - ${fs_size /}
$alignr$color memory ${color0}$legacymem - $memmax
#${alignr}${color0}${font Cantarell:size=9}swap $swapmax - $swap
#
${voffset 10}$alignr${color} Mabox Linux ${execi 10000 awk -F'=' '/DISTRIB_RELEASE=/ {printf $2" "} /CODENAME/ {print $2}' /etc/lsb-release}
$alignr${execi 10000 whoami}@${nodename}
${alignr}${color0}uptime ${color}${uptime_short}
${alignr}${color0}${alignr}kernel ${color}${kernel}
${alignr}${color0}${alignr}arch ${color}${machine}
${alignr}${color0}${alignr}filesystem ${color}${fs_type}${voffset 10}
${alignr}${color}${execpi 1800 checkupdates.sh -s}${font}${color}
${alignr}${color} installed pkgs: ${color0}${execi 10000 pacman -Q | wc -l}
${alignr}${color} branch: ${color0}${execi 10000 pacman-mirrors -G}
${voffset -50}
]];

I think the logo_mbcolor.conkyrc is just a logo in the middle of the wallpaper (IMO total waste of resources running that conkyrc)

Last edited by PackRat (2024-01-16 23:05:18)


You must unlearn what you have learned.
    -- yoda

Offline

#1967 2024-01-17 02:55:44

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

Re: Show us your conky

PackRat wrote:

By request. Mabox linux default conkies -

I think the logo_mbcolor.conkyrc is just a logo in the middle of the wallpaper (IMO total waste of resources running that conkyrc)

Three out of 5 but the one with the logo is useless without the image.
I have a BL branding conky, it probably uses less resources that most running conkys and with an [Alt]+right mouse button can be moved anywhere.

One thing (IMHO) that is not good with mabox's conkys:

own_window_type = 'desktop',

Unless things have changed: desktop does not allow openbox right click over the conky.
AND - on all desktops, another "I do not like" (opinion)  big_smile

Also I see:

$cpu%

and other conky variables without the {}.
While it works in a lot of cases, variables without the {} can cause OOPSIES in others.
Mark Buck showed me, years ago, exactly why conky variables need to have curly brackets around them ${variable}.  I wish I had documented it, kicking my butt for years for not doing so.

Also according to conky man page, for conky v1.18.3, and getting back to this $cpu% call:

cpu (cpuN)
·    CPU usage in percents.  For SMP machines, the CPU number can be provided  as  an argument.  ${cpu cpu0} is the total usage, and ${cpu cpuX} (X >= 1) are individual CPUs.

- reformating my me.

To me that $cpu% and at a minimum should be ${cpu}%
Although I got in the practice of using ${cpu cpu0}

And I beg to differ $cpu% or ${cpu}% or ${cpu cpu0}% is not "total" usage, it's an "average usage" of all your cpus (AMD) or cores (Intel)

But they work in my test conky
Thank you for posting them.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1968 2024-01-17 03:13:06

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

Re: Show us your conky

Non mono font for time or dates causes conkys to change size as they run.

Second one is hard coded 11:11

I'm a conky nut and a picky one at that.  smile
However, it's all a matter of taste.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1969 2024-01-17 11:40:51

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,641

Re: Show us your conky

@Sector11, I completely agree with you.

Your advice and experience have always been important to me and I literally soaked it up over 15 years ago wink

If others see it differently, then that's their problem with the {} and the 'desktop' variable. 'In general, you just feel cool.'
---------------

I have now noticed contrasting behavior under Wayland, labwc and Conky. You probably don't need to understand that.

The variable

out_to_wayland = true,

causes the error here:

***** Imlib2 Developer Warning ***** :
	This program is calling the Imlib call:

	imlib_render_image_part_on_drawable_at_size();

	With the parameter:

	image

	being NULL. Please fix your program.
***** Imlib2 Developer Warning ***** :
	This program is calling the Imlib call:

	imlib_free_image();

	With the parameter:

	image

	being NULL. Please fix your program.
***** Imlib2 Developer Warning ***** :
	This program is calling the Imlib call:

	imlib_image_clear();

	With the parameter:

	image

	being NULL. Please fix your program.
***** Imlib2 Developer Warning ***** :
	This program is calling the Imlib call:

	imlib_image_set_has_alpha();

	With the parameter:

	image

	being NULL. Please fix your program.
***** Imlib2 Developer Warning ***** :
	This program is calling the Imlib call:

	imlib_blend_image_onto_image();

	With the parameter:

	image

	being NULL. Please fix your program.

With this simple 'image request'

${image ~/.conky/images/labwc2-with-text.png -p 15,108 -s 90x30}${goto 60}

If

-- out_to_wayland = true,

is commented out, everything is OK and lua also works.

nEbLKnft.png  Pv7tShbt.png
(Unfortunately, I have not yet found out how to create a window section with grim)

Last edited by unklar (2024-01-17 12:58:47)

Offline

#1970 2024-01-17 17:57:17

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

Re: Show us your conky

unklar wrote:

@Sector11, I completely agree with you.

Thank you, was just sharing my experiences and knowledge gained from others.

unklar wrote:

With this simple 'image request'

${image ~/.conky/images/labwc2-with-text.png -p 15,108 -s 90x30}${goto 60}

If

-- out_to_wayland = true,

is commented out, everything is OK and lua also works.

https://i.imgur.com/nEbLKnft.png  https://i.imgur.com/Pv7tShbt.png
(Unfortunately, I have not yet found out how to create a window section with grim)

What is grim?
I know the TV series GRIMM  big_smile

And why I use conky v1.9 → It Just Works
Brooks of Brooks BBS back in the 90's pre-internet, pre-windows days:

Brooks wrote:

If it works, don't fix it!

That's why I am a conky v1.9er.

BUT I still have my aliases so I can try things in 1.9+:

### conky 9 to 10
alias c9-10='sudo apt autoremove --purge conky-legacy-all -y && sudo apt install conky-all --no-install-recommends'
### conky 10 to 9
alias c10-9='sudo apt autoremove --purge conky-all -y && sudo apt install /media/10/DEBs/Conky.v1.9/conky-legacy-all_1.9.0-6_amd64.deb --no-install-recommends'

Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1971 2024-01-17 18:34:42

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

Re: Show us your conky

unklar wrote:

I have not yet found out how to create a window section with grim)

Look for a program called grimshot. It may be in the repos, otherwise git. And I think it requires slurp for window selection.
grimshot is a script frontend for grim so something like "grimshot -w 5" will wait 5 seconds. Makes grim easier to use.

@S11 - grim is a screenshot utility for Wayland.


You must unlearn what you have learned.
    -- yoda

Offline

#1972 2024-01-17 18:43:01

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

Re: Show us your conky

AHA!  A grim screenshot.
Thanks PackRat

And both in Debian 12

 17 Jan 24 @ 15:43:41 ~
   $ ser grim
p   grim               - command-line utility to make screenshots of Wayland desktops           
p   grimshot           - Easy to use screenshot tool for sway                                   
p   r-cran-grimport2   - GNU R importing 'SVG' graphics                                         
 
 17 Jan 24 @ 15:43:50 ~
   $ 

Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1973 2024-01-17 21:21:31

napcok
Member
From: Poland
Registered: 2018-12-22
Posts: 16
Website

Re: Show us your conky

Hi, Mabox dev here smile

Sector11 wrote:

One thing (IMHO) that is not good with mabox's conkys:

own_window_type = 'desktop',

Unless things have changed: desktop does not allow openbox right click over the conky.

Mabox provides two context menus for every Conky:
- right click menu is for customizations (change colors, fonts, position and so on),
- left click menu (optional) allows you to bind own commands if you like.


This is possible thanks to the desktop window type.

Offline

#1974 2024-01-17 23:02:22

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

Re: Show us your conky

napcok wrote:

Hi, Mabox dev here smile

Sector11 wrote:

One thing (IMHO) that is not good with mabox's conkys:

own_window_type = 'desktop',

Unless things have changed: desktop does not allow openbox right click over the conky.

Mabox provides two context menus for every Conky:
- right click menu is for customizations (change colors, fonts, position and so on),
- left click menu (optional) allows you to bind own commands if you like.


This is possible thanks to the desktop window type.

Hi napcok,
Nice looking distro you have there.

But if I want to right click to get my OB Menu I cannot do it over a conky, you script takes over.
- that's ok, you have it planned that way for your distro.
I did say, IMHO, I prefer editing / changing conkys the old way.
Did not mean to ruffle feathers but I guess I did, my apologies.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1975 2024-01-18 09:59:32

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,641

Re: Show us your conky

PackRat wrote:
unklar wrote:

I have not yet found out how to create a window section with grim)

Look for a program called grimshot. It may be in the repos, otherwise git. And I think it requires slurp for window selection.
grimshot is a script frontend for grim so something like "grimshot -w 5" will wait 5 seconds. Makes grim easier to use.

@S11 - grim is a screenshot utility for Wayland.


Brilliant!

slurp and grimshot are in the sid sources.
But grimshot is not found, I probably have to set the ftp.de repo.

Thanks @PackRat for the tip.

Offline

#1976 2024-01-18 10:02:57

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,641

Re: Show us your conky

napcok wrote:

Hi, Mabox dev here smile

Sector11 wrote:

One thing (IMHO) that is not good with mabox's conkys:

own_window_type = 'desktop',

Unless things have changed: desktop does not allow openbox right click over the conky.

Mabox provides two context menus for every Conky:
- right click menu is for customizations (change colors, fonts, position and so on),
- left click menu (optional) allows you to bind own commands if you like.


This is possible thanks to the desktop window type.

The emphasis is clearly on the fact that clicks on the Conky window(!) have no effect when using  wink

own_window_type = 'desktop',

.

Offline

#1977 2024-01-21 10:09:51

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,641

Re: Show us your conky

Recently I found a buried old Conky from @Don B. Cilly on my HDD's.
This one is written in syntax 1.9.
xCWZ7Ljt.png
It works with two lua scripts from @wlourf.

Cilly writes in his README that he did not manage to start the two lua from one conky. This challenged my conky ambition and I rewrote this in syntax1.10 and gave him a conky-loader.lua.

What was supposed to be easy has now taken two days. I received two error messages. The first one said:

conky: reading exec value failed (perhaps it's not the correct format?)

and disappeared when I commented out line 93 =

${alignr}${diskiograph 22,220 b2f47c 3884AC -t}

. But I want to see the horizontal bar graph for the disk

and the error message reads:

conky: llua_do_call: function conky_loader_lua execution failed: /home/unklar/.conky/conky_blue/scripte/graph.lua:253: attempt to compare number with nil

Hw5AH8Pt.png  DFptRKPt.png 


So if anyone wants to solve the puzzle, here are the original and my modified configurations.

Original
Mine

I have now taken a break because I cannot find a solution and am no longer 'looking through' the configurations.  wink

Offline

#1978 2024-01-21 12:58:44

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

Re: Show us your conky

unklar wrote:

Recently I found a buried old Conky from @Don B. Cilly on my HDD's.
This one is written in syntax 1.9.

{snip}

So if anyone wants to solve the puzzle, here are the original and my modified configurations.

Original
Mine

I have now taken a break because I cannot find a solution and am no longer 'looking through' the configurations.  wink

Love a Sunday challenge.
I'll give it a crack/try.

EDIT:
Font unbuntu size 8 what's he doing building it under a microscope?

Last edited by Sector11 (2024-01-21 14:24:20)


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1979 2024-01-21 15:40:15

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,641

Re: Show us your conky

Sector11 wrote:

EDIT:
Font unbuntu size 8 what's he doing building it under a microscope?

It can be even smaller. He also has size=7 in his luggage.

For me, however, that is irrelevant. Lua is more important to me.  wink

Offline

#1980 2024-01-21 19:28:10

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

Re: Show us your conky

unklar wrote:
Sector11 wrote:

EDIT:
Font unbuntu size 8 what's he doing building it under a microscope?

It can be even smaller. He also has size=7 in his luggage.

For me, however, that is irrelevant. Lua is more important to me.  wink

Yes I agree it the LUA test we want.
I cannot get:

lua_load /media/5/conky/conky-blue/bargraph.lua
lua_draw_hook_per main_bars

to work at all in "conkyrc" by itself even with an I/O stress test

   $ dd if=/dev/zero of=/tmp/test1.img bs=1G count=1 oflag=dsync
1+0 records in
1+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 6.76346 s, 159 MB/s

However it works just fine in "conkyrc2"

In "conktrc2" I get this error, running "just the 'graph.lua' :

 21 Jan 24 @ 16:05:28 ~
   $ Conky: llua_do_call: function conky_main_graph execution failed: /media/5/conky/conky-blue/graph.lua:283: bad argument #2 to 'max' (number expected, got nil)

just the one line and stops.

In "conktrc" I get this error, running "just the graph.lua" :

Conky: llua_do_call: function conky_main_graph execution failed: /media/5/conky/conky-blue/graph.lua:253: attempt to compare number with nil
Conky: llua_do_call: function conky_main_graph execution failed: /media/5/conky/conky-blue/graph.lua:253: attempt to compare number with nil
Conky: llua_do_call: function conky_main_graph execution failed: /media/5/conky/conky-blue/graph.lua:253: attempt to compare number with nil
Conky: llua_do_call: function conky_main_graph execution failed: /media/5/conky/conky-blue/graph.lua:253: attempt to compare number with nil
Conky: llua_do_call: function conky_main_graph execution failed: /media/5/conky/conky-blue/graph.lua:253: attempt to compare number with nil
Conky: llua_do_call: function conky_main_graph execution failed: /media/5/conky/conky-blue/graph.lua:253: attempt to compare number with nil
Conky: llua_do_call: function conky_main_graph execution failed: /media/5/conky/conky-blue/graph.lua:253: attempt to compare number with nil
Conky: llua_do_call: function conky_main_graph execution failed: /media/5/conky/conky-blue/graph.lua:253: attempt to compare number with nil
Conky: llua_do_call: function conky_main_graph execution failed: /media/5/conky/conky-blue/graph.lua:253: attempt to compare number with nil

I've been on and off this all day, RL talking me away from the computer.  And just recently I noticed this in BOTH conkys (v9 of course)

own_window_class Conky
own_window yes
own_window_argb_visual yes
own_window_argb_value 180
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar #,sticky,

That #sticky is my change
Notice the:

own_window_transparent yes

That's a BIG OPPS if using ARGB:
From my test.conky:

## ARGB can be used for real transparency
## OJO: own_window_transparent MUST be set to NO to use argb
#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

But will not have any affect on the LUA scripts I think.

More work on this coming.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

Board footer

Powered by FluxBB