You are not logged in.

#1 Yesterday 07:50:11

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,732
Website

The Carbon Conky

First, humble apologies to all. I put together a nice merged thread of different peoples' comments on Conky for carbon, then deleted my own superfluous post at the end. Because that was the initial post, the whole thread was lost. sad

Sorry.

I'll try and ressurect what I can while I can still remember it.

sleekmason wrote:

On live boot, conky is hard to see.. Consider moving it, Changing the text color, or changing the configuration to 'draw_shades = true,' and finding a matching dark brown color that will work well. Currently it is set to black.

johnraff wrote:

Conky hasn't been touched so far - I was hoping someone might come up with a suitable Carbon version. (Do you notice a difference between Conky on the live desktop and the installed version?) I don't suppose you feel like doing it? You seem to be using Conky these days. Just the minimal changes needed to make it useful on our Bark (preferably Sage too) wallpaper.

unklar wrote:

I wouldn't make any color changes, and this has nothing to do with  draw_shades ...

sleekmason wrote:

My two cents is I would leave the conky alone, as there is consistency there we don't want to lose.  I would simply switch to the sage theme as the current conky looks super sharp on that wallpaper, but note that I personally prefer the Sage theme anyway.  If not, I would probably enable shades for visibility or move the conky, but that is just me.  I'm not sure why shades wouldn't be an option if needed.  I'm guessing @unklar has his reasons for this.  I bow to his knowledge here.

Somebody suggested changing the conky text colour to #FFFFFF to make it visible with the Bark wallpaper.

I agree that keeping the same basic conky look is probably worthwhile. Although:

micko01 wrote:

So can the default conky in Carbon remove those (keybinds) and maybe have something simpler?

I think the most common keybinds - terminal, file-manager, text-editor at least) - ought to be on the desktop, but we could consider reducing them?

Anyway, please continue suggestions!


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#2 Yesterday 09:56:01

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

Re: The Carbon Conky

Changing conky color to something with more contrast would be good. White (#FFFFFF) may be a bit much. Usually something in the #D0D0D0 - #EAEAEA range is good. Add a bit of color saturation i.e. #D4D4D8.


You must unlearn what you have learned.
    -- yoda

Offline

#3 Yesterday 11:13:08

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

Re: The Carbon Conky

#eaeaea attenuated to #ffffff
eQgQXjGt.png

Offline

#4 Today 01:42:08

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,732
Website

Re: The Carbon Conky

For either of Bark or Sage, a bit of colour in conky's text might look better and improve readability (eg for bark, a hint of yellow/orange?) but unless we're going to switch conkys with wallpaper then the ideal would be greyscale? Or at least, whatever colour is added to look nice on the default wallpaper should look at least OK on the other one.

I don't see why shades are ruled out. I've used that in my desktop conkys for a long time and they make text more readable on a variety of backgrounds, for me at least. I seem to remember there was a time when conky's draw_shades looked horrible but it's fine now.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#5 Today 02:21:29

sleekmason
zoom
Registered: 2018-05-22
Posts: 1,152
Website

Re: The Carbon Conky

The Bark desktop screenshot from https://forums.bunsenlabs.org/viewtopic … 39#p146539 has shades enabled with no color change (#000000), and no increase in text brightness, and it makes the text visible.  I wanted to get the conky visibility close to the same for the comparison shots.

Increasing the brightness a hair, and changing the color to a really dark brown/black might work as a simple solution for this if other options fail.

Last edited by sleekmason (Today 02:26:54)

Offline

#6 Today 07:53:31

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,732
Website

Re: The Carbon Conky

johnraff wrote:

For either of Bark or Sage, a bit of colour in conky's text might look better and improve readability (eg for bark, a hint of yellow/orange?)

Just playing here:

default_color = 'c8b590'
default_shade_color = '4d2424'
gives an idea what effect colour has:
6y9ZrHal.png
Probably a bit over the top, and anyway when you switch to sage wallpaper:
Vx63DPxl.png
it's kind of ridiculous.

Neutral colours and shades look OK on Sage:
default_color = 'D4D4D8'
default_shade_color = '1b2420'
8fWpR4Gl.png
Text is almost too readable.

And same colours on Bark:
S3BZOXal.png

Anyway, I'm pretty much convinced that draw_shades = true is an improvement for readability.

Soft unobtrusive conky makes for a prettier desktop though, so there is that contradiction.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#7 Today 12:36:56

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

Re: The Carbon Conky

https://forums.bunsenlabs.org/viewtopic … 44#p146544

@trinidad,
Instead of the lua script shown here, you can also set the background in Conky using standard tools. Examples with the suggested color ‘#eaeaea’ from @PackRat:

RRVNyHft.png   Sg9BkVOt.png 


The following settings are required in the configuration:

    own_window_type = 'normal',--desktop',--<----
    own_window_transparent = false,--true, --<----
...
own_window_argb_visual = true, -- Options: true|false <----
...
own_window_argb_value = 150, --<---- 0 - 255

You can control the brightness using the value:

own_window_argb_value = 150,

In this case, you have to change the ‘rounded corners’, which are handled by the lua script, for example, in picom.conf from ‘0’ to ‘10’, in line 389.

SsGvdGTt.png   x9OTJlXt.png


In addition, it would also be possible to insert a background into Conky itself, a kind of template. This would have to be created in a suitable color for Conky and would probably be the most complicated option.
If you search the forum for posts about Wetter.com Conky, you will find what you are looking for; that is where we did it.

@trinidad, which solution did linux lite 7 use in his Conky configuration? Can you show it here?  smile

Last edited by unklar (Today 12:39:12)

Offline

#8 Today 13:22:24

trinidad
Member
From: Chicago & Southeast WI
Registered: 2021-04-10
Posts: 34
Website

Re: The Carbon Conky

This script draws a background to the Conky window. It covers the whole of the Conky window, but you can specify rounded corners, if you wish.

To call this script in Conky, use (assuming you have saved this script to ~/scripts/):
	lua_load ~/scripts/draw_bg.lua
	lua_draw_hook_pre draw_bg

Changelog:
+ v1.0 -- Original release (07.10.2009)
]]

-- Change these settings to affect your background.
-- "corner_r" is the radius, in pixels, of the rounded corners. If you don't want rounded corners, use 0.

corner_r=25

-- Set the colour and transparency (alpha) of your background.

bg_colour=0xFF3386
bg_alpha=0.07

require 'cairo'
function rgb_to_r_g_b(colour,alpha)
	return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end

function conky_draw_bg()
	if conky_window==nil then return end
	local w=conky_window.width
	local h=conky_window.height
	local cs=cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, w, h)
	cr=cairo_create(cs)
	
	cairo_move_to(cr,corner_r,0)
	cairo_line_to(cr,w-corner_r,0)
	cairo_curve_to(cr,w,0,w,0,w,corner_r)
	cairo_line_to(cr,w,h-corner_r)
	cairo_curve_to(cr,w,h,w,h,w-corner_r,h)
	cairo_line_to(cr,corner_r,h)
	cairo_curve_to(cr,0,h,0,h,0,h-corner_r)
	cairo_line_to(cr,0,corner_r)
	cairo_curve_to(cr,0,0,0,0,corner_r,0)
	cairo_close_path(cr)
	
	cairo_set_source_rgba(cr,rgb_to_r_g_b(bg_colour,bg_alpha))
	cairo_fill(cr)
end

I have collected a lot over the years but I think this is the current one.

TC

Offline

#9 Today 13:52:07

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

Re: The Carbon Conky

Thanks!
That would be the first variant with the Lua script, as I wrote above.
To know exactly, the “conkyrc” file is still missing.  big_smile

Offline

#10 Today 15:59:03

greenjeans
Member
Registered: 2025-01-18
Posts: 246
Website

Re: The Carbon Conky

Just from my perspective, conky looks more readable with the sage wallpaper with both methods (font-color change or semi-transparent background).

For those of us who use conky, it always messes with wallpaper choices to some degree. My philosphy is just make it look good with default wallpaper on the iso and don't get too wrapped up in it, users will likely change wallpapers within minutes most of the time anyway.

Offline

Board footer

Powered by FluxBB