Problema con conky propio, picom y menú contextual

Hola, gente.
Como soy nuevito con manjaro se me presentan varias dudas y algunos inconvenientes.

Agregué un conky al directorio .config/conky pero si activo el compositor picom desaparece, al desactivarlo vuelve a aparecer. Además, la primera vez que probé ese conky (lo tenía en otro directorio) pude generar el menú contextual y usarlo, Modificar su posición y todo lo que se puede con los conky nativos de mabox. Cuando lo mudé al directorio .config/conky empezó el “problema” (sólo el conky nuevo, con los originales no pasa eso). También lo agregué al archivo conky-sessionfile.

Dejo el código por si alguien detecta algún error o puede sugerir una solución.
Muchas gracias.


Hello people.
Since I am new to manjaro, I have several doubts and some inconveniences.

I added a conky to the .config/conky directory but if I activate the picom composer it disappears, when I deactivate it it reappears. Also, the first time I tried that conky (I had it in another directory) I was able to generate the context menu and use it, modify its position and everything that can be done with the native mabox conky. When I moved it to the .config/conky directory the “problem” started (only the new conky, that doesn’t happen with the originals). I also added it to the conky-sessionfile.

I leave the code in case anyone detects an error or can suggest a solution.
Thank you so much.

conky.config = {
-- Use Xft yes
	use_xft = true,
	font = 'Digital Display:size=110',
	xftalpha = 1,
	text_buffer_size = 2048,

-- Update interval in seconds
	update_interval = 1,

-- This is the number of times Conky will update before quitting.
-- Set to zero to run forever.
	total_run_times = 0,

-- Create own window instead of using desktop (required in nautilus)
	own_window = yes,
	own_window_transparent = yes,
	own_window_type = 'desktop',
	own_window_class = 'desktop',
	own_window_colour = '#000000',
	own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
	background = true,


-- Use double buffering (reduces flicker, may not work for everyone)
	double_buffer = true,
-- Minimum size of text area
	minimum_width = 200, minimum_height = 0,
	maximum_width = 700,

-- Draw shades?
	draw_shades = yes,
	default_shade_color = 'black',

-- Draw outlines?
	draw_outline = false,

-- Draw borders around text
	draw_borders = false,

-- Stippled borders?
	stippled_borders = 0,
	border_inner_margin = 0,
	border_outer_margin = 0,

-- Colores
	default_color = 'darkgreen',
	color0 = '#B0E0E6',
	color1 = '#004400',-- 719c67
	color2 = '#dddddd',
	color3 = '#9ACD32',
	color4 = '#FFA07A',
	color5 = '#FFDEAD',
	color6 = '#00BFFF',
	color7 = '#5F9EA0',
	color8 = '#BDB76B',
	color9 = '#C0C0C0',

	own_window_argb_visual = yes,
	own_window_argb_value = 0,

	alignment = 'bottom_middle',
	gap_x = 0,
	gap_y = 0,

};

conky.text = [[
${alignc}${font fira mono:medium:size=12}${color white}${if_match ${time %H}<12}Buen día${else}${if_match ${time %H}<18}Buenas tardes${else}Buenas noches${endif}${endif}${color}
${alignc}${font Dejavu Sans:Book:size=15:style=bold}${color gold}${execi 3600 date +%A} ${time %d de %B de %Y}${color}

${alignc}${font Digital Display:size=110:style=bold}${color1}${time %T}${font}
${voffset -85}
]];

1 Like

Hi @danielhb,
Thanks for sharing.
I’ll play around with this config… and maybe I’ll be able to adapt it to the possibilities we have in Mabox :slight_smile:

1 Like

I have modified your conky config to work well with the tools provided by Mabox.
Save it in ~/.config/conky/ as danielhb_datetime_mbcolor.conkyrc. _mbcolor.conkyrc on the end of filename is important!

All options provided by right-click menu should be usable :slight_smile:

conky.config = {
-- Use Xft yes
	use_xft = true,
	xftalpha = 1,
	text_buffer_size = 2048,
	font = 'Ubuntu:size=14',

-- Update interval in seconds
	update_interval = 1,

-- This is the number of times Conky will update before quitting.
-- Set to zero to run forever.
	total_run_times = 0,

-- Create own window instead of using desktop (required in nautilus)
	own_window = true,
	own_window_transparent = false,
	own_window_type = 'desktop',
	own_window_class = 'Conky',
	own_window_colour = '#142c2c',
	own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
	background = true,


-- Use double buffering (reduces flicker, may not work for everyone)
	double_buffer = true,
-- Minimum size of text area
	minimum_width = 200,
	minimum_height = 0,
	maximum_width = 700,

-- Draw shades?
	draw_shades = false,
	default_shade_color = 'black',

-- Draw outlines?
	draw_outline = false,

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

-- Colores
	default_color = '#309552',
	color0 = '#accdc7',
	color1 = '#61c4bc',

	alignment = 'bottom_middle',
	gap_x = 0,
	gap_y = 60,

};

conky.text = [[
${alignc}${font}${color}${if_match ${time %H}<12}Buen día${else}${if_match ${time %H}<18}Buenas tardes${else}Buenas noches${endif}${endif}
${alignc}${font Dejavu Sans:Book:size=15:style=bold}${color0}${execi 3600 date +%A} ${time %d de %B de %Y}
${alignc}${font Digital Display:size=110:style=bold}${color1}${time %T}${font}
]];
1 Like

Muchas gracias, lo probaré.

Thank you very much, I will try it.

1 Like

Quedó perfecto
Además se solucionó el problema de que picom lo ocultaba.
Gracias otra vez

Entiendo que sos uno de los desarrolladores o mentenedores del proyecyo: los felicito a todos, hacen un excelente trajaro, se ve que ponen mucho amor en lo que hacen.


It was perfect
Also the problem that picom was hiding it was solved.
Thanks again

I understand that you are one of the developers or maintainers of the project: I congratulate you all, you do an excellent job, it is clear that you put a lot of love into what you do.

:clap: :trophy:

1 Like

Digital font for clock → Digital Display Font | dafont.com

Unpack it into ~/.local/share/fonts