Need help with Conky Mizar clock widget please [SOLVED]

Add functionality to your desktop
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
User avatar
Koentje
Level 7
Level 7
Posts: 1581
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: Need help with Conky Mizar clock widget please

Post by Koentje »

Some affect text, some affect borders... but i find it strange that same settings shows different results?!
Maybe that zcot can shine a light on it? Maybe he sees something..

Edit: Try and change own_window_type = 'desktop', to dock
Last edited by Koentje on Mon Jan 22, 2024 7:02 pm, edited 1 time in total.
Image
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: Need help with Conky Mizar clock widget please

Post by Logansfury »

Koentje wrote: Mon Jan 22, 2024 6:59 pm Some affect text, some affect borders... but i find it strange that same settings shows different results?!
Maybe that zcot can shine a light on it? Maybe he sees something..
If it's any help in troubleshooting, here is my Mizar.conf. The font edit to Neon 80s and the slight edit of some font sizes was intentional to get full display in my desired font. Also color1 has been set to my desired deep crimson:

Code: Select all

conky.config = {
--==============================================================================

--  Created : 2023/Jul/13
--  This theme is for conky version 1.10.8 or newer
-- 
--  Mizar ( 2nd Gen )
--  ( A part of UrsaMajor Conky themes pack )
--
--  author  : Closebox73
--  license : Distributed under the terms of GPLv3
--  notes   : Created on 1366x768 Monitor

--==============================================================================

-- Size and Position settings --
  alignment = 'top_middle',
  gap_x = 0,
  gap_y = 70,
  maximum_width = 210,
  minimum_height = 210,
  minimum_width = 210,
  
-- Text settings --
  use_xft = true,
  override_utf8_locale = true,
  font = 'Neon 80s:size=2',
  
-- Color Settings --
  default_color = '#ffffff',
  default_outline_color = 'white',
  default_shade_color = 'white',
  color1 = '#e82127',
  
-- Window Settings --
  background = false,
  border_width = 0,
  draw_borders = false,
  draw_graph_borders = false,
  draw_outline = false,
  draw_shades = false,
  own_window = true,
  own_window_colour = '000000',
  own_window_class = 'Conky',
  own_window_argb_visual = false,
  own_window_type = 'desktop',
  own_window_transparent = true,
  own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
  stippled_borders = 0,
  
-- Others --
  cpu_avg_samples = 2,
  net_avg_samples = 1,
  double_buffer = true,
  out_to_console = false,
  out_to_stderr = false,
  extra_newline = false,
  update_interval = 1,
  uppercase = false,
  use_spacer = 'none',
  show_graph_scale = false,
  show_graph_range = false,
  lua_load = '~/.config/conky/Mizar/scripts/rings-v1.2.3.lua',
  lua_draw_hook_pre = 'ring_stats',
}

conky.text = [[
${alignc -18}${voffset 70}${color1}${font Neon 80s:size=70}${time %M}${font}
${alignc 18}${voffset -140}${color}${font Neon 80s:size=70}${time %I}${font}
${alignc 35}${voffset 20}${color}${font Neon 80s:size=16}${time %P}
${alignc}${voffset 80}${font Neon 80s:size=18}${time %d %^B %Y}
${alignc}${font Neon 80s:size=10}${if_match ${exec date +"%u"} == 1}${color}${else}${color1}${endif}MON ${if_match ${exec date +"%u"} == 2}${color}${else}${color1}${endif}TUE ${if_match ${exec date +"%u"} == 3}${color}${else}${color1}${endif}WED ${if_match ${exec date +"%u"} == 4}${color}${else}${color1}${endif}THU ${if_match ${exec date +"%u"} == 5}${color}${else}${color1}${endif}FRI ${if_match ${exec date +"%u"} == 6}${color}${else}${color1}${endif}SAT ${if_match ${exec date +"%u"} == 7}${color}${else}${color1}${endif}SUN
]]
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
Koentje
Level 7
Level 7
Posts: 1581
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: Need help with Conky Mizar clock widget please

Post by Koentje »

I don't see anything wrong..
Try and change own_window_type = 'desktop', to dock
Image
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: Need help with Conky Mizar clock widget please

Post by Logansfury »

Koentje wrote: Mon Jan 22, 2024 7:09 pm I don't see anything wrong..
Try and change own_window_type = 'desktop', to dock
Boarder still visible after that edit unfortunately >.<

Both my boxes are showing the boarders. I did something to offend this widget.
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
Koentje
Level 7
Level 7
Posts: 1581
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: Need help with Conky Mizar clock widget please

Post by Koentje »

What you can try is to make a copy of you existing conky (the big one i recently fixed for you), then remove everything between the conky.text = [[ and ]] and then replace it with the part of this conky.
Now you have equal settings for this conky as your existing conky!

If that does not work, then it must be something in the lua script... but still, it does not happen on my system and what i could see also not on Bleys system. So it's something specific on your system...
Image
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: Need help with Conky Mizar clock widget please

Post by Logansfury »

I just did the replacement of the text section, and the boarder is still there >.<
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
Koentje
Level 7
Level 7
Posts: 1581
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: Need help with Conky Mizar clock widget please

Post by Koentje »

Then i have no clue why that is? Maybe a shadow thing in cinnamon??
Image
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: Need help with Conky Mizar clock widget please

Post by Logansfury »

Koentje wrote: Mon Jan 22, 2024 8:34 pm Then i have no clue why that is? Maybe a shadow thing in cinnamon??
That's an excellent idea, lemme go thru my enabled applets and see if anything looks suspicious.
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
Koentje
Level 7
Level 7
Posts: 1581
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: Need help with Conky Mizar clock widget please

Post by Koentje »

Change own_window_argb_visual = false, to true
Change own_window_transparent = true, to false
And add the following line own_window_argb_value = 0,

Maybe this helps? I'm just guessing at this point..
Image
User avatar
zcot
Level 9
Level 9
Posts: 2838
Joined: Wed Oct 19, 2016 6:08 pm

Re: Need help with Conky Mizar clock widget please

Post by zcot »

that's all you need.
own_window_argb_visual = true

Is that xfce?
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: Need help with Conky Mizar clock widget please

Post by Logansfury »

SUCCESS :D

By editing both:

Code: Select all

own_window_argb_visual = true,
own_window_argb_value = 0,
The rectangular background has completely disappeared, the delay in wallpaper change display within that rectangle is gone, the widget is operating and displaying perfectly :D

Gentlemen, you are super-heroes. Thank you so much for your time and patience and especially your expertise. The widget looks beautiful :D
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: Need help with Conky Mizar clock widget please

Post by Logansfury »

zcot wrote: Mon Jan 22, 2024 9:24 pm that's all you need.
own_window_argb_visual = true

Is that xfce?
I'm on Cinnamon 6.0.4 :)
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
Koentje
Level 7
Level 7
Posts: 1581
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: Need help with Conky Mizar clock widget please [SOLVED]

Post by Koentje »

You're welcome! :D

Now you can do something for me. Click on the INXI button in my signature. Check if it works and please make a screenshot. Thanks.
Image
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: Need help with Conky Mizar clock widget please [SOLVED]

Post by Logansfury »

Here is the result of clicking the button. SS taken from my win machine while I was winding down and watching some TV:

https://imgur.com/a/uknypCm
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
Koentje
Level 7
Level 7
Posts: 1581
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: Need help with Conky Mizar clock widget please [SOLVED]

Post by Koentje »

Cool, it works! Thanks mate.. ;)
Image
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: Need help with Conky Mizar clock widget please [SOLVED]

Post by Logansfury »

My pleasure to be of assistance!

That is a very awesome feature you built into that button. That's the terminal command to display hardware and software statistics that aid people in troubleshooting forum posts for help is it not?

Is this something you are working on for the community to aid/automate making this data available during forum conversations?
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
Koentje
Level 7
Level 7
Posts: 1581
Joined: Tue Jan 04, 2022 6:23 pm
Location: Netherlands

Re: Need help with Conky Mizar clock widget please [SOLVED]

Post by Koentje »

It was a spontaneous idea recently when someone 'attacked' me for not having inxi output in my post!
It runs inxi in colormode piped through aha to make it a html with colors and then stored in a hidden folder on my http server. It runs in a loop that refreshes it every hour!

Now i can't forget to post it... i love automation! :mrgreen:

If you want it, i can give you the script.. you only need to run a small http server and open a port in the router for it.
Image
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: Need help with Conky Mizar clock widget please [SOLVED]

Post by Logansfury »

That sounds like a fun project to set up!

I would be happy for the scripts and instructions when you've time :)
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
User avatar
zcot
Level 9
Level 9
Posts: 2838
Joined: Wed Oct 19, 2016 6:08 pm

Re: Need help with Conky Mizar clock widget please

Post by zcot »

I'm not sure why it does that with the black background, maybe something with conky base changed enough with the more recent version used in Mint 21.

It seems there has always been, at least many times over the years, some issue between either mate and xfce where you require a different own_window_type or something, or between cinnamon and xfce you have to change some other value. -just the way the different DE's are handling all the stuff. But it's generally easy enough to figure out, it's potentially related with some/all of the settings we just mentioned.
Bleys wrote: Mon Jan 22, 2024 12:06 pm
What desktop are you on? and that's Mint 21?
User avatar
Logansfury
Level 6
Level 6
Posts: 1237
Joined: Fri Oct 27, 2023 4:08 pm
Location: Las Vegas NV, USA

Re: Need help with Conky Mizar clock widget please

Post by Logansfury »

What desktop are you on? and that's Mint 21?
I'm already on Mint 21.3 Virginia | Cinnamon 6.0.4 and I'm using the default gnome-terminal. 5.15 kernel.
Last edited by Logansfury on Tue Jan 23, 2024 4:50 pm, edited 1 time in total.
Image <-- Cick for sudo inxi --usb -Fxxxnmprz output, updated hourly!
Post Reply

Return to “Compiz, Conky, Docks & Widgets”