brndnmtthws / conky

Light-weight system monitor for X, Wayland (sort of), and other things, too
https://conky.cc
GNU General Public License v3.0
7.27k stars 620 forks source link

Conky autostart, ignores font settings #1115

Closed idanka closed 2 years ago

idanka commented 3 years ago
Ubuntu 21.04 / conky 1.11.6 compiled 2020-08-17 for Linux x86_64 conky autostart, ignores font settings 1. image but start terminal "conky -d", good font appearance 2. image
Képernyőkép – 2021-07-07 23-54-35 Képernyőkép – 2021-07-07 23-48-01

get an error message (start on terminal)

conky -d conky: warning: invalid head index, ignoring head settings conky: warning: invalid head index, ignoring head settings conky: desktop window (400010) is subwindow of root window (1d9) conky: window type - normal conky: drawing to created window (0x2e00002) conky: drawing to double buffer conky: forked to background, pid is 37846

My .conkyrc settings

conky.config = {

  update_interval = 1,
  cpu_avg_samples = 2,
  net_avg_samples = 2,
  out_to_console = false,
  override_utf8_locale = true,
  double_buffer = true,
  no_buffers = true,
  text_buffer_size = 32768,
  imlib_cache_size = 0,
  own_window = true,
  own_window_type = 'normal',
  own_window_argb_visual = true,
  own_window_argb_value = 80,
  own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
  border_inner_margin = 6,
  border_outer_margin = 6,
  xinerama_head = 1,
  alignment = 'bottom_right',
  gap_x = 18,
  gap_y = 44,
  draw_shades = false,
  draw_outline = false,
  draw_borders = false,
  draw_graph_borders = true,
  use_xft = true,
  font = 'Ubuntu:size=14',
  xftalpha = 0.8,
  uppercase = false,
  default_color = 'FloralWhite',
  own_window_colour = '#000000',
  minimum_width = 280, minimum_height = 780,
  alignment = 'top_right',
};

conky.text = [[
...

Howto fix it?

idanka commented 3 years ago

hops not use autostart /usr/bin/conky

autostart use "start_conky.sh"

cat start_conky.sh
#!/usr/bin/env bash

## Wait 10 seconds
sleep 10

## Run conky
conky

But, 2 error messages left: conky: warning: invalid head index, ignoring head settings conky: warning: invalid head index, ignoring head settings Howto fix it?

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 365 days with no activity. Remove stale label or comment, or this issue will be closed in 30 days.

github-actions[bot] commented 2 years ago

This issue was closed because it has been stalled for 30 days with no activity.