Conky window disappears

I have installed Manjaro 64bit xfce 20.1. I have installed conky. I run it, but its window often disappears; the process also runs in background (viewed with top ).Do you have any idea ?

Hi @Frank62 ,

This happens when the own_window_type file is set to ‘desktop’.

To correct this, open the file for the theme mentioned, usually located somewhere in ~/.conky and locate the own_window_type line. Change it to true. Remember to leave all punctuation as is.

If you are starting conky from terminal, use command - conky -d
(or conky --daemonize if you are not into the whole brevity thing)
so when terminal is exited or closed it does not also close conky

I split my conky.
I have one (networking) which stays on, and two others which give less important information with the line total_run_times = 3000, which means they run a while then end. Check for that line…

Also, running krohnkite and switching between float/tiling I have:

conky.config = {
    background = true,
	double_buffer = false,
    no_buffers = true,
    update_interval = 2,
    imlib_cache_size = 10,
    border_width = 1,
    cpu_avg_samples = 2,
    net_avg_samples = 2,
    out_to_console = false,
    out_to_ncurses = false,
    out_to_stderr = false,
    out_to_x = true,


-- Window specifications #
	own_window = true,
	own_window_type = 'dock',
	own_window_transparent = false,
	own_window_argb_visual = true,
	own_window_argb_value = 180,
	own_window_hints = 'below,undecorated,sticky,skip_taskbar,skip_pager',
	uppercase = false,
	use_spacer = 'none',
	use_xft = true,

dock works best overall, and when freshly launched it pops up on top so you can call it up on top of whatever you’re doing.

Now I keep my scripts/conkies in Dropbox along with a script to launch them:

 if pgrep -x "conky"
    then killall conky
        conky -d -c ~/Dropbox/Admin/conky/c1-network.conky
        conky -d -c ~/Dropbox/Admin/conky/c2.conky
        conky -d -c ~/Dropbox/Admin/conky/c3.conky


c3 is ‘general system information’ c2 is processes/disk usage etc and c1 shows networking graph, RAM and CPU bar.

So with the script, you can go into your shortcuts (I use a mouse gesture to run it) and enter one for your ~/ script wherever it may be. Now you can make it appear or disappear at will :wink:

I used to use Conky. And it was good.

However, on my last reinstall I decided to try the KDE widgets. And, well, long story short, I no longer need Conky.

Which is probably a good thing, in that now my system’s less…complicated? Fractured is probably the better word… :man_shrugging:

thank you all; I also found a way to make it transparent, and add a lot of things.
Is there a way to make the conky icon disappear from the bottom panel (running conky :grin:) ?

There should be a setting in you DE to set wheter to show/hide any icon in the taskbar. I use it in KDE. I’m slmost certain it was in gnome…somewhere…so I’m sure it’s elsewhere, too. Just don’t know off the top of my head.

You have to work some of this out… here’s a sample that doesn’t show in my pager or panel.

conky.config = {
-- Conky settings
	background = true,
	update_interval = 1,
	double_buffer = true,
	no_buffers = true,
	imlib_cache_size = 10,

-- Sampling
	diskio_avg_samples = 2,
	cpu_avg_samples = 2,

-- Window specifications
	gap_x = 5,
	gap_y = 0,
	minimum_width = 0, minimum_height = 0,
	maximum_width = 100,
	alignment = 'top_right',
	own_window = true,
	own_window_type = 'dock',
	own_window_transparent = false,
	own_window_argb_visual = true,
	own_window_argb_value = 80,
	own_window_hints = 'above, undecorated,sticky,skip_taskbar,skip_pager',
	border_inner_margin = 0,
	border_outer_margin = 0,
	graphics = 'settings',

	draw_shades = false,
	default_shade_color = '#484848',
	draw_outline = false,
	default_outline_color = '#dddddd',
	draw_borders = false,
	draw_graph_borders = false,
	default_graph_width = 40, default_graph_height = 80,
	show_graph_scale = true,
	show_graph_range = false,
	text = 'settings',

	use_xft = true,
	xftalpha = 0,
	font = 'Droid Sans:size=9',
	text_buffer_size = 256,
	override_utf8_locale = true,
	useful = 'shortenings',

	short_units = true,
	pad_percents = 2,
	top_name_width = 30,
	color = 'scheme',

	default_color = '#FFFFFF',
	color1 = '#FFFFFF',
	color2 = '#2dcba5',-- teal
	color3 = '#16a085',-- teal2
	color4 = '#FFFFFF',
	color5 = '#DCDCDC',
	color6 = '#FFFFFF',
	color7 = '#FFFFFF',
	color8 = '#A9CFF4',

-- iphone wlp0s20u12


conky.text = [[
Whoops, time to go]];

My window is set to ‘dock’. Pay attention to ‘hints’.

Hi @Ben,
it’s almost fine, I’ll work on it again.